rm -rf /data/nginx/proxy_cache2/*<br><br><div class="gmail_quote">On Wed, Dec 16, 2009 at 1:16 PM, tOmasEn <span dir="ltr">&lt;<a href="mailto:tomasen@gmail.com">tomasen@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

what is the correct way to flush/delete proxy_cache without restart nginx?<br><br>kill -HUP doesn&#39;t seems to work.<br><br>I tried use script like<br> find /data/nginx/proxy_cache2 -type f -exec rm -f {}\;<br clear="all">


<br>but the file still there, it seems nginx have locked the cache files.<br><font color="#888888"><br><br><br>-- <br>Tomasen<br><a href="http://twitter.com/ShooterPlayer" target="_blank">http://twitter.com/ShooterPlayer</a><br>

<a href="http://t.sina.com.cn/Tomasen" target="_blank">http://t.sina.com.cn/Tomasen</a><br>

</font><br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Faithfully yours, Eugenie<br>ICQ #701217<br>GTalk <a href="mailto:ekruglov@gmail.com">ekruglov@gmail.com</a><br>