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
Message-Id: 5c2f25a9.2611289c.483bdebb.34570@o2.pl
1 Hello
2 lately I had some problems with apache and semaphores
3
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...
7
8 I read that it's about semaphores - there are no "free space" for new ones...
9
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)
12
13 but I don't want to solve it this way ... I'd like to fix a reason of problem not a consequence...
14
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...
17
18 So is there a way to prevent locking of new-created semaphores after restart of Apache?
19
20 Thanks for any help
21 regards
22 nichu
23
24 --
25 gentoo-user@l.g.o mailing list

Replies

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