[mod_python] [emerg] No space left on device: Couldn't create accept lock

andras at nic-nac-project.de andras at nic-nac-project.de
Thu Jul 19 06:31:13 EDT 2007


hi all,
when i try to run mod_python on NetBSD-3.1 using the generic kernel my apache error-log says:

--
[emerg] (28)No space left on device: Couldn't create accept lock (/var/run/accept.lock.16040) (5)
--

of course there is enough space left on the device and all the permissions are correct.


i was only able to fix this by changing the kernel config:

GENERIC:
--
#options        SEMMNI=10       # number of semaphore identifiers
#options        SEMMNS=60       # number of semaphores in system
#options        SEMUME=10       # max number of undo entries per process
#options        SEMMNU=30       # number of undo structures in system
--

MODIFIED CONFIG:
--
options         SEMMNI=32       # number of semaphore identifiers
options         SEMMNS=60       # number of semaphores in system
options         SEMUME=10       # max number of undo entries per process
options         SEMMNU=30       # number of undo structures in system
--


this is valid for the ports on i386 and also on amd64.
NetBSD does not permit to change SEMMNI via sysctl.


my current setup:
NetBSD-3.1 amd64 (or i386)

apache-2.2.4nb6
python24-2.4.4
ap22-py24-python-3.2.10 


i hope this might be helpful to others.


regards,
andras


More information about the Mod_python mailing list