php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65707 apc.shm_size cannot be larger than 2000M
Submitted: 2013-09-19 10:15 UTC Modified: 2016-11-18 21:08 UTC
From: oriol dot saludes at mobifriends dot com Assigned:
Status: Wont fix Package: APC (PECL)
PHP Version: Irrelevant OS: Debian
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: oriol dot saludes at mobifriends dot com
New email:
PHP Version: OS:

 

 [2013-09-19 10:15 UTC] oriol dot saludes at mobifriends dot com
Description:
------------
When apc.shm_size is set larger than 2000M, APC only uses 32M.
Is it not possible to have bigger cache?
Versions with this problem: 3.1.6 and 3.1.9 (latest stable).


Test script:
---------------
apc.rfc1867 = on
apc.rfc1867_freq = 10k
apc.max_file_size=20M
apc.shm_segments=2
apc.shm_size=3000M
apc.optimization=0
apc.ttl=0
apc.user_ttl=7200
apc.num_files_hint=1024
apc.slam_defense=off
apc.write_lock=1


Expected result:
----------------
APC should have 3G to use.

Actual result:
--------------
APC uses only 32M

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-11-18 21:08 UTC] kalle@php.net
-Status: Open +Status: Wont fix
 [2016-11-18 21:08 UTC] kalle@php.net
APC is no longer supported in favor of opcache that comes bundled with PHP, if you wish to use the user cache, then look at PECL/APCu.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Nov 24 16:01:24 2020 UTC