Content copyright © 2006-2007 by eZ systems A.S.
|
|
|
|
Description:
For reasons still unknown to me MySQL keeps closing connection every now and then.
These messages ends up in /var/log/error.log instead of /ezp-root/var/log/error.log. To see these messages do the following:
In lib/ezdb/classes/ezmysqldb.php, if no result from the query is returned query() assumes something went wrong and calls $this->unlock(); which again calls $this->query();. If something wrongs happens while executing $this->unlock() it will be called again! This infinite loop will eventually cause Apache to crash with a "Segmentation Fault". There are numerous reasons why MySQL might close the connection, some which might be eZP faults: However most of them is related to hosting environment and/or MySQL: http://dev.mysql.com/doc/refman/5.0/en/gone-away.html Environment: Operating System: Linux |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||