We have observed a strange behaviour on a customer's virtual server. In the Apache error logs, after every daily cronjob, there was this:
[Sat Jan 31 06:25:08 2015] [notice] Graceful restart requested, doing restart
[Sat Jan 31 06:25:08 2015] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
It seems, from a bit of digging, that this could be related to htcacheclean and/or apachectl not properly closing off FCGId PHP processes, causing more to build up day after day.
As an interim measure, we have put in a full daily Apache restart at 7am. Ideally, of course, it'd be good to see if this issue can be resolved and remove the non-standard cron.
Could you suggest any pointers for investigating/fixing this?
Many thanks, Steve