Re: semget: no space left on freebsd 6.2
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 [EMAIL PROTECTED] 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
semget: no space left on freebsd 6.2
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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: semget: no space left on freebsd 6.2
On Tue, Sep 23, 2008 at 10:26 AM, Jordi Moles Blanco [EMAIL PROTECTED] 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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: semget: no space left on freebsd 6.2
hi, thanks a lot for the info. i'll give it a try and report back. En/na Artis Caune ha escrit: On Tue, Sep 23, 2008 at 10:26 AM, Jordi Moles Blanco [EMAIL PROTECTED] 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]