semaphores

Pars Saberi pars at parszamin.ca
Mon Aug 11 13:05:19 PDT 2003


Hi,
 I was installing perl 5.8 and it would fails. Lost the error message, sorry.
However, running a google search on the error message gave only one 
result suggesting that my system was running out of semaphores. So,
`ipcs` showed that postgresql was using them and so stopping this db allowed
perl to be installed.

Now I can run both perl5.8 and postgresql, but, how do I know whether my
system is low on semaphores, and if so, how do I increase it ?
Here are  some outputes:
uname -a: FreeBSD 4.8-STABLE
ipcs :
farhad at tehran [/home/pars/perl]
 $ ipcs
Message Queues:
T     ID     KEY        MODE       OWNER    GROUP

Shared Memory:
T     ID     KEY        MODE       OWNER    GROUP
m  65536    5432001 --rw-------    pgsql    pgsql

Semaphores:
T     ID     KEY        MODE       OWNER    GROUP
s 131072    5432001 --rw-------    pgsql    pgsql
s 131073    5432002 --rw-------    pgsql    pgsql
s 131074    5432003 --rw-------    pgsql    pgsql

Thanks.


More information about the freebsd-questions mailing list