Opened 4 years ago

Closed 4 years ago

#249 closed defect (invalid)

Cannot create shm in Unknown on line 0

Reported by: 100matolog Owned by: moo
Priority: critical Milestone: 1.3.1
Component: cacher Version: 1.3.0
Keywords: Cc:
Application: PHP Version:
Other Exts: SAPI: Irrelevant
Probability: Blocked By:
Blocking:

Description

[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

I compile Xcache for php on MacOS Snow (Darwin Kernel Version 10.2.0: Tue Nov 17 01:24:40 EST 2009; annappirtrvh v2:xnu-1486.2.11/BUILD/obj/RELEASE_I386 i386)

And that what I get

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

with XCache v1.3.0, Copyright (c) 2005-2009, by mOo

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

How can I fix it ?

Change History (1)

comment:1 Changed 4 years ago by moo

  • Resolution set to invalid
  • Status changed from new to closed

questions should be ask in http://forum.lighttpd.net/forum/4

Note: See TracTickets for help on using tickets.