semget: no space left on freebsd 6.2

Jordi Moles Blanco jordi at cdmon.com
Wed Sep 24 07:50:11 UTC 2008


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 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.
>
>
>
>
>
>   



More information about the freebsd-questions mailing list