I am using wordpress for most of my sites and I am using W3 Total Cache plugin to speed up my blog. I installed APC and Xcache on my server but Xcache wasn't functioning properly, so, I started to use APC instead. However, I get a 500 error several times when I try to access my server. Of course, the 500 errors don't occur immediately. For example, I check on my sites at 1PM and come back at 5PM, I should see a 500 error. I must then restart apache to get the sites functional again.
I changed from fcgid to CGI and I haven't encountered any error since. How weird is that!? My error log shows multiple lines similar to :
Connection reset by peer: mod_fcgid: read data from fastcgi server error. [Wed Aug 11 23:46:18 2010] [error] [client 192.xxx.xxx.xxx] Premature end of script headers: wp-cron.php
What can I do to use Fastcgid with opcode?