Date: Wed, 24 Sep 2008 09:50:00 +0200 From: Jordi Moles Blanco <jordi@cdmon.com> To: Artis Caune <artis.caune@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: semget: no space left on freebsd 6.2 Message-ID: <48D9F128.6090206@cdmon.com> In-Reply-To: <9e20d71e0809230106y30bd4ba0o51b814cae07f4955@mail.gmail.com> References: <48D89A12.1010608@cdmon.com> <9e20d71e0809230106y30bd4ba0o51b814cae07f4955@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
hi, that solved the problem. Thanks again. En/na Artis Caune ha escrit: > On Tue, Sep 23, 2008 at 10:26 AM, Jordi Moles Blanco <jordi@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. > > > > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48D9F128.6090206>