Bug #66472 [NEW]: Add extra outputs to opcache_get_status() to enable table sizing
| From: | Terry at ellisons dot org dot uk | Date: | Sun, 12 Jan 2014 15:44:01 +0000 |
| Subject: | Bug #66472 [NEW]: Add extra outputs to opcache_get_status() to enable table sizing | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-183734@lists.php.net to get a copy of this message | ||
From: Terry at ellisons dot org dot uk
Operating system: N/
PHP version: master-Git-2014-01-12 (Git)
Package: opcache
Bug Type: Bug
Bug description:Add extra outputs to opcache_get_status() to enable table sizing
Description:
------------
Sysadmins currently need to set various table sizes explicitly using the
OPcache INI parameters, but they have no means of knowing the current
sizes. This is a simple patch to add the extra field reporting to the
opcache_get_status() output to allow them to do this properly.
The key table here is the interned_strings pool, but I've also added
ZCSG(include_paths) reporting.
Note that ZendAccelerator.c nominally allocates 32 slots for the
ZCSG(include_paths) table but in fact this is rounded up to the prime
value 53, so the ZCSG(include_paths) short prefix is infact
[A-Z\[\\\]^_`a-u].
--
Edit bug report at https://bugs.php.net/bug.php?id=66472&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66472&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66472&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66472&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66472&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66472&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66472&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66472&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66472&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66472&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66472&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66472&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66472&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66472&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66472&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66472&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66472&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66472&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66472&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66472&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66472&r=mysqlcfg