Re: leaking memory nginx 1.8.0

2015-07-07 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 h

Re: leaking memory nginx 1.8.0

2015-07-07 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 security

Re: Nginx SFTP/FTP loadbalancer

2015-07-07 Thread Payam Chychi
Hi, You would proxy pass to the backend. Lookup how the smtp is done with nginx. Personally i use nginx for http based and haproxy for any other tcp based load balancing, ive had some great success in this method. -- Payam Chychi Network Engineer / Security Specialist On Tuesday, July 7, 2

RE: Nginx SFTP/FTP loadbalancer

2015-07-07 Thread Felix HT1 Zhang
Dears, This is Felix which is from Lenovo.I need your kindly help of nginx. Here is one question of nginx SFTP/FTP loadbalancer. The backend is two machines 10.96.144.195/10.96.144.196 service IP is 10.96.144.197 which have some http,https,SFTP and FTP service. The frontend systems send some data

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 SecRuleEng

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 request

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 automa

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 Ng

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

Re: Nginx doesn't redirect www no m in Safari, iPhone, iPad

2015-07-07 Thread ramsoft75
"Hello, Francis Daly asked you several times to check the access.log file (you should not find the fragment part in there). oscaretu and I told you browsers don't send the fragment part of an URL. The problem isn't from nginx nor the browser: it's a normal behavior. Best Regards" In deed there

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 ?

Re: Nginx doesn't redirect www no m in Safari, iPhone, iPad

2015-07-07 Thread oscaretu .
Yo don't need to escape the "!" if you delimit the URL with single quotes... On Tue, Jul 7, 2015 at 11:28 AM, ramsoft75 wrote: > Hi there all and thank's for the help > > Dear oscaretu, the curl was tested with " doesn't help, because ! is a > special character it needs a escaope after "\", so t

Re: Static content

2015-07-07 Thread smsmaddy1981
Hi Mike Thanks for your quick reply... To answer your questions: - Upstream servers yes (where applications are deployed). And, not NGinx installations. - I tried accessing the static content on other servers, that isn't working... I tried using root, rewrite,.. directives. Is it possible to s

Re: Nginx doesn't redirect www no m in Safari, iPhone, iPad

2015-07-07 Thread Alt
Hello, Francis Daly asked you several times to check the access.log file (you should not find the fragment part in there). oscaretu and I told you browsers don't send the fragment part of an URL. The problem isn't from nginx nor the browser: it's a normal behavior. Best Regards Posted at Nginx

Re: Nginx doesn't redirect www no m in Safari, iPhone, iPad

2015-07-07 Thread ramsoft75
Hi there all and thank's for the help Dear oscaretu, the curl was tested with " doesn't help, because ! is a special character it needs a escaope after "\", so the correct curl command for the terminal is : $ curl -A iPad -i http://www.domain.com/#\!/pt/--item-view/en/3190/Wok Dear Francis Daly

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: Nginx doesn't redirect www no m in Safari, iPhone, iPad

2015-07-07 Thread oscaretu .
You should protect the URL with single quotes, to avoid the interpretation of character ! by the shell: curl -A iPad -i 'https://www.domain.com/#!/pt/--item-view/pt/32081/Mix-J' But if you put the URL https://www.domain.com/#!/pt/--item-view/pt/32081/Mix-J in a browser (at least in Firefox), the