You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jonathan Gold <jg...@panix.com> on 2003/11/03 20:33:44 UTC

[users@httpd] lockfiles for rewrite map (2.0.47)

i'm trying to figure out a bit more about how lockfiles for external
programs as rewrite maps under mod_rewrite are handled in 2.0.47. i
know that in 1.3.29, the lockfile is created and exists on the
filesystem throughout the life of the server's uptime. this doesn't
seem to be the case with 2.0.47.

it seems that there were bugs in the 2.0.39 version (bug 9534 --
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9534 ), which,
judging from the bug report, were fixed in 2.0.41. i've confirmed that
the patch discussed in the bug report seems to have been integrated
into the source (mod_rewrite.c) in 2.0.47, but the lockfile still does
not appear in the filesystem. i added a line to the code at the point
where it seems to create the lockfile, just to echo that execution
passed its creation successfully, which it appears to have done, but i
don't see the file.

is it the case that the file gets created when a request comes in, and
deleted after the request is rewritten, thus leaving the lockfile in
existence for only a few ms?

jon

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org