Re: semget: no space left on freebsd 6.2



On Tue, Sep 23, 2008 at 10:26 AM, Jordi Moles Blanco <jordi@xxxxxxxxx> 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
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: semget: no space left on freebsd 6.2
    ... En/na Artis Caune ha escrit: ... And set the kern.maxfiles sysctl option higher than 1000. ... depending on how much memory you have and how mush shared memory modules need. ...
    (freebsd-questions)
  • Re: semget: no space left on freebsd 6.2
    ... En/na Artis Caune ha escrit: ... And set the kern.maxfiles sysctl option higher than 1000. ... depending on how much memory you have and how mush shared memory modules need. ...
    (freebsd-questions)