php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #56747 apc.shm_size has minimum size
Submitted: 2005-12-26 13:28 UTC Modified: 2006-03-14 16:18 UTC
From: steve at teamITS dot com Assigned:
Status: Closed Package: APC (PECL)
PHP Version: 4.4.1 OS: FreeBSD 4.7-RELEASE-p28
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: steve at teamITS dot com
New email:
PHP Version: OS:

 

 [2005-12-26 13:28 UTC] steve at teamITS dot com
Description:
------------
Using APC 3.0.8, php.ini has the setting:

apc.shm_size=8

However APC (apc.php) reports that setting is set to 10, and is using a 10 MB cache size.  So apparently there is an undocumented minimum cache size?

Expected result:
----------------
Have 8 MB cache.

Actual result:
--------------
APC uses 10 MB cache instead.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-14 15:57 UTC] rasmus@php.net
I am unable to reproduce this and looking through the code the size you specify gets multiplied by 1024*1024 and passed directly to an mmap or an shmget call.  Can you provide a few more clues here?
 [2006-03-14 16:18 UTC] steve at teamITS dot com
You are correct, my apologies. Apparently PHP was finding another php.ini file.  Not sure why I didn't see that before.  I have closed this report.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 19:01:35 2025 UTC