Comment 7 for bug 162082

Revision history for this message
Jakob Unterwurzacher (jakobunt) wrote :

Last version of the kill-all-orphaned-phps workaround attached.

I recommend to run it hourly to catch php parents that die suddenly
AND (more important)
to add it in your /etc/logrotate.d/apache2 in postrotate after apache restart, because this creates lots of orphaned processes most of the time.