roberto at spadim dot com dot br
2007-04-26 21:46:41 UTC
From: roberto at spadim dot com dot br
Operating system: Linux 64bits archlinux 0.8
Package version:
PHP version: 5.2.1
Package: Bug System
Bug Type: Bug
Bug description: memory size can't be larger than 30Mb
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!
Operating system: Linux 64bits archlinux 0.8
Package version:
PHP version: 5.2.1
Package: Bug System
Bug Type: Bug
Bug description: memory size can't be larger than 30Mb
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 bug report at http://pecl.php.net/bugs/bug.php?id=10852&edit=1
--
Edit bug report at http://pecl.php.net/bugs/bug.php?id=10852&edit=1
--