Re: Memory issue

2017-04-06 Thread JohnCarne
another attempt : # configuration file /etc/nginx/nginx.conf: #Core Functionality user nobody; worker_processes 8; pid/var/run/nginx.pid; pcre_jit on; error_log /var/log/nginx/error_log; #error_log /home/abackup/debug.log debug; worker_rlimit_nofile 30; #Load Dynamic Modules includ

Re: Memory issue

2017-04-06 Thread JohnCarne
I could not paste output of nginx -T, even truncating to 2500 lines instead of 158000 I get : Please shorten your messages, the body is too large. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,273274,273468#msg-273468 ___ nginx mailing lis

Re: Memory issue

2017-04-06 Thread JohnCarne
@] BR via Nginx : Idea coming right out of the blue: have you given a thought on compiling nginx (+ gradually modules) with valgrind? ​You should know pretty quickly if something is wrong.​ Thanks for this idea which can really improve the eng process... Brotli seems the main suspected issue Ano

Re: Memory issue

2017-04-06 Thread JohnCarne
Thanks for your feebacks. I do my best seriously to communicate what I can ! We note this issue on very busy server only, it will be hard to remove all modules on such busy server, and reconfig all, but not impossible. Anoop is on the case on smallest servers, and succeed to see the issue at small

Re: Memory issue

2017-04-06 Thread JohnCarne
Thanks for info, Anoop will read this, he is subscribed Posted at Nginx Forum: https://forum.nginx.org/read.php?2,273274,273458#msg-273458 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Memory issue

2017-04-06 Thread JohnCarne
cpanel stat generation cause thet nginx makes a lot of reload to grab new file descriptor... no issue on that Issue is nginx, I show you situation now with 2.58% used for 1 work, which is same value for others, but gloably, nginx uses now 2.58%, this number is increasing slowly at the rythm of ngi

Re: Memory issue

2017-04-06 Thread JohnCarne
I let dev Anoop answer to you... he has a clue about the issue : https://github.com/SpiderLabs/ModSecurity-nginx/issues/45 Posted at Nginx Forum: https://forum.nginx.org/read.php?2,273274,273444#msg-273444 ___ nginx mailing list nginx@nginx.org http:/

Re: Memory issue

2017-04-05 Thread JohnCarne
It looks like i don't speak english properly to be understood, others will open a thread on this issue, and may be explain better Posted at Nginx Forum: https://forum.nginx.org/read.php?2,273274,273437#msg-273437 ___ nginx mailing list nginx@nginx.org

Re: Memory issue

2017-04-05 Thread JohnCarne
We described it properly when opening ticket, I reformulate : Usually, 1 nginx worker process consumes 1.16-2% of RAM maximum on this server, and it remain stable. For some days after nginx upgrades, every overnight, during daily stat generation process of cpanel which happens on overnight like se

Re: Memory issue

2017-04-04 Thread JohnCarne
Uprgraded to last nginx version : memory still increase it seems Posted at Nginx Forum: https://forum.nginx.org/read.php?2,273274,273411#msg-273411 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Memory issue

2017-04-02 Thread JohnCarne
After upgrade and recompilation, issue is much less important, it increase only by 0.17% for an antire stats processing cycle, but issue remain unsolved [root@web1 ~]# nginx -V nginx version: nginx/1.11.12 built by gcc 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) built with LibreSSL 2.5.1 TLS SNI

Re: Memory issue

2017-04-01 Thread JohnCarne
We made a lot of tests, removing brotli, geoip, we can't solve the issue i suspect : nginx: cache manager process simple bug ! Posted at Nginx Forum: https://forum.nginx.org/read.php?2,273274,273303#msg-273303 ___ nginx mailing list nginx@nginx.o

Re: Memory issue

2017-03-28 Thread JohnCarne
We only user nginx as proxy on concerned server Posted at Nginx Forum: https://forum.nginx.org/read.php?2,273274,273275#msg-273275 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Memory issue

2017-03-28 Thread JohnCarne
Hi, We suspect an issue on cpanel server from last update nginx. Every overnight, there is many nginx reloads due to stat generation process : We see an ever increasing memory use of ngixn worker process, usually it says around 1-2%, we now see it cumulating without coming back to normal each ov

Re: posix_memalign(16, 16384) failed (12: Cannot allocate memory)

2016-09-26 Thread JohnCarne
Im now testing what said sys nginx : worker_processes 1; Try 1 first and the error is fixed you can increase it to 4 or 8 Posted at Nginx Forum: https://forum.nginx.org/read.php?2,269787,269850#msg-269850 ___ nginx mailing list nginx@nginx.org http://

Re: posix_memalign(16, 16384) failed (12: Cannot allocate memory)

2016-09-26 Thread JohnCarne
also : 2016/09/26 10:26:22 [emerg] 14146#14146: posix_memalign(16, 16384) failed (12: Cannot allocate memory) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,269787,269847#msg-269847 ___ nginx mailing list nginx@nginx.org http://mailman.nginx

Re: posix_memalign(16, 16384) failed (12: Cannot allocate memory)

2016-09-26 Thread JohnCarne
just now 2016/09/26 10:18:52 [emerg] 5027#5027: malloc(4096) failed (12: Cannot allocate memory) 2016/09/26 10:18:53 [emerg] 5043#5043: malloc(4096) failed (12: Cannot allocate memory) 2016/09/26 10:18:54 [emerg] 5048#5048: malloc(4096) failed (12: Cannot allocate memory) 2016/09/26 10:18:54 [emerg

Re: posix_memalign(16, 16384) failed (12: Cannot allocate memory)

2016-09-26 Thread JohnCarne
No error after 24 hours now, nginx version without modules was 1 part of the solution Now I tweak aio nginx with this : directio_alignment 4k; Posted at Nginx Forum: https://forum.nginx.org/read.php?2,269787,269843#msg-269843 ___ nginx mailing list ng

Re: posix_memalign(16, 16384) failed (12: Cannot allocate memory)

2016-09-25 Thread JohnCarne
I confirm we still not escaped with error which appeared just now : 2016/09/25 09:22:15 [emerg] 461680#461680: posix_memalign(16, 16384) failed (12: Cannot allocate memory) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,269787,269824#msg-269824 ___

Re: posix_memalign(16, 16384) failed (12: Cannot allocate memory)

2016-09-24 Thread JohnCarne
Maxim, After 29 hours error re-appeared jus tonce, which is much less than before I see a correlation on my monit system at this exact time : apache traffic had a peak, which equals to a big download peak I'm now thinking to nginx tweaks i have not done yet I now enlarge from 64m to client_max_

Re: posix_memalign(16, 16384) failed (12: Cannot allocate memory)

2016-09-23 Thread JohnCarne
Thank you for your feeback We reverted now to 1.11.3 with no brotly, and geoip module, (this version had caused no issue) Posted at Nginx Forum: https://forum.nginx.org/read.php?2,269787,269801#msg-269801 ___ nginx mailing list nginx@nginx.org http://

Re: posix_memalign(16, 16384) failed (12: Cannot allocate memory)

2016-09-23 Thread JohnCarne
nginx -V nginx version: nginx/1.11.4 built by gcc 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC) built with OpenSSL 1.0.2h 3 May 2016 TLS SNI support enabled configure arguments: --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/etc/nginx/modules --with-openssl=./openssl-1.0.2h --conf-path=

Re: posix_memalign(16, 16384) failed (12: Cannot allocate memory)

2016-09-23 Thread JohnCarne
sysctl tweaked at maximum already # Kernel sysctl configuration file for Red Hat Linux # # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and # sysctl.conf(5) for more details. # Tweak for nginx workers/connections added 16/09/2016 for issue investigation on pisix error in nginx l

Re: posix_memalign(16, 16384) failed (12: Cannot allocate memory)

2016-09-23 Thread JohnCarne
I add my config at server level #Core Functionality user nobody; worker_processes auto; worker_rlimit_nofile 5; thread_pool iopool threads=32 max_queue=65536; pid /var/run/nginx.pid; error_log /var/log/nginx/error_log; #error_log /home/abackup/debug.log debug; #Load Dynamic Modules #incl

posix_memalign(16, 16384) failed (12: Cannot allocate memory)

2016-09-23 Thread JohnCarne
Hello, [root@web1 ~]# nginx -v nginx version: nginx/1.11.4 We are now after 13 days we observer suddenly in nginx logs this in an intempestive manner, and causing nginx to reload, causing slow down on server : posix_memalign(16, 16384) failed (12: Cannot allocate memory) This happens after our u