View previous topic :: View next topic |
Author |
Message |
Lawrence -
Joined: 16 Jan 2003 Posts: 207 Location: Brisbane, AU
|
Posted: Sat Jan 07, 2006 9:12 am Post subject: PHP crashes, causes system resource lockups |
|
|
PHP crashes on me a half dozen times a day. Every time I remote connect to the server there's anywhere from three to ten 'PHP has crashed, send error report?' windows to close. Normally this is nothing more than an annoyance, but recently it locked up the system - there were so many crashed instances of PHP that it was no longer running new isntances, and all PHP processing was disabled (which basically crippled the six sites I host).
These errors don't appear in the PHP error log, so I'm not able to fix them easily.
Since it's Windows' Dr Watson that holds the PHP session open while it waits for a 'yes/no' selection by the user, I was thinking to disable Dr. Watson. My theory is that this will simply disable the error report questions and immediately free up the resources in the result of a PHP crash.
Can anyone foresee problems with this? Will disabling Dr Watson cause more serious issues? |
|
Back to top |
 |
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sat Jan 07, 2006 12:07 pm Post subject: |
|
|
Not sure if Doctor Watson will cause issues but I have an idea as to the cause of the crashes. Someone you host for is probably using a script that is causing php to crash. I suggest you manually run each script (if you can) in your users sites. That way you can fnd the culprit file and let the user know what it is doing, and tell them to remove it.
Hope this is the case. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
Lawrence -
Joined: 16 Jan 2003 Posts: 207 Location: Brisbane, AU
|
Posted: Sun Jan 08, 2006 1:49 am Post subject: |
|
|
The main sites are phenomenally busy - I push 45k hits / day through just two of them, and that would typically include, at a guess, 45 scripts. Many of them, like the wiki and the forum, have dozens of interlinked scripts. Disabling them one by one really isn't an option.
It's been happening for as long as I can remember, and it's never resulted in data corruption or impacted the user experience. It's just a hazard now that I know it can seize the system. |
|
Back to top |
 |
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sun Jan 08, 2006 1:51 am Post subject: |
|
|
I suggest you copy the contents of every script and if possible use another computer to test the scripts and see if they cause an error. Try to replicate the setup as close as you can to your servers setup. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
|