ispCP - Board - Support
FCGI cause Error 500 under high load - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: FCGI cause Error 500 under high load (/thread-4827.html)



FCGI cause Error 500 under high load - Wut - 10-30-2008 02:30 PM

Hi All,

I found several post about this in German corner but I can't understand it so I ask again here.

My server often got Internal Server Error 500 under high load.

In /var/log/apache2/user/{domain}-error.log I found

[Thu Oct 30 11:01:23 2008] [error] [client {ip}] (4)Interrupted system call: FastCGI: comm with se
rver "/var/www/fcgi/{domain}/php5-fcgi-starter" aborted: select() failed
[Thu Oct 30 11:01:23 2008] [error] [client {ip}] FastCGI: incomplete headers (0 bytes) received fr
om server "/var/www/fcgi/{domain}/php5-fcgi-starter"

This problem doesn't occur so much (about 3-4 times per hour) but I just want to know if there is any solution ?

I also found this
http://www.fastcgi.com/archives/fastcgi-developers/2008-August/000003.html

But I don't know how to patch it

Any suggestion ?


RE: FCGI cause Error 500 under high load - pgentoo - 10-31-2008 12:58 AM

Try increasing your timeout, or number of fastcgi processes for the site that is erroring.


RE: FCGI cause Error 500 under high load - Wut - 10-31-2008 03:02 AM

(10-31-2008 12:58 AM)pgentoo Wrote:  Try increasing your timeout, or number of fastcgi processes for the site that is erroring.
Hi pgentoo,

I already increase timeout to 300 but no luck T_T


RE: FCGI cause Error 500 under high load - victor531 - 10-31-2008 03:23 AM

...... current php version ?


RE: FCGI cause Error 500 under high load - BeNe - 10-31-2008 04:20 AM

Or try to switch to fcgid instead of FastCGI.

Greez BeNe


RE: FCGI cause Error 500 under high load - Wut - 10-31-2008 09:38 PM

(10-31-2008 03:23 AM)victor531 Wrote:  ...... current php version ?

PHP Version 5.2.6-0.dotdeb.1