php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59350 Hits for System cache always 0?
Submitted: 2010-08-09 13:15 UTC Modified: 2016-08-31 15:39 UTC
From: support at portamx dot com Assigned: cmb (profile)
Status: Wont fix Package: APC (PECL)
PHP Version: 5.2.11 OS: Apache/2.2.8 (Linux/SUSE)
Private report: No CVE-ID: None
 [2010-08-09 13:15 UTC] support at portamx dot com
Description:
------------
The hits for System cache shows shows always 0 on Linux system. On Windows system works correct.
I tested with 3.1.3p1 on Windows and 3.1.3p1/3.1.4 on Linux.
The acp.php is same on both systems.

Linux System:
APC Version	3.1.4
PHP Version	5.2.11
Server Software	Apache/2.2.8 (Linux/SUSE)
Shared Memory	1 Segment(s) with 64.0 MBytes
(mmap memory, pthread mutex locking)
File Cache Information
Cached Files	144 ( 28.4 MBytes)
Hits	1
Misses	144
User Cache Information
Cached Variables	2009 ( 4.8 MBytes)
Hits	76164
Misses	22856

Window System:
APC Version	3.1.3p1
PHP Version	5.3.1
Server Software	Apache/2.2.14 (Win32) DAV/2 mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
Shared Memory	1 Segment(s) with 32.0 MBytes
(IPC shared memory, file locking)
Cached Files	63 ( 12.7 MBytes)
Hits	261
Misses	64
User Cache Information
Cached Variables	24 (157.9 KBytes)
Hits	97
Misses	77

php.ini:
apc.enabled=1
apc.shm_segments=1
apc.shm_size=32
apc.ttl=0
apc.user_ttl=0
apc.enable_cli=0
apc.cache_by_default=1

Fel


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-08-31 15:39 UTC] cmb@php.net
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: cmb
 [2016-08-31 15:39 UTC] cmb@php.net
According to <https://bugs.php.net/69618>, APC support has been
discontinued in favor of OPcache, APCu, the session upload
progress API and WinCache. Therefore this issue won't get fixed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Oct 15 21:01:27 2024 UTC