Every sunday night during debian squeeze's logrotation, apache crashes when postlogrotation attemts to reload configuration, and/or restart apache. I've even tried reconfiguring the logrotation by hard restarting (stop start) the service, with the same faults.
What happends is that apache acctually seems to be starting fine, but every request throws the following error in apaches error.log:
[notice] child pid xxxx exit signal Segmentation fault (11)
If I restart apache manually once more, it works fine again. Does anyone have any idea why this is happening?
The AWS instance is running debian squeeze, apache 2.2.16, php 5.4.32 and varnish 3 (if it matters).
Any suggestions is very welcome. If theres relevant info I've missed, tell me!
UPDATE: I moved the Magento sites to another server, and the problem stopped occurring (even though there are still a few other sites left), and it didn't happen on the new server. Still few ideas as to what caused it.