Semaphore issue

Julien ÉLIE julien at trigofacile.com
Sat Jun 20 14:12:17 UTC 2015


Hi Richard,

> https://lists.isc.org/pipermail/inn-workers/2011-September/017933.html
>> I believe there is a latent problem with our use of semaphores.
>> I experienced again an exhaustion of available semaphores.
>
> (Also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544457#30 )

Ah, you also experienced these leaks with INN.


> The problem is quite simple: buffindexed deletes its shared memory
> segment when there are no more users (i.e. when shm_nattch==0), but it
> fails to delete the semaphore at the same time.

Many thanks for having fixed that old issue!
Patch committed.

-- 
Julien ÉLIE

« Medicus dedit qui temporis morbo curam, Is plus remedii quam cutis
   sector dedit. »


More information about the inn-workers mailing list