Please help review and approve one change

2017-12-19 Thread Xiaohua Wang
Added to trace HTTP request call flow in nginx. Especially for performance or load test purpose. Because info level log is not enough, and debug log is too much which impacts performance a lot. Currently, two scenarios are supported. 1) trace any point in source code like before/after function

Re: https://www.nginx.com/blog/performance-tuning-tips-tricks/

2017-12-19 Thread Валентин Бартенев
On Tuesday 19 December 2017 10:13:23 Gena Makhomed wrote: > Здравствуйте, All! > > В статье https://www.nginx.com/blog/performance-tuning-tips-tricks/ > есть ошибки: > > error_log off; > > - это не выключит error_log, > а сделает лог-файл с именем off в текущем каталоге. > > И вообще,

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

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

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: > > -

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

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

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

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

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

[nginx] Fixed capabilities version.

2017-12-19 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/7f28b61c92f0 branches: changeset: 7176:7f28b61c92f0 user: Roman Arutyunyan date: Tue Dec 19 19:00:27 2017 +0300 description: Fixed capabilities version. Previously, capset(2) was called with the 64-bit capabilities version

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

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: >

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

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?

https://www.nginx.com/blog/performance-tuning-tips-tricks/

2017-12-19 Thread Gena Makhomed
Здравствуйте, All! В статье https://www.nginx.com/blog/performance-tuning-tips-tricks/ есть ошибки: error_log off; - это не выключит error_log, а сделает лог-файл с именем off в текущем каталоге. И вообще, выключать error_log - это плохая идея, странно что такое рекомендуют на сайте