Bug #68104 [NEW]: Opcache crashes randomly and on Scripts with many includes

From: Date: Fri, 26 Sep 2014 07:16:03 +0000
Subject: Bug #68104 [NEW]: Opcache crashes randomly and on Scripts with many includes
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-187710@lists.php.net to get a copy of this message
From: andre4tw at gmail dot com Operating system: Debian 7.0 Wheezy PHP version: 5.6.0 Package: opcache Bug Type: Bug Bug description:Opcache crashes randomly and on Scripts with many includes Description: ------------ ## Description When opcache is enabled scripts randomly crashing. The PHP-FPM log showing lots of exited with signal 15 errors. When I disable opcache with ini_set('opcache.enable', 0) I have no errors so far. This error do not appear in PHP 5.5.17. I noticed instant crashes, if you have scripts with large includes. (Google YouTube API class for example). Loading the page forces an instant crash of the PHP-FPM Pool. FPM-Pools from smaller scripts crashing time by time with signal 15. ## Informations System: Nginx with PHP-FPM (UNIX-Socket communication) Using included opcache module Compiled with: ./configure --prefix=/usr/local --with-bz2 --enable-calendar --with-curl --enable-exif --enable-ftp --with-gd --with-jpeg-dir --enable-gd-native-ttf --enable-mbstring --with-mcrypt --with-openssl --with-pcre-regex --enable-soap --enable-sockets --enable-zip --with-zlib --enable-fpm --with-config-file-path=/etc/php5 --with-mysql-sock=/var/run/mysqld/mysqld.sock --with-pdo-mysql --with-mysqli --enable-shmop --enable-opcache ## php.ini opcache config zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20131226/opcache.so opcache.enable_cli = 1 opcache.fast_shutdown = 1 opcache.memory_consumption = 196 opcache.max_accelerated_files = 7000 opcache.interned_strings_buffer = 16 opcache.revalidate_freq = 60 opcache.enable_file_override = 1 opcache.opcache.save_comments = 0 -- Edit bug report at https://bugs.php.net/bug.php?id=68104&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68104&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68104&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68104&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=68104&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=68104&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=68104&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=68104&r=needscript Try newer version: https://bugs.php.net/fix.php?id=68104&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=68104&r=support Expected behavior: https://bugs.php.net/fix.php?id=68104&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=68104&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=68104&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=68104&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68104&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=68104&r=dst IIS Stability: https://bugs.php.net/fix.php?id=68104&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=68104&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=68104&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=68104&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=68104&r=mysqlcfg

« previous php.bugs (#187710) next »