Re: htcacheclean ignoring -l (limit)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Try setting your cache size to some rediculously low (say 5K) mark. See if htclean does anything. Also, does root have read/write permissions on /www/cache? try chmod -R 777 /www/cache


Okay, I tried that.  Here are the results:

# df -h /www/cache
Filesystem            Size  Used Avail Use% Mounted on
tmpfs                 1.2G  369M  832M  31% /www/cache

# /opt/apache2/bin/htcacheclean -v -t -p/www/cache -l5k
Statistics:
size limit 5.0K
total size was 275.9M, total size now 0.0K
total entries was 18602, total entries now 0

# df -h /www/cache
Filesystem            Size  Used Avail Use% Mounted on
tmpfs                 1.2G   75M  1.1G   7% /www/cache


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux