Monday, February 06, 2006

The 'disk space unabailable' and Apache::Session::Lock::Semaphore on OpenBSD 3.8

Looks like the kern.seminfo.semmns (maximum number of SysV semaphores in the system) setting in default OpenBSD 3.8 install (60) is too low for Apache::Session::Lock::Semaphore (with no NSems argument being used)to work. The bizarre space unavailable error is all it spits out. To overcome this, one just needs to increase kern.seminfo.semmns to, say 100:

sysctl kern.seminfo.semmns=100

Or, to make it permanent, add 'kern.seminfo.semmns=100' to /etc/sysctl.conf.

No comments: