httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <>
Subject Re: [users@httpd] mod_rewrite: failed to lock file descriptor
Date Mon, 16 May 2005 08:29:23 GMT
Andrew Zeon wrote:
> Hi,
> I have Apache 1.3.26 running on Windows 2000.

How perverse.  Without getting into why-use-windows-at-all,
Apache 1.x is a server designed for unix-family boxes, and
not well-suited to windows.  One of the changes in Apache2
is the true cross-platform architecture.

>	 I am getting the following 
> in my error.log:
> [Mon May 16 13:44:04 2005] [error] Server ran out of threads to serve 
> requests. Consider raising the ThreadsPerChild setting
> [Mon May 16 13:44:09 2005] [error] [client] (36)Resource 
> deadlock avoided: mod_rewrite: failed to lock file descriptor
> [Mon May 16 13:44:09 2005] [error] [client] (13)Permission 
> denied: mod_rewrite: failed to unlock file descriptor

Well, that could either be due to poor performance (see above),
or perhaps a set of rewrites spiralling recursively out of control.

>	FYI, there is a problem with one of our rewrite rules
> I get about 10 of these per second in error.log.

That looks like a self-inflicted wound.  Fix the rewriterules.
Or, failing that, drop them.

Nick Kew

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message