(OP notes: the mention of Sunday in the post below is a red herring, actually the failures were intermittent).
Every Sunday I get a problem with where my php sites a server error rather than my website.
In my virtual host apache logs I get the following:
[Sun May 10 12:13:01 2015] [warn] [client xxx.xxx.xxx.xxx (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server [Sun May 10 12:13:01 2015] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: index.php
If I restart apache the problem goes away.
I am using Virtualmin version 4.16.gpl. Virtualmin is running on Ubuntu precise.
Does anybody have any ideas about what is causing this and how to fix it.
If I can't fix it directly but someone can tell me which cron is causing the issue, then I would be happy to arrange another cronjob to restart apache every Sunday too.