Re: leaking memory nginx 1.8.0

2015-07-08 Thread evgeni22
ok the leaking fixed , i will past here for database for other users: that was in my php-fpm.conf pm = ondemand pm.max_children = 10 pm.process_idle_timeout = 60 pm.max_requests = 1000 = after i change it to this conf the leaking stoped. pm = dynamic pm.max_children

Re: leaking memory nginx 1.8.0

2015-07-08 Thread Reinis Rozitis
i only not understand why pm = ondemand doing the leaking, does algorithem in nginx not stable or it php issue ? It contradicts your previous mails about nginx processes being the leak point. php(-fpm) and nginx are separate pieces of software (just communicating via fastcgi protocol) so if

Re: leaking memory nginx 1.8.0

2015-07-08 Thread Frederik Nosi
Hi, On 07/08/2015 09:44 AM, evgeni22 wrote: ok the leaking fixed , i will past here for database for other users: that was in my php-fpm.conf pm = ondemand pm.max_children = 10 pm.process_idle_timeout = 60 pm.max_requests = 1000 = after i change it to this conf

Re: leaking memory nginx 1.8.0

2015-07-08 Thread evgeni22
wondering if it good config in php-fpm pm = ondemand pm.max_children = 10 pm.process_idle_timeout = 60 pm.max_requests = 1000 ? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260106,260131#msg-260131 ___ nginx mailing list nginx@nginx.org

Re: leaking memory nginx 1.8.0

2015-07-08 Thread evgeni22
nginx recompile, because the module could be still hooking in requests. security_mod disabled it not tracker after any domains on the server it cant hooking requersts if it not tracking after domains becuse memory leaking only when clients do traffic with domains. i for sure now it not

leaking memory nginx 1.8.0

2015-07-07 Thread evgeni22
Hello, need help with leaking memory i installed fresh system , centos7.1 +directadmin + nginx1.8.0 + mariadb5.5.41 + php54 php56 both with php_fpm the server it for webhosting and i have there 32gb for now have only 4 website on it, and after 1-2hours nginx take all memory when it come to 96% it

Re: leaking memory nginx 1.8.0

2015-07-07 Thread evgeni22
$ nginx -V nginx version: nginx/1.8.0 built by gcc 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) built with OpenSSL 1.0.1e-fips 11 Feb 2013 TLS SNI support enabled configure arguments: --add-module=../modsecurity_nginx-2.8.0/nginx/modsecurity --user=nginx --group=nginx --prefix=/usr --sbin-path=/usr/sbin

Re: leaking memory nginx 1.8.0

2015-07-07 Thread Valentin V. Bartenev
On Tuesday 07 July 2015 02:25:41 evgeni22 wrote: Hello, need help with leaking memory i installed fresh system , centos7.1 +directadmin + nginx1.8.0 + mariadb5.5.41 + php54 php56 both with php_fpm the server it for webhosting and i have there 32gb for now have only 4 website on it, and after

Re: leaking memory nginx 1.8.0

2015-07-07 Thread Valentin V. Bartenev
On Tuesday 07 July 2015 13:12:42 evgeni22 wrote: $ nginx -V nginx version: nginx/1.8.0 built by gcc 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) built with OpenSSL 1.0.1e-fips 11 Feb 2013 TLS SNI support enabled configure arguments: --add-module=../modsecurity_nginx-2.8.0/nginx/modsecurity

Re: leaking memory nginx 1.8.0

2015-07-07 Thread Umarzuki Mochlis
2015-07-07 14:25 GMT+08:00 evgeni22 nginx-fo...@nginx.us: Hello, need help with leaking memory i installed fresh system , centos7.1 +directadmin + nginx1.8.0 + mariadb5.5.41 + php54 php56 both with php_fpm the server it for webhosting and i have there 32gb for now have only 4 website on it,

Re: leaking memory nginx 1.8.0

2015-07-07 Thread evgeni22
do you sure to increase? does not it will eat faster the memory? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260106,260109#msg-260109 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: leaking memory nginx 1.8.0

2015-07-07 Thread evgeni22
This my hardware server: Processor Intel Xeon E3 1225v2 Cores/Threads 4 cores/ 4 threads Frequency 3.2 GHz+ RAM 32GB DDR3 Disks 3 x 120 GB SSD = the config is nginx.conf: #user nginx; # The number of worker processes is changed

Re: leaking memory nginx 1.8.0

2015-07-07 Thread itpp2012
Show us the nginx.conf, maybe you're using some weird large value somewhere. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260106,260123#msg-260123 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: leaking memory nginx 1.8.0

2015-07-07 Thread evgeni22
ok need help, it not security_mod, it begin grow again. when server begin activate, i mean users begin upload files or replace files the memory increase immediately and not going down after they finish. now the server ate 12gb of ram, if i do reset to nginx it going down to 4.5gb ram. Posted at

Re: leaking memory nginx 1.8.0

2015-07-07 Thread Reinis Rozitis
nginx recompile, because the module could be still hooking in requests. Did read a bit further in the thread and could even confirm this: ModSecurity using resources even if it is disabled https://github.com/SpiderLabs/ModSecurity/issues/644 which leads to nginx: Returning 500 if

Re: leaking memory nginx 1.8.0

2015-07-07 Thread Reinis Rozitis
security_mod disabled now. but the config is nginx-modsecurity-enable.conf: ModSecurityEnabled on; ModSecurityConfig /etc/nginx/nginx-modsecurity.conf; Did you disable the module just via configuration or did a full vanilla nginx recompile, because the module could be still hooking in

Re: leaking memory nginx 1.8.0

2015-07-07 Thread evgeni22
$ su nginx --shell /bin/bash --command ulimit -n 4096 it not fix the problem nginx10062 0.0 44.5 14763332 14639972 ? S14:56 0:00 nginx: worker process nginx10063 0.0 44.5 14763332 14639964 ? S14:56 0:00 nginx: worker process nginx10064 0.1 44.5 14763332 14639984 ?