for one of my servers I am facing a problem. It runs a site which runs on drupal + civicrm. In the civicrm part I regularly (every 10 or so clicks) get an error 500. Looking at the logs, I see this:
[Fri Jul 19 20:42:56 2013] [warn] [client xxx.xxx.xxx.xxx] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://domain.be/civicrm?reset=1
[Fri Jul 19 20:42:56 2013] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: index.php, referer: http://domain.be/civicrm?reset=1
I read some information already. They include several possible issues: - fcgi issue - mysql issue - script issue
If it would be the script though, every page would show error 500. The mysql configuration has been revised and is now working perfectly. The only possible thing left is the fcgi.
I read some remarks on the net saying to configure the php5.fcgi which is in the fcgi bin with 4 children. I made the change (create a new file, because for some obscure reason root cannot edit that file) to 8 children. This however does not solve any problems.
is there anybody who can help me configuring fcgi or help me solve the problem with the error 500's?