Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2008 09:26:10 +0200
From:      Jordi Moles Blanco <jordi@cdmon.com>
To:        freebsd-questions@freebsd.org
Subject:   semget: no space left on freebsd 6.2
Message-ID:  <48D89A12.1010608@cdmon.com>

next in thread | raw e-mail | index | archive | help
hello everyone,

i'm having some trouble with a freebsd 6.2 box and apache-2.0.59.  When 
i try to install some apache_mods, i get this:

For example with mod_cband:

*********************
apache2_mod_cband: cannot create shared memory segment for remote hosts
*********************

when i debug this, i get to the point where kernel says:

********************
semget: No space left on device
********************

It doesn't happen with all apache2_mods, but with a few, for example 
mod_cband and mod_tsunami.

i've googled a lot and found some people with the same problem but with 
apache 1.3.x. Their fix doesn't work in my box. They have tried this:

*****************

ipcs -s | grep nobody | perl -e 'while (<STDIN>) {
@a=split(/\s+/); print `ipcrm sem $a[1]`}'

*********************

but it doesn't work for me.
i also found this:

**********************

Also try adding this options on FreeBSD kernel config:
options         SEMMNI=20
options         SEMMNS=120

And set the kern.maxfiles sysctl option higher than 1000.

*********************

it didn't work either.

do you have any idea where the problem is? Thanks.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48D89A12.1010608>