Bug #67958 [Com]: Php opcache resetting cache files

From: Date: Thu, 04 Sep 2014 16:09:47 +0000
Subject: Bug #67958 [Com]: Php opcache resetting cache files
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-187418@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67958&edit=1 ID: 67958 Comment by: jimspiti at hotmail dot com Reported by: jimspiti at hotmail dot com Summary: Php opcache resetting cache files Status: Feedback Type: Bug Package: opcache Operating System: Centos 6.5 PHP Version: 5.6.0 Assigned To: dmitry Block user comment: N Private report: N New Comment: The fastcgi was aut installed and configured by cpanel... opcache settings: zend_extension=opcache.so opcache.memory_consumption=256 opcache.interned_strings_buffer=8 opcache.max_accelerated_files=4000 opcache.revalidate_freq=60 opcache.fast_shutdown=1 Previous Comments: ------------------------------------------------------------------------ [2014-09-04 14:15:17] tyrael@php.net hi, could you show your opcache related php.ini settings and your also provide more info about your fastcgi setup? AFAIR by default the opcache cache isn't shared between fastcgi processes, so it could be normal to see different number of files cached on different more so if they were recently spawned and didn't receive enough requests to warm up the cache. ------------------------------------------------------------------------ [2014-09-03 23:05:12] jimspiti at hotmail dot com Description: ------------ Hi After testing for a long time php 5.4 and 5.5 and 5.6 with opcache we notice that there is a problem with it and fastcgi ... After a few minutes (less than 30) it is resetting the files in the cache and for example from 400 files in the cache is going back to 250 and then up to 500 an dthen the same and we do not have any wrong settings or file limits in the system or in the cache... Just to be sure with the same settings we install Mod lsapi against fastcgi and all was great and never did that reset and at the moment we have after a day 1600 files there..... So if you can please fix this as almost every one wil use this opcache with the new versions of php. Thanks ! ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=67958&edit=1

« previous php.bugs (#187418) next »