Gentoo Archives: gentoo-user

From: Marcin Niskiewicz <mniskiewicz@××.pl>
To: gentoo-user@l.g.o
Subject: [gentoo-user] apache + semaphores
Date: Tue, 27 May 2008 10:13:25
1 Hello
2 lately I had some problems with apache and semaphores
4 In apache error log I had:
5 [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
6 of course I had lot of free disk space...
8 I read that it's about semaphores - there are no "free space" for new ones...
10 I found lots of ways of clearing existing semaphores and they helped ...
11 I also found solution how to make space for bigger amount of semaphores via modyfing proc settings (kernel.msgmni and kernel.sem)
13 but I don't want to solve it this way ... I'd like to fix a reason of problem not a consequence...
15 I noticed that there is one more new locked semaphores every time apache is restarted ...
16 for example when I run apache2ctl gracefull - the amount of locked semaphores remains the same...
18 So is there a way to prevent locking of new-created semaphores after restart of Apache?
20 Thanks for any help
21 regards
22 nichu
24 --
25 gentoo-user@l.g.o mailing list


Subject Author
Re: [gentoo-user] apache + semaphores Enrico Weigelt <weigelt@×××××.de>