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 2002/06/16 18:19:49 UTC
DO NOT REPLY [Bug 9903] New: -
mod_disk_cache does not remove temporary files
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: bugs@httpd.apache.org
ReportedBy: airborne@advalvas.be
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org