Forum Moderators: coopster

Message Too Old, No Replies

PHP errors in the log

Im getting lots of these errors everyday

         

chocorol

7:33 pm on Nov 9, 2006 (gmt 0)

10+ Year Member



Hello,

Everyday I check my error log I find lots of these errors:

[DATE & HOUR] [error] [client IP X.X.X.X] (35)Resource temporarily unavailable: couldn't spawn child process: /usr/local/httpd/php4-fat/php, referer: www.#*$!.com

[DATE & HOUR] [error] [client IP X.X.X.X] (35)Resource temporarily unavailable: couldn't create child process: 35: php, referer: [#*$!.com...]

[DATE & HOUR] [error] [client IP X.X.X.X] (35)Resource temporarily unavailable: couldn't spawn child process: /usr/local/httpd/php4-fat/php, referer: [#*$!.com...]

[DATE & HOUR] [error] [client IP X.X.X.X] (35)Resource temporarily unavailable: couldn't create child process: 35: php, referer: [#*$!.com...]

Sometimes my includes dont work or I get 500 Internal server errors.

I was told that some PHP processes could be hanging around in the process table, preventing the spawnning of new processes, but I really doubt it since I have low traffic and my php applications arent that complex.

Does anybody know how to get rid of those errors?

sned

8:33 pm on Nov 9, 2006 (gmt 0)

10+ Year Member



I had this problem as well, (it only happened when the server was slammed with traffic), and seemed to affect mostly email, although there were a few other problems.

I tried fooling around with ulimit, not sure if that helped or not.

The final thing that resolved my problem was actually an Apache2 config thing, I had move up my ServerLimit directive.

Not sure if that's helpful or not ...

-sned

chocorol

5:45 am on Nov 10, 2006 (gmt 0)

10+ Year Member



Thanks sned, I'll ask the tech support of my hosting company about apache ServerLimit.