Re: Problem with proxy_cache_path and limit

2017-12-19 Thread erick3k
Yep is there, so am still back to 0, nginx is still filling up the hard disk please help Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277816,277840#msg-277840 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo

Re: Problem using `proxy_redirect` to rewrite the same Location 2-or-more times?

2017-12-19 Thread Alec Muffett
Hi Francis! On 18 December 2017 at 22:26, Francis Daly wrote: > > You do currently have a header_filter_by_lua_block{} section, where you > appear to rewrite three specific content-security-related headers based > on multiple regex matches. > > Could you not do exactly the same with the "Location

Re: limit_conn not working

2017-12-19 Thread Maxim Dounin
Hello! On Tue, Dec 19, 2017 at 09:17:33PM +0300, Maxim Dounin wrote: > On Tue, Dec 19, 2017 at 06:03:46PM +0100, Abilio Marques wrote: > > > For me the documentation reads in a way in which a connection with > > keep-alive that already received one request satisfies those two conditions: > > - I

Re: Problem with proxy_cache_path and limit

2017-12-19 Thread Maxim Dounin
Hello! On Tue, Dec 19, 2017 at 01:31:10PM -0500, erick3k wrote: > and that is done by the cache manager correct? when is this function > triggered ? i suspect the cache manager is not working, how can i tell if is > loaded? Try something like "ps -alx", cache manager process title will be "ngin

Re: Problem with proxy_cache_path and limit

2017-12-19 Thread erick3k
and that is done by the cache manager correct? when is this function triggered ? i suspect the cache manager is not working, how can i tell if is loaded? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277816,277836#msg-277836 ___ nginx maili

Re: limit_conn not working

2017-12-19 Thread Maxim Dounin
Hello! On Tue, Dec 19, 2017 at 06:03:46PM +0100, Abilio Marques wrote: > For me the documentation reads in a way in which a connection with > keep-alive that already received one request satisfies those two conditions: > - It has a request processed by the server. (processed is past tense, which

RE: [IE] Re: limit_conn not working

2017-12-19 Thread Jason Whittington
If you have a github account you can fork the nginx wiki troubleshooting and send them a pull request ☺ https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/ Look for “Edit this page” in the rightmost column. Jason From: nginx [mailto:nginx-boun...@nginx.org] On Behal

Re: Problem with proxy_cache_path and limit

2017-12-19 Thread Maxim Dounin
Hello! On Tue, Dec 19, 2017 at 12:48:41PM -0500, erick3k wrote: > what i observe is the folder cachemaster going over 1gb, way over until it > fills the hard drive. Please define "until it fills the hard drive". It is ok if you have only 1gb or 2gb free, but it is certainly not ok if it fills

Re: Problem with proxy_cache_path and limit

2017-12-19 Thread erick3k
removing use_temp_path=off max_size is literally ignored, still fills the hard drive just in default nginx temp path Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277816,277832#msg-277832 ___ nginx mailing list nginx@nginx.org http://mailma

Re: Problem with proxy_cache_path and limit

2017-12-19 Thread erick3k
Interesting, what i observe is the folder cachemaster going over 1gb, way over until it fills the hard drive. so what is the correct way to limit the cache size used by nginx? Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277816,277831#msg-277831 __

Re: limit_conn not working

2017-12-19 Thread Abilio Marques
For me the documentation reads in a way in which a connection with keep-alive that already received one request satisfies those two conditions: - It has a request processed by the server. (processed is past tense, which is true after the first one was made) - The whole request has already been read

Re: limit_conn not working

2017-12-19 Thread Maxim Dounin
Hello! On Tue, Dec 19, 2017 at 03:29:22PM +0100, Abilio Marques wrote: > I imagined to be something like that, but this is not obvious from the > documentation. Is there a way to clarify it for future readers? The documentation already says (http://nginx.org/en/docs/http/ngx_http_limit_conn_mod

Re: limit_conn not working

2017-12-19 Thread Abilio Marques
Thanks, I imagined to be something like that, but this is not obvious from the documentation. Is there a way to clarify it for future readers? On Tue, Dec 19, 2017 at 3:26 PM, Maxim Dounin wrote: > Hello! > > On Tue, Dec 19, 2017 at 06:36:00AM +0100, Abilio Marques wrote: > > > limit_conn is no

Re: limit_conn not working

2017-12-19 Thread Maxim Dounin
Hello! On Tue, Dec 19, 2017 at 06:36:00AM +0100, Abilio Marques wrote: > limit_conn is not working for me. I set up a test in nodejs, I'm doing GET > requests to http://localhost/, they are coming from different connections > (different origin ports), and all the connections are still open until

Re: Problem with proxy_cache_path and limit

2017-12-19 Thread Maxim Dounin
Hello! On Mon, Dec 18, 2017 at 09:14:43PM -0500, erick3k wrote: [...] > proxy_cache_path /home/admin/cachemaster levels=1:2 > keys_zone=my_cache:100m > max_size=1g inactive=60m use_temp_path=off; [...] > but the folder /home/admin/cachemaster fills up beyond 1gb, what am i > missing Co

Mailing list help

2017-12-19 Thread Francisco V.
Hello all, Sorry to bother, I've unsubscribed from this mailing list (In theory), did all the steps, but I'm still gettings mails from it. What's wrong? The volume, for now, is easily manageable, but shouldn't I be receiving nothing if I'm unsubscribed? Is there some admin that could help me? T