Recent Posts
- (09/10) Fixing Warning: the ECDSA host key for 'github.com' differs from the key for the IP addressTAGS:Web Server Admin
- (12/26) CakePHP 3 - Getting List of Column Definitions from a Table (like schema())TAGS:CakephpCake3
- (09/14) Change Order of Loaded Behaviors in CakePHP 3TAGS:Cake3CakephpWeb ProgrammingPhp
- (05/29) CakePHP 3 - Accept JSON Header Only Working When Debug FalseTAGS:Web ProgrammingCakephpCake3
- (05/23) Remove All Events from Google Calendar (Reset Calendar)TAGS:Web ProgrammingPhp
- (11/08) Google Tag Manager (GTM) Not Firing Default PageView EventTAGS:Web ProgrammingJavascriptGoogle Tag Manager
- (10/13) In PHP, how do you get __toString() Magic Method Result without calling echo?TAGS:CakephpCake3Cakephp 13PhpWeb Programming
- (11/14) Getting output from shell_exec() at all timesTAGS:Web ProgrammingWeb Server Admin
Subscribe to my feed
MainelyDesign.com Blog
Apache Configuration Error
Posted on 06/25/2014 at 01:47 pm by Kevin Wentworth
Viewed 9,746 times | 0 comments
While debugging a notorious 500 internal server error, we found by accessing error logs that the default timeout for FastCGI was 40 seconds. This was causing timeout faults on a number of apache processes.
These related log entries were found in the apache error log:
[Wed Jun 25 12:25:53 2014] [warn] [client 198.255.231.10] mod_fcgid: read data timeout in 40 seconds, referer: https://www.blahblah.com/avenger/searches
[Wed Jun 25 12:25:53 2014] [error] [client 198.255.231.10] Premature end of script headers: index.php, referer: https://www.blahblah.com/avenger/searches
[Wed Jun 25 12:26:00 2014] [warn] mod_fcgid: process 3831 graceful kill fail, sending SIGKILL
Research disclosed that this error on WHM/Cpanel/CentOS servers were the result of using EasyApache to install the Apache server.
The fix is well know although it may be somewhat cryptic to implement.
Refer to the follow link for the simple solution.
http://www.servernoobs.com/cpanel-apache-php-fastcgi-data-timeout-error/
Tags for Apache Configuration Error
Apache | Errors | Web Server Admin
Comments for this Posting
No comments. Be the first to post a reply.
Sorry, comments are closed for this posting.
Please Email Kevin if you have any questions. Thanks!