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
Vincent Reydet mr...@buggynet.org writes:
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 don't think that will hurt anything. You'll just start getting cache
misses, as if you were starting from scratch,
Vincent Reydet mr...@buggynet.org 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 has the file open, the
content won't go away until
ok thanks !
Le 17 déc. 08 à 00:22, Dan Poirier a écrit :
Vincent Reydet mr...@buggynet.org 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