Bug 57529 - htcacheclean doesn't show the cached URL with '-a' or '-A' option
Summary: htcacheclean doesn't show the cached URL with '-a' or '-A' option
Status: REOPENED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: support (show other bugs)
Version: 2.4.41
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-03 13:29 UTC by Kamal Das Gupta
Modified: 2020-03-15 10:58 UTC (History)
3 users (show)



Attachments
Patch for this bug. (772 bytes, patch)
2015-02-03 14:26 UTC, Kamal Das Gupta
Details | Diff

Note You need to log in before you can comment on or make changes to 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
$