Welcome! Log In Create A New Profile

Advanced

Re: what is the correct way to flush/delete proxy_cache withoutrestartnginx?

Piotr Sikora
December 22, 2009 09:04AM
> rm -rf /data/nginx/proxy_cache2
> Doesn't that will affect nginx keep creating the cache? I mean doesn't
> that
> stop proxy cache working since directory doesn't existed?

No, it won't, because nginx will re-create directory when needed. This could
potentialy disrupt work of cache helpers (cache manager & cache loader), so
just to be on the safe side you could run this instead:
# rm -rf /data/nginx/proxy_cache2 && killall -HUP nginx

Best regards,
Piotr Sikora < piotr.sikora@frickle.com >


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
SubjectAuthorPosted

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

tOmasEnDecember 16, 2009 05:22AM

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

Kruglov EugenieDecember 16, 2009 05:32AM

Re: what is the correct way to flush/delete proxy_cache without restartnginx?

Piotr SikoraDecember 16, 2009 05:38AM

Re: what is the correct way to flush/delete proxy_cache without restartnginx?

tOmasEnDecember 18, 2009 03:46AM

Re: what is the correct way to flush/delete proxy_cache withoutrestartnginx?

Piotr SikoraDecember 22, 2009 09:04AM

Re: what is the correct way to flush/delete proxy_cache withoutrestartnginx?

RadekSeptember 02, 2010 04:22AM

Re: what is the correct way to flush/delete proxy_cache withoutrestartnginx?

RoastSeptember 02, 2010 04:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 58
Record Number of Users: 5 on December 17, 2014
Record Number of Guests: 154 on December 17, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready