Код: Выделить всё
[01-Jul-2010 11:17:31] PHP Fatal error: Failed creating file mapping in Unknown on line 0 [01-Jul-2010 11:17:31] PHP Fatal error: XCache: Cannot create shm in Unknown on line 0
И вот что получил
Код: Выделить всё
bash-3.2# /usr/local/bin/php -v
/dev/zero: Operation not supported by device Failed creating file mapping PHP 5.2.13 (cli)
(built: Jun 29 2010 16:12:17) Copyright (c) 1997-2010
The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
У Xcache есть параметр [code]xcache.mmap_path = "/dev/zero"
with XCache v1.3.0, Copyright (c) 2005-2009, by mOo[/code]
Код: Выделить всё
bash-3.2# sysctl -a | grep shm
kern.sysv.shmmax: 4194304
kern.sysv.shmmin: 1
kern.sysv.shmmni: 32
kern.sysv.shmseg: 8
kern.sysv.shmall: 1024
machdep.pmap.hashmax: 50
security.mac.posixshm_enforce: 1
security.mac.sysvshm_enforce: 1