Current time: 11-17-2024, 07:50 PM Hello There, Guest! (LoginRegister)


Post Reply 
FCGI cause Error 500 under high load
Author Message
Wut Offline
Junior Member
*

Posts: 18
Joined: Aug 2007
Reputation: 0
Post: #1
FCGI cause Error 500 under high load
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-...00003.html

But I don't know how to patch it

Any suggestion ?
10-30-2008 02:30 PM
Find all posts by this user Quote this message in a reply
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #2
RE: FCGI cause Error 500 under high load
Try increasing your timeout, or number of fastcgi processes for the site that is erroring.
10-31-2008 12:58 AM
Find all posts by this user Quote this message in a reply
Wut Offline
Junior Member
*

Posts: 18
Joined: Aug 2007
Reputation: 0
Post: #3
RE: FCGI cause Error 500 under high load
(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
10-31-2008 03:02 AM
Find all posts by this user Quote this message in a reply
victor531 Offline
Junior Member
*

Posts: 167
Joined: Oct 2007
Reputation: 3
Post: #4
RE: FCGI cause Error 500 under high load
...... current php version ?
10-31-2008 03:23 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #5
RE: FCGI cause Error 500 under high load
Or try to switch to fcgid instead of FastCGI.

Greez BeNe
10-31-2008 04:20 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Wut Offline
Junior Member
*

Posts: 18
Joined: Aug 2007
Reputation: 0
Post: #6
RE: FCGI cause Error 500 under high load
(10-31-2008 03:23 AM)victor531 Wrote:  ...... current php version ?

PHP Version 5.2.6-0.dotdeb.1
10-31-2008 09:38 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)