You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Andreas Steinmetz <as...@domdv.de> on 2001/11/26 01:30:01 UTC
Re: mod_rewrite/8859: RewriteLock lock file gets deleted during
The following reply was made to PR mod_rewrite/8859; it has been noted by GNATS.
From: Andreas Steinmetz <as...@domdv.de>
To: submit@bugz.apache.org
Cc:
Subject: Re: mod_rewrite/8859: RewriteLock lock file gets deleted during
Date: Mon, 26 Nov 2001 01:23:05 +0100 (CET)
Hint:
This can be race condition where the lock file is deleted by rewritelock_remove
of the old server instance after being created by the new server instance. The
problem usually happens at log rotate time of a test system with the HD in
standby mode at execution start and the webserver otherwise idle.
As the lock file deletion problem is only reproducible from time to time this
too points to a race condition.
A simple fix could be to prevent lock file deletion in mod_rewrite.c, function
rewritelock_remove(). At least this is what I will try.
Andreas Steinmetz
D.O.M. Datenverarbeitung GmbH