Justin French wrote:
on 16/01/03 11:59 PM, Marek Kilimajer ([EMAIL PROTECTED]) wrote:
If the server crashes, it is definetly NOT fault of your scripts, theWell, I know *I* aren't using any extensions that you wouldn't find in a
server/php should return errors when there is something wrong, not
crash. Remember that on multithreaded server you are taking other
requests down too. The server, php, some extenssion might have been
miscompiled, wrong versions of libraries are used, there is a bug,
anything. But you should not be able to take server down from a script
language.
Take a look at extenssions used, if any of them is unstable/experimental
base install.
Thanks for the words of encouragement though :)
Justin
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 processesHas any one got any suggestions on how I might track down this bug, or
to see if any memory was leaking (if the memory usage climbs constantly,
memory is being leaked), but it was all fine.
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