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
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: 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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 05:01:27 2024 UTC