Bug #10852 [Opn]: memory size can't be larger than 30Mb
| From: | wiesemann@php.net | Date: | Thu, 26 Apr 2007 22:01:38 +0000 |
| Subject: | Bug #10852 [Opn]: memory size can't be larger than 30Mb | ||
| References: | 1 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-5864@lists.php.net to get a copy of this message | ||
Edit report at http://pecl.php.net/bugs/bug.php?id=10852&edit=1
ID: 10852
Updated by: wiesemann@php.net
Reported By: roberto at spadim dot com dot br
Status: Open
Id: 10852
Type: Bug
Package: Bug System
Operating System: Linux 64bits archlinux 0.8
PHP Version: 5.2.1
New Comment:
(package selection corrected)
Previous Comments:
------------------------------------------------------------------------
[2007-04-26 17:46:41] roberto at spadim dot com dot br
Description:
------------
here is my php.ini (apc part):
extension=apc.so
apc.enable_cli=on
apc.optimization=on
apc.shm_size=64M
apc.mmap_file_mask=/tmp/apc.XXXXXX
apc.max_file_size=3M
Reproduce code:
---------------
here is my apc.php (from apc source) results:
General Cache Information
APC Version 3.0.14
PHP Version 5.2.1
APC Host 172.16.0.5
Server Software Apache/2.2.4 (Unix) PHP/5.2.1
Shared Memory 1 Segment(s) with 30.0 MBytes
(mmap memory, file locking)
Start Time 2007/04/26 18:37:06
Uptime 0 minutes
File Upload Support 1
Runtime Settings
apc.shm_segments 1
apc.shm_size 64M
apc.slam_defense 0
apc.stat 1
apc.stat_ctime 0
apc.ttl 0
apc.user_entries_hint 4096
Expected result:
----------------
maybe linux don't allow more than 30mb?! i was expecting 64mb with 1
segment
Actual result:
--------------
30mb with 1 segment not 64mb!
------------------------------------------------------------------------
--
Edit this bug report at http://pecl.php.net/bugs/bug.php?id=10852&edit=1