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=9903>.
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=9903

mod_disk_cache does not remove temporary files

           Summary: mod_disk_cache does not remove temporary files
           Product: Apache httpd-2.0
           Version: 2.0.36
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Major
          Priority: Other
         Component: mod_cache
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


When performing a load test on Apache 2.0.36 with mod_disk_cache enabled, some
aptmpXXXXXX files were not deleted.  After an hour or so of testing more than
2000 temporary files were present in the cache root directory.

Solution: When calling apr_file_mktemp in mod_disk_cache.c:340 add
APR_DELONCLOSE to the flags parameter.

PS: Only tested on Sparc/Solaris but probably an issue on all platforms if you
look at the code.

PS2: I used the mod_cache component because there doesn't seem to be a
mod_disk_cache component yet.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to