Gentoo Archives: gentoo-user

From: Enrico Weigelt <weigelt@×××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] apache + semaphores
Date: Mon, 02 Jun 2008 11:38:54
Message-Id: 20080602113814.GB25805@nibiru.local
In Reply to: [gentoo-user] apache + semaphores by Marcin Niskiewicz
1 * Marcin Niskiewicz <mniskiewicz@××.pl> wrote:
2
3 > In apache error log I had:
4 > [crit] (28)No space left on device: mod_rewrite: could not create rewrite_log_lock
5 > of course I had lot of free disk space...
6 >
7 > I read that it's about semaphores - there are no "free space" for new ones...
8
9 Yep, a long known problem :(
10
11 > but I don't want to solve it this way ... I'd like to fix a reason of problem
12 > not a consequence...
13
14 maybe:
15
16 a) run an separate cleaning process before actually starting httpd
17 b) rewrite httpd to not use the sysv-ipc at all, but lockfiles
18 (flock() etc) instead.
19
20 Actually, I'd consider the whole sysv-ipc stuff as very outdated.
21 IMHO, there's nothing that can't be done easily via filesystems.
22
23
24 cu
25 --
26 ---------------------------------------------------------------------
27 Enrico Weigelt == metux IT service - http://www.metux.de/
28 ---------------------------------------------------------------------
29 Please visit the OpenSource QM Taskforce:
30 http://wiki.metux.de/public/OpenSource_QM_Taskforce
31 Patches / Fixes for a lot dozens of packages in dozens of versions:
32 http://patches.metux.de/
33 ---------------------------------------------------------------------
34 --
35 gentoo-user@l.g.o mailing list