Take a look at extenssions used, if any of them is unstable/experimental
Justin French wrote:
Just as an update, the sysadmin definitely thinks it's my code... I'm not
convinced, but I'm faced with the task of finding out :)
It appears your site is causing the webserver to segfault (crash), which isI asked for a copy of the logfiles she talked about:
why nothing comes up some times - these crashes are logged in the main Apache
logfile, which is why you saw nothing in your site logfile when this happened.
I don't know exactly what is causing it to crash, but it is definately
something in your PHP code.
[Wed Jan 15 08:23:32 2003] [notice] child pid 8153 exit signal SegmentationNot very helpfull :)
fault (11)
[Wed Jan 15 08:34:57 2003] [notice] child pid 7702 exit signal Segmentation
fault (11)
[Wed Jan 15 08:34:58 2003] [notice] child pid 7366 exit signal Segmentation
fault (11)
[Wed Jan 15 08:34:59 2003] [notice] child pid 7511 exit signal Segmentation
fault (11)
[Wed Jan 15 08:35:00 2003] [notice] child pid 7512 exit signal Segmentation
fault (11)
As far as I can tell, the error I receive (basically a "document contained
no data" error) is the result of the server shitting itself because of
ANOTHER script on my site, that was accessed before it.
This makes debugging even worse, because I don't even know what script to
look in!
It could be in any include()'d file in my header or footer, or the guts of
any script on my site!! Yay!!
The other possibility is that the crash occurs on the actual script I'm
calling, which IS a bit easier to debug... I think!
The sysadmin has pretty much ruled out memory leaks:
I checked the httpd processes
to see if any memory was leaking (if the memory usage climbs constantly,
memory is being leaked), but it was all fine.
Has any one got any suggestions on how I might track down this bug, or
ascertain which script/include file is causing the server to segfault?
Justin
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php