Re: mod_disk_cache: htcacheclean and rm -rf

2008-12-16 Thread Vincent Reydet
ok thanks ! Le 17 déc. 08 à 00:22, Dan Poirier a écrit : Vincent Reydet writes: But if mod_cache starts to read a file, and rm erase this file at this moment, a bad content is sent to the client ? It would happen on a big website no ? That's not a problem on Unix. If mod_cache ha

Re: mod_disk_cache: htcacheclean and rm -rf

2008-12-16 Thread Vincent Reydet
But if mod_cache starts to read a file, and rm erase this file at this moment, a bad content is sent to the client ? It would happen on a big website no ? Le 16 déc. 08 à 21:50, Dan Poirier a écrit : Vincent Reydet writes: I'm using apache 2.2.9 and mod_disk_cache on linux. Is it sa

mod_disk_cache: htcacheclean and rm -rf

2008-12-16 Thread Vincent Reydet
Hi, I'm using apache 2.2.9 and mod_disk_cache on linux. Is it safe to launch the command "rm -rf /my_cache_dir/*" while apache is running ? I'm currently using this command instead : htcacheclean -l1 -p/ my_cache_dir but it is very slow ( more than 1 hour in my case :( ) and not suitable