You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2003/03/11 21:18:29 UTC

DO NOT REPLY [Bug 17891] New: - non-threadsafe code in URI translation

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17891>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17891

non-threadsafe code in URI translation

           Summary: non-threadsafe code in URI translation
           Product: Apache httpd-2.0
           Version: 2.0.44
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: mod_userdir
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: chales@california.com


I haven't yet tracked down the code, but if you increase the number of 
threads per process using the worker MPM to about 50 and repeatedly hit the 
server, you end up with 404 errors for ~ user directories that do exist.  We've 
had a relatively easy time recreating this bug, but the solution is to reduce 
the number of threads per process to a more reasonable number. (20 in our 
case)  My appologies if there are known issues with large numbers of threads 
per process.  I marked this as a mod_userdir, because I couldn't recreate the 
bug with any other type of request.

Steps to recreate bug:
Using the Worker MPM, increase the number of threads per process to 50
Load the web server with requests (both ~ and non ~ requests)
Watch for 404 errors loading ~ directories that do in fact exist.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org