semget: no space left on freebsd 6.2

Artis Caune artis.caune at gmail.com
Tue Sep 23 08:06:36 UTC 2008


On Tue, Sep 23, 2008 at 10:26 AM, Jordi Moles Blanco <jordi at cdmon.com> wrote:
> 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.

Hi,

you don't have to recompile the kernel to change those, just add them
in /boot/loader.conf:
    kern.ipc.semmni="256"
    kern.ipc.semmns="512"
    kern.ipc.semmnu="256"

You should also add these lines to /etc/sysctl.conf:
    kern.ipc.shmmax=536870912
and/or also:
    kern.ipc.semmap=256
    kern.ipc.shm_use_phys=1
    kern.ipc.shmall=131072
depending on how much memory you have and how mush shared memory modules need.





-- 
regards,
Artis Caune

<----. CCNA
<----|====================
<----' didii FreeBSD


More information about the freebsd-questions mailing list