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

Kruglov Eugenie ekruglov at gmail.com
Wed Dec 16 13:26:16 MSK 2009


rm -rf /data/nginx/proxy_cache2/*

On Wed, Dec 16, 2009 at 1:16 PM, tOmasEn <tomasen at gmail.com> wrote:

> 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
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
>


-- 
Faithfully yours, Eugenie
ICQ #701217
GTalk ekruglov at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20091216/e12442f1/attachment.html>


More information about the nginx mailing list