Semaphore issue
Julien ÉLIE
julien at trigofacile.com
Thu Sep 29 21:40:06 UTC 2011
Hi all,
> % ./buffindexed.t
> cant create semaphore using ov-tmp/buffer: No space left on device
> failed to create semaphore for ov-tmp/buffer
> buffindexed: ovinitdisks: cant create shmem for ov-tmp/buffer len 16384: No space left on device
> Opening the overview database failed, cannot continue
I believe there is a latent problem with our use of semaphores.
I experienced again an exhaustion of available semaphores.
iulius at gcc10:~/autobuild/inn/tests$ ipcs -s
------ Semaphore Arrays --------
key semid owner perms nsems
iulius at gcc10:~/autobuild/inn/tests$ make
./runtests TESTS
[...]
All tests successful, 88 tests skipped.
Files=54, Tests=3490, 13.74 seconds (1.41 usr + 1.76 sys = 3.17 CPU)
iulius at gcc10:~/autobuild/inn/tests$ ipcs -s
------ Semaphore Arrays --------
key semid owner perms nsems
0x00210cbc 290553863 iulius 777 2
0x00210cd3 290586632 iulius 777 2
iulius at gcc10:~/autobuild/inn/tests$ make
./runtests TESTS
[...]
All tests successful, 88 tests skipped.
Files=54, Tests=3490, 13.71 seconds (1.36 usr + 1.75 sys = 3.10 CPU)
iulius at gcc10:~/autobuild/inn/tests$ ipcs -s
------ Semaphore Arrays --------
key semid owner perms nsems
0x00210cbc 290553863 iulius 777 2
0x00210cd3 290586632 iulius 777 2
0x00210cba 290619401 iulius 777 2
iulius at gcc10:~/autobuild/inn/tests$ make
./runtests TESTS
[...]
All tests successful, 88 tests skipped.
Files=54, Tests=3490, 13.72 seconds (1.37 usr + 1.74 sys = 3.11 CPU)
iulius at gcc10:~/autobuild/inn/tests$ ipcs -s
------ Semaphore Arrays --------
key semid owner perms nsems
0x00210cbc 290553863 iulius 777 2
0x00210cd3 290586632 iulius 777 2
0x00210cba 290619401 iulius 777 2
And it seems to remain at 3.
Then I rebuild INN, and run again the test suite.
iulius at gcc10:~/autobuild/inn/tests$ ipcs -s
------ Semaphore Arrays --------
key semid owner perms nsems
0x00210cba 290652167 iulius 777 2
0x00210cd3 290684936 iulius 777 2
0x00210cbc 290717705 iulius 777 2
0x00210cbd 290750474 iulius 777 2
...
Compilation with no configure flags (mere build) triggers the problem.
(So does a compilation with configure flags.)
I suspect overview tests (or perhaps real overview).
Is there something special to look at? Isn't there a possibility to
automatically destroy unused semaphores?
--
Julien ÉLIE
« – Où vous croyez-vous ici ?
– Où je me trouve, je sais. » (Astérix)
More information about the inn-workers
mailing list