Topic: php5.4, 5.6, 7.0 orphaned processes

Hello,

We are facing a bug with php54, php56, php70 installed from your repo.

The issue is that when apache is restarted gracefully sometimes, more often if there are two or more restarts in short time frame combined with high cpu load some processes are left orphaned and never get killed.


We have couple of machines some with php54 from SCL and some from Remi repo. Only the php versions from remi have this issue. Others including php5.3 from base repo do not have it.

We are using mod_FCGID as process manager and apache 2.2  with zend opcache activated for all websites.

We assume this happens when fcgid need to force kill the php processes short after the process has been started when apache send signal for restart .

We have tried to increase the FcgidErrorScanInterval just to let the processes exit normally but did not help. Also we have increased the apache STOP_TIMEOUT to 15 but this also not help.