[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

fakeroot: out of semaphores?



When I tried to build a Debian package this morning, fakeroot failed
with a strange error message.  I searched the source and found out,
that the problem is in faked, where a semget(2) fails with errno==28.

28 seems to be ENOSPC and the man page of semget(2) tells me:

       ENOSPC     A  semaphore set has to be created but the sys­
                  tem limit for the maximum number  of  semaphore
                  sets  (SEMMNI), or the system wide maximum num­
                  ber of semaphores (SEMMNS), would be  exceeded.

So it seems that my machine run out of semaphores, but I don't know
how to free semaphores or find out which programs created them without
freeing...

I stopped X11 and all running user programs (only the daemons kept
running), but this didn't solve the problem.  The only rebooting the
machine fixed it.

So my question is: Which programs are eating the semaphores and how
can I find this out myself?


Tschoeeee

        Roland

PS: Some information about the system:
    Linux spinnaker 2.2.13 #1 Mit Okt 20 18:48:12 CEST 1999 i586 unknown
    The Machine was running since this kernel was created.
    libc6 2.1.2-2, fakeroot 0.4.4-2 (and also 0.4.4-4).    

-- 
 * roland@spinnaker.de * http://www.spinnaker.de/ *


Reply to: