Home > lighttpd 500 > lighttpd 500 error

Lighttpd 500 Error

Contents

simultaneous connections open to the server Added by Devilicious almost 5 years ago My server info can be found from the end of the post. Problem:I'm doing a stress test to my server with

Lighttpd Debug Log

some windows stress test tool. It's set to simulate ~2 000 page lighttpd error log requests per minute. Those requests go to my PHP api which uses mysql and facebook API to deliver the asked info to the user. API response time is from around 2 seconds to 40 seconds (due to the slowness of Facebook graph api mainly) so when doing 2000 page requests per minute, some of them will load about 40 seconds and therefor there are many open connections. The problem itself is, when about 400 (the number isn't exactly 400, but should be around it) users are sitting with open connection and waiting for the response from the API new users get Internal Server Error 500. When doing the same stresstest against a static php file (phpinfo() in it), no errors. But again, as the stresstester program doesn't open all the 1000 connections at the same time, there weren't so many open connections this time (compared with the API stresstest) Question:How can i resolve this? What should i change to make the server accept more concurrent requests so there could be more open connections.Also, the request go slower and slower as the open connection count rises (logical, i know), but i have the feeling that my server can do better than this (linode.com graphs show that during the stresstest server CPU useage is around 14%, i couldn't find mem useage graph tho) Side question:I can't find a log file that logs those errors. Is it just me or the system doesn't actually log them? I'm just thinking that maybe there's more info in the log file about why the users get error 500. I'm all new in this server managing stuff. Please describe every step as good as possi

skycrew over 6 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 http://redmine.lighttpd.net/boards/2/topics/4936 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: http://redmine.lighttpd.net/boards/2/topics/3201 (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.s

here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about http://superuser.com/questions/604221/lighttpd-php-errors-generate-error-500 hiring developers or posting ads with us Super User Questions Tags Users Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign https://ubuntuforums.org/showthread.php?t=1358540 up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Lighttpd, PHP errors generate error 500 up vote 0 down vote favorite If I have lighttpd 500 an error in the PHP code, Lighttpd gives a 500 error and a line like this mod_fastcgi.c.2676) FastCGI-stderr: PHP Parse error:... appears in the log. The php.ini (/etc/php5/cgi/php.ini) has the following lines: display_errors = On display_startup_errors = On error_reporting = E_ALL I'd like to see the errors in the browser, not in the log of the web server. php lighttpd share|improve this question asked Jun 5 '13 at 21:12 stefa.rossi 133 In the future, please try a lighttpd 500 error quick google search before posting here. –terdon Jun 5 '13 at 21:20 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote accepted You will need to set display_errors to Onin your php.ini file: display_errors = On share|improve this answer answered Jun 5 '13 at 21:16 terdon 33.6k66299 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged php lighttpd or ask your own question. asked 3 years ago viewed 620 times active 3 years ago Related 2apache throws 500 error on php error0The lighttpd+Python equivalent of Apache+PHP+FastCGI+suEXEC (or: lighttpd FastCGI-executing Python scripts with the permission of the owner)0lighttpd cant bind port permission denied0Lighttpd + PHP permission problems on Fedora2Setting up Lighttpd and FastCGI for my own web app?0Error in url alias in lighttpd3Nginx & UserDir & PHP0Systemd service start error (raspbian lighttpd)0lighttpd with zip extension1Lighttpd Proxy to Service on Another Port Hot Network Questions How to decipher Powershell syntax for text formatting? What is the difference (if any) between "not true" and "false"? Were students "forced to recite 'Allah is the only God'"

Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] cgi & lighttpd 500 internal server error Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 3 of 3 Thread: cgi & lighttpd 500 internal server error Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode December 18th, 2009 #1 sartic View Profile View Forum Posts Private Message Way Too Much Ubuntu Join Date Dec 2006 Location Split, Dalmacija, Croatia BeansHidden! DistroUbuntu 10.04 Lucid Lynx cgi & lighttpd 500 internal server error 2009-12-18 09:12:28: (log.c.97) server started 2009-12-18 09:13:17: (mod_cgi.c.584) cgi died, pid: 1892 2009-12-18 09:13:20: (mod_cgi.c.584) cgi died, pid: 1893 2009-12-18 09:13:28: (mod_cgi.c.584) cgi died, pid: 1894 2009-12-18 09:13:30: (mod_cgi.c.584) cgi died, pid: 1895 ligttpd works great, i enabled mod cgi but whenever i try to pipe cgi width my program i have "500 internal server error" Question how do I enable some more deeper loging of lighttpd? cgi died not helping me Adv Reply January 3rd, 2010 #2 sanitycheck View Profile View Forum Posts Private Message Just Give Me the Beans! Join Date Feb 2007 Beans 46 Re: cgi & lighttpd 500 internal server error I don't think it's you, I think it's lighttpd in 9.10 (assumes you use 9.10). I'm still having problems with CGI. This is true for systems upgraded to 9.10 from an earlier version, and fresh installs. One fix turned out to be the opposite of a fix for an earlier lighttpd bug or bugs (#292347 and #179484). The fix for those bugs is to comment out

 

Related content

lighttpd 500 internal server error

Lighttpd Internal Server Error p simultaneous connections open to the server Added by Devilicious almost years ago My server info can be found from the end of the post Problem I'm doing a stress test to my server with some windows relatedl stress test tool It's set to simulate page lighttpd debug log requests per minute Those requests go to my PHP api which uses mysql and lighttpd error log facebook API to deliver the asked info to the user API response time is from around seconds to seconds due to the slowness of Facebook graph api mainly so when