what is the correct way to flush/delete proxy_cache without restart nginx?

tOmasEn tomasen at gmail.com
Wed Dec 16 13:16:30 MSK 2009


what is the correct way to flush/delete proxy_cache without restart nginx?

kill -HUP doesn't seems to work.

I tried use script like
 find /data/nginx/proxy_cache2 -type f -exec rm -f {}\;

but the file still there, it seems nginx have locked the cache files.



-- 
Tomasen
http://twitter.com/ShooterPlayer
http://t.sina.com.cn/Tomasen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20091216/3ff22e8c/attachment.html>


More information about the nginx mailing list