From:             thomas-lists at mysnip dot de
Operating system: Linux
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  APC docs need mmap infos

Description:
------------
coming from
http://news.php.net/php.pecl.dev/4095
pointed here from
http://news.php.net/php.pecl.dev/4096

The APC docs don't tell anything about how memory is used in mmap mode.
e.g. that 
- maximum shm-segment-size told in /proc/sys/kernel/shmmax isn't in effect
here
- mmap uses only one segment and currently uses only the size specified in
apc-config for the shm-segments (see bug
http://pecl.php.net/bugs/bug.php?id=8609 , maybe that changes) 
- currently one can only guess which mode is used but I think the phpinfo
tells at least "mmap is enabled" ( see bug
http://pecl.php.net/bugs/bug.php?id=8608 at pecl.php.net) 

As mmap-mode is the default nowadays in apc it would be good to tell some
more about its configuration :).

If one could add the pros/cons of using mmap over shm it would be great
too!


-- 
Edit bug report at http://bugs.php.net/?id=38678&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=38678&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=38678&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=38678&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=38678&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=38678&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=38678&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=38678&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=38678&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=38678&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=38678&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=38678&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=38678&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=38678&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=38678&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=38678&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=38678&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=38678&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=38678&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=38678&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=38678&r=mysqlcfg

Reply via email to