nginx 1.8.0 not logging properly

2015-12-09 Thread Dennis Jacobfeuerborn
Hi, I'm using the Nginx 1.8.0 rpm found on http://nginx.org/packages/centos/7/x86_64/RPMS/ with a config that has been working fine so far with Nginx 1.6.x. The problem is that sometimes I get 500 Internal Server Errors but even though have the line "error_log /var/log/nginx/error.log

Re: nginx 1.8.0 http_proxy cache issues

2015-08-18 Thread Maxim Dounin
Hello! On Tue, Aug 18, 2015 at 07:17:41AM -0400, adrian.biris wrote: [...] > I have noticed that when I restart nginx (using restart or just simple stop > and then start) the cache is not invalidated as it used to be. > After each restart I get HIT for all pages that were valid in cache before >

nginx 1.8.0 http_proxy cache issues

2015-08-18 Thread adrian.biris
Hi, I'm using nginx 1.8.0 on Ubuntu 14.04 LTS. # nginx -V nginx version: nginx/1.8.0 built with OpenSSL 1.0.1f 6 Jan 2014 TLS SNI support enabled configure arguments: --with-cc-opt='-g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIF

Re: ssl_password_file on nginx 1.8.0

2015-08-10 Thread B.R.
, 2015 at 1:00 PM, Valentin V. Bartenev wrote: > On Saturday 08 August 2015 17:05:26 B.R. wrote: > > Hello, > > > > I cannot manage to load a certificate protected wit ha password on nginx > > 1.8.0: > > [emerg] 2331#0: > SSL_CTX_use_PrivateKey_file("/etc

Re: ssl_password_file on nginx 1.8.0

2015-08-10 Thread Valentin V. Bartenev
On Saturday 08 August 2015 17:05:26 B.R. wrote: > Hello, > > I cannot manage to load a certificate protected wit ha password on nginx > 1.8.0: > [emerg] 2331#0: SSL_CTX_use_PrivateKey_file("/etc/ssl/private/domain.key") > failed (SSL: error:0906406D:PEM routines:PEM_d

ssl_password_file on nginx 1.8.0

2015-08-08 Thread B.R.
Hello, I cannot manage to load a certificate protected wit ha password on nginx 1.8.0: [emerg] 2331#0: SSL_CTX_use_PrivateKey_file("/etc/ssl/private/domain.key") failed (SSL: error:0906406D:PEM routines:PEM_def_callback:problems getting password error:0906A068:PEM routines:PEM_do_

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 the

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

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: 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: 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-06 Thread Umarzuki Mochlis
2015-07-07 14:25 GMT+08:00 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-2ho

leaking memory nginx 1.8.0

2015-07-06 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: [nginx-announce] nginx-1.8.0

2015-04-21 Thread Kevin Worthington
Hello Nginx users, Now available: Nginx 1.8.0 for Windows http://goo.gl/A3tH0N (32-bit and 64-bit versions) These versions are to support legacy users who are already using Cygwin based builds of Nginx. Officially supported native Windows binaries are at nginx.org. Announcements are also

Building nginx 1.8.0, linking to local-install of Openssl, 'nginx -V' still reports "built with" *system* openssl. why?

2015-04-21 Thread grantksupport
I'm building nginx 1.8.0 on linux/64. I have openssl 1.0.2a built locally, and installed into /usr/local/ssl which openssl /usr/local/ssl/bin/openssl I've configured nginx build with ./configure \ ... --with-cc-opt='... -I/usr/lo

nginx-1.8.0

2015-04-21 Thread Maxim Dounin
Changes with nginx 1.8.0 21 Apr 2015 *) 1.8.x stable branch. -- Maxim Dounin http://nginx.org/ ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx