Project

General

Profile

Enable Php Fastcgi and Get 500 Internal Server Error

Added by skycrew almost 14 years ago

Hello everyone,

anyone can help me? I just got this problem today. Before this my site running smooth with Fastcgi enable but now its show 500 internal server error with below logs. I need to disable php fastcgi in LxAdmin so that my visitor can access my site but when I disable php fastgi, my web performance is very slow with high load to server. I also include the performance screenshot. What should I do?

This are the error log I got:


2010-06-16 21:59:52: (mod_cgi.c.584) cgi died, pid: 24055
2010-06-16 21:59:52: (mod_cgi.c.584) cgi died, pid: 21622
2010-06-16 21:59:52: (mod_fastcgi.c.2462) unexpected end-of-file (perhaps the fastcgi process died): pid: 3342 socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-1
2010-06-16 21:59:52: (mod_fastcgi.c.3207) child exited, pid: 3342 status: 0
2010-06-16 21:59:52: (mod_fastcgi.c.3254) response not received, request sent: 836 on socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-1 for /index.php , closing connection
2010-06-16 21:59:52: (mod_fastcgi.c.2462) unexpected end-of-file (perhaps the fastcgi process died): pid: 24447 socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-1
2010-06-16 21:59:52: (mod_fastcgi.c.3254) response not received, request sent: 860 on socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-1 for /index.php , closing connection
2010-06-16 21:59:52: (mod_fastcgi.c.2462) unexpected end-of-file (perhaps the fastcgi process died): pid: 24447 socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-1
2010-06-16 21:59:52: (mod_fastcgi.c.3254) response not received, request sent: 836 on socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-1 for /index.php , closing connection
2010-06-16 21:59:52: (mod_fastcgi.c.2462) unexpected end-of-file (perhaps the fastcgi process died): pid: 24447 socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-1
2010-06-16 21:59:52: (mod_fastcgi.c.3254) response not received, request sent: 878 on socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-1 for /index.php , closing connection
2010-06-16 21:59:52: (mod_fastcgi.c.2462) unexpected end-of-file (perhaps the fastcgi process died): pid: 24447 socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-1
2010-06-16 21:59:52: (mod_fastcgi.c.3254) response not received, request sent: 878 on socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-1 for /index.php , closing connection
2010-06-16 21:59:52: (mod_fastcgi.c.2462) unexpected end-of-file (perhaps the fastcgi process died): pid: 24447 socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-1
2010-06-16 21:59:52: (mod_fastcgi.c.3254) response not received, request sent: 878 on socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-1 for /index.php , closing connection
2010-06-16 21:59:52: (mod_cgi.c.584) cgi died, pid: 22325
2010-06-16 21:59:52: (mod_fastcgi.c.2462) unexpected end-of-file (perhaps the fastcgi process died): pid: 24447 socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-1
2010-06-16 21:59:52: (mod_fastcgi.c.3254) response not received, request sent: 852 on socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-1 for /index.php , closing connection
2010-06-16 21:59:52: (mod_cgi.c.584) cgi died, pid: 24032
2010-06-16 21:59:52: (mod_cgi.c.584) cgi died, pid: 20402
2010-06-16 21:59:52: (mod_fastcgi.c.2462) unexpected end-of-file (perhaps the fastcgi process died): pid: 3336 socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-0
2010-06-16 21:59:52: (mod_fastcgi.c.3207) child exited, pid: 3336 status: 0
2010-06-16 21:59:52: (mod_fastcgi.c.3254) response not received, request sent: 855 on socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-0 for /index.php , closing connection
2010-06-16 21:59:52: (mod_fastcgi.c.2462) unexpected end-of-file (perhaps the fastcgi process died): pid: 24448 socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-0
2010-06-16 21:59:52: (mod_fastcgi.c.3254) response not received, request sent: 860 on socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-0 for /index.php , closing connection
2010-06-16 21:59:52: (mod_cgi.c.1231) cgi died ?
2010-06-16 21:59:53: (mod_fastcgi.c.2462) unexpected end-of-file (perhaps the fastcgi process died): pid: 24448 socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-0
2010-06-16 21:59:53: (mod_fastcgi.c.3254) response not received, request sent: 860 on socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-0 for /index.php , closing connection
2010-06-16 21:59:53: (mod_fastcgi.c.2462) unexpected end-of-file (perhaps the fastcgi process died): pid: 24448 socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-0
2010-06-16 21:59:53: (mod_fastcgi.c.3254) response not received, request sent: 878 on socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-0 for /index.php , closing connection
2010-06-16 21:59:53: (mod_fastcgi.c.2462) unexpected end-of-file (perhaps the fastcgi process died): pid: 24448 socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-0
2010-06-16 21:59:53: (mod_fastcgi.c.3254) response not received, request sent: 860 on socket: unix:/var/tmp/lighttpd/php.socket.lyrics.skycrewz.net.3333-0 for /index.php , closing connection
2010-06-16 21:59:53: (mod_fastcgi.c.1731) connect failed: Connection refused on unix:/var/tmp/lighttpd/php.socket.lyrics-hub.com.3333-1
2010-06-16 21:59:53: (mod_fastcgi.c.2885) backend died; we'll disable it for 5 seconds and send the request to another backend instead: reconnects: 0 load: 1
2010-06-16 21:59:56: (server.c.1470) server stopped by UID = 0 PID = 24439
2010-06-16 22:00:23: (log.c.75) server started

Performance Graph as below:-

CPU

RAM

Traffic


Replies (5)

RE: Enable Php Fastcgi and Get 500 Internal Server Error - Added by MetaYii almost 14 years ago

Your php-cgi server is death, that's why lighttpd throws the 500. You need to check why php-cgi is death. Usually this is caused by a high load, ie. too many requests, which seems to be the case, since the traffic and load increases when lighttpd goes normal.

RE: Enable Php Fastcgi and Get 500 Internal Server Error - Added by skycrew almost 14 years ago

I dont know which causing this problem before this I got same traffic but the php-fastcgi dont have any problem at all

RE: Enable Php Fastcgi and Get 500 Internal Server Error - Added by MetaYii almost 14 years ago

maybe if you check your access logs... ?

RE: Enable Php Fastcgi and Get 500 Internal Server Error - Added by skycrew almost 14 years ago

hello,

today I check my log and got new error. Anyone can help?

xc_fcntl_lock failed errno:9xc_fcntl_unlock failed errno:9xc_fcntl_lock failed errno:9xc_fcntl_unlock failed errno:9xc_fcntl_lock failed errno:9xc_fcntl_unlock failed e
rrno:9xc_fcntl_lock failed errno:9xc_fcntl_unlock failed errno:9xc_fcntl_lock failed errno:9xc_fcntl_unlock failed errno:9xc_fcntl_lock failed errno:9xc_fcntl_unlock fa
iled errno:9xc_fcntl_lock failed errno:9xc_fcntl_unlock failed errno:9xc_fcntl_lock failed errno:9xc_fcntl_unlock failed errno:9xc_fcntl_lock failed errno:9xc_fcntl_unl
ock failed errno:9xc_fcntl_lock failed errno:9xc_fcntl_unlock failed errno:92010-06-17 10:27:04: (mod_cgi.c.584) cgi died, pid: 5670

    (1-5/5)