com php-src: Increased limit for opcache.max_accelerated_ files to 1,000,000. (Chris): NEWS ext/opcache/README ext/opcache/zend_accelerator_mo dule.c

From: Date: Mon, 28 Oct 2013 10:19:40 +0000
Subject: com php-src: Increased limit for opcache.max_accelerated_ files to 1,000,000. (Chris): NEWS ext/opcache/README ext/opcache/zend_accelerator_mo dule.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-73815@lists.php.net to get a copy of this message
Commit: eb22041ffe70d5ff206d62c6cb12fc38c23475ce Author: Dmitry Stogov <dmitry@zend.com> Mon, 28 Oct 2013 14:19:40 +0400 Parents: 1dcca1fdb945c451b75102ff2972ab2e7867015f Branches: PHP-5.5 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=eb22041ffe70d5ff206d62c6cb12fc38c23475ce Log: Increased limit for opcache.max_accelerated_files to 1,000,000. (Chris) Changed paths: M NEWS M ext/opcache/README M ext/opcache/zend_accelerator_module.c Diff: diff --git a/NEWS b/NEWS index 81b2811..9fe5fc4 100644 --- a/NEWS +++ b/NEWS @@ -10,6 +10,9 @@ PHP NEWS . Fixed bug #65911 (scope resolution operator - strange behavior with $this). (Bob Weinand) +-OPcache + . Increased limit for opcache.max_accelerated_files to 1,000,000. (Chris) + - ODBC . Fixed bug #65950 (Field name truncation if the field name is bigger than 32 characters). (patch submitted by: michael dot y at zend dot com, Yasuo) diff --git a/ext/opcache/README b/ext/opcache/README index 4652158..2e30d92 100644 --- a/ext/opcache/README +++ b/ext/opcache/README @@ -80,8 +80,8 @@ opcache.max_accelerated_files (default "2000") The maximum number of keys (scripts) in the OPcache hash table. The number is actually the first one in the following set of prime numbers that is bigger than the one supplied: { 223, 463, 983, 1979, 3907, - 7963, 16229, 32531, 65407, 130987 }. Only numbers between 200 and 100000 - are allowed. + 7963, 16229, 32531, 65407, 130987, 262237, 524521, 1048793 }. Only numbers + between 200 and 1000000 are allowed. opcache.max_wasted_percentage (default "5") The maximum percentage of "wasted" memory until a restart is scheduled. diff --git a/ext/opcache/zend_accelerator_module.c b/ext/opcache/zend_accelerator_module.c index dedb721..0914fb6 100644 --- a/ext/opcache/zend_accelerator_module.c +++ b/ext/opcache/zend_accelerator_module.c @@ -34,7 +34,7 @@ #define STRING_NOT_NULL(s) (NULL == (s)?"":s) #define MIN_ACCEL_FILES 200 -#define MAX_ACCEL_FILES 100000 +#define MAX_ACCEL_FILES 1000000 #define TOKENTOSTR(X) #X static void (*orig_file_exists)(INTERNAL_FUNCTION_PARAMETERS) = NULL;

« previous php.cvs (#73815) next »