Bug #75107 [NEW]: opcache_reset will cause running FPM process stop with SIGKILL
| From: | greatdeer at gmail dot com | Date: | Wed, 23 Aug 2017 06:59:00 +0000 |
| Subject: | Bug #75107 [NEW]: opcache_reset will cause running FPM process stop with SIGKILL | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-210781@lists.php.net to get a copy of this message | ||
From: greatdeer at gmail dot com
Operating system: CentOS6.5
PHP version: 5.6.31
Package: opcache
Bug Type: Bug
Bug description:opcache_reset will cause running FPM process stop with SIGKILL
Description:
------------
I use Nginx and PHP-FPM, Occasionally, php-fpm.log will report SIGKILL
("WARNING: [pool www] child 12197 exited on signal 9 (SIGKILL) after
2046.724398 seconds from start") with no more messages. I look for the
reason for a long time, and finally I found it. It was opcache_reset.
When I update the php codes, opcache_reset() will be triggered to make
the codes validate immediately. And sometimes some scripts were
executing just the same time and would crash.
Is it a bug? or I should avoid useing opcache_reset()?
--
Edit bug report at https://bugs.php.net/bug.php?id=75107&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75107&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75107&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75107&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75107&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75107&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75107&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75107&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75107&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75107&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75107&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75107&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75107&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75107&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75107&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75107&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75107&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75107&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75107&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75107&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75107&r=mysqlcfg