Hi,
I wonder if anyone might be able to help me with this, or point me in the right direction:
I have inherited a web site which runs on two load balanced Win 2K/IIS 5.0 servers running PHP 4.06?
After around 4 days of operation the servers quit serving pages and complain about lack of virtual memory. An inspection of the running processes shows dozens of PHP scripts are still running (even though the script timeout is set to 30 sec) but appear to have taken no CPU time, just around a meg each of memory. A re-boot resolves the problem and the event log shows lots of occurrences of the W3SVC reporting:
\"The script started from the URL \'/search/keywords.php\' with parameters \'id=12465835&keyword=minidisc\' has not responded within the configured timeout period. The HTTP server is terminating the script\"
Are there likely to be any major errors in the code on these pages (there are many scripts affected, not every request for the page causes this behaviour) that would cause this kind of behaviour?
Can you tell this PHP newbie how to dump any good debug info to a log (not the screen - it\'s a live server!)?
I\'ve looked for obvious stuff like possible infinte loops occuring but nothing jumps out at me with my limited PHP experience.
Many thanks,
Matt.