Okay, I tried that. Here are the results:
[snip]
Alright, I've figured it out. It's somewhat counter-intuitive (at least for
me). It looks like the -l (limit) doesn't take into consideration the size
of the directory.
Example:
# /opt/apache2/bin/htcacheclean -v -t -p/www/cache -l300M
[snip]
Could be that something is taking up more space and its not being
caught. Either that or the -l says the maximum size for 1 file. Have you
RTFM'd?
--
Morgan Gangwere
Unknown Software
http://sonof.bandit.name/
Member, INCOSE [ incose.org ] PACA [ paca.org ] and NMUG [ nmug.net ]
On Tue, Dec 16, 2008 at 10:09 AM, Morgan Gangwere 0.fracta...@gmail.comwrote:
[snip]
Could be that something is taking up more space and its not being caught.
Either that or the -l says the maximum size for 1 file. Have you RTFM'd?
Oh yeah, I've read the man page,
Exactly what have you done to start the daemon? have you nohup'd it? are
you using an INIT script?
It appears that you'd have to run
nohup htcacheclean -d5 -r -l700M -i
or some such
There IS an option that you can do. you can do this:
add to your crontab a command to change out your
On Tue, Dec 16, 2008 at 2:01 PM, Dan Poirier poir...@pobox.com wrote:
Have you tried -t? It looks like htcacheclean just counts the sizes of
the files, but if you have a lot of empty directories, that might be
taking up some space too. -t looks like it would clean that up.
I thought so too
Matthew Tice wrote:
Statistics:
size limit 750.0M
total size was 705.3M, total size now 705.3M
total entries was 105415, total entries now 105415
# df -h /www/cache
FilesystemSize Used Avail Use% Mounted on
tmpfs 1.2G 1.2G 69M 95% /www/cache
Try setting your
I'm running apache 2.2.9 on several nodes that serve static content only.
I'm running into a problem where the disk cache is filling up (and
subsequently problems serving the files). I've the following configuration:
# /etc/fstab
tmpfs /www/cache tmpfs auto,rw,size=1200M,nr_inodes=1M 0 0
# ps