Bug 57529

Summary: htcacheclean doesn't show the cached URL with '-a' or '-A' option
Product: Apache httpd-2 Reporter: Kamal Das Gupta <kdg.cts>
Component: supportAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: REOPENED ---    
Severity: normal CC: eric.lee, kdg.cts, szg0000
Priority: P2    
Version: 2.4.41   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Attachments: Patch for this bug.

Description Kamal Das Gupta 2015-02-03 13:29:32 UTC
If we run the htcacheclean utility with '-a' or '-A' option, it doesn't show the cached url.
Comment 1 Kamal Das Gupta 2015-02-03 14:26:36 UTC
Created attachment 32427 [details]
Patch for this bug.
Comment 2 Eric Covener 2015-02-03 14:31:27 UTC
We use state=fixed to mean it shipped in a release.
Comment 3 Kamal Das Gupta 2015-02-03 14:32:18 UTC
Sorry...my bad !!
Comment 4 eric.lee 2020-03-15 10:58:22 UTC
Still present in 2.4.41:
Cache directory tree is 17MB:
$ du -sk /fs01/app/cr012/apache2.4/online/apache_cache
17336   /fs01/app/cr012/apache2.4/online/apache_cache

Dry run reports 1032 entries:
$ /fs01/app/sw/apache2.4/apache2.4.41/bin/htcacheclean -Dvtl 10M -p /fs01/app/cr012/apache2.4/online/apache_cache
Cleaned /fs01/app/cr012/apache2.4/online/apache_cache. Statistics:
size limit 10.0M
inodes limit 0
total size was 3.0M, total size now 3.0M
total inodes was 4005, total estimated inodes now 4005
total entries was 1032, total entries now 1032
0 entries deleted (0 from future, 0 expired, 0 fresh)

htcacheclean -A reports nothing:
$ /fs01/app/sw/apache2.4/apache2.4.41/bin/htcacheclean -v -A -p /fs01/app/cr012/apache2.4/online/apache_cache
$