NGINX Worker process stuck, CPU usage at 100%

2015-03-06 Thread Kazlman, David
I've migrated my server over from lighttpd to NGINX(memory leaks were causing cache issues which invoked OOM Killer in Linux). It seems that after a while of running(about 30 minutes) with NGINX and processing requests just fine the NGINX worker process gets stuck in a loop maxing out the CPU a

Re: Weird issues with fastcgi_cache and images

2015-03-06 Thread itpp2012
Some curl examples; https://wordpress.org/support/topic/if-modified-since-request-header-can-cause-a-cache-control-negative-max-age It all depends on what you get against what you expected. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,257078,257109#msg-257109 ___

Re: server bloc conf ?

2015-03-06 Thread Theodoro
Jack, Any file that you put in "conf.d" or "sites-enabled" ends with .conf will be loaded when nginx start. Daniel Theodoro Cel: 11 99399-3364 http://www.linkedin.com/in/danieltheodoro • RHCA - Red Hat Certified Architect • RHCDS - Red Hat Certified Datacenter Specialist • RHCE - Red Hat Certifi

Re: curl "Connection refused" caused by SSL config

2015-03-06 Thread Fry-kun
Thanks Maxim, that explains it Would be nice if documentation mentioned this fact, or nginx would spit out some errors about the conflicting config ;) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,257064,257107#msg-257107 ___ nginx mailing l

Re: Weird issues with fastcgi_cache and images

2015-03-06 Thread Bertrand Caplet
> Have you tried this with curl -i to see if it's not a browser cache issue? > > Sounds like a cached file with an expire date which is still valid against > your expire date from cache. I tried yesterday but I don't really see the point... What should I look for ? I set a header to see if cache

Re: server bloc conf ?

2015-03-06 Thread JACK LINKERS
Hello Daniel, I'm not sure to understand, sry, how do I setup a domain ? What would be the syntax for the file name ? domain.tld.conf ? Regards 2015-03-06 19:09 GMT+01:00 Theodoro : > Jack, > > There's no problem, or you can just add this line in your nginx.conf. > > include sites-enabled/*.c

Re: server bloc conf ?

2015-03-06 Thread Theodoro
Jack, There's no problem, or you can just add this line in your nginx.conf. include sites-enabled/*.conf; Daniel Theodoro Cel: 11 99399-3364 http://www.linkedin.com/in/danieltheodoro • RHCA - Red Hat Certified Architect • RHCDS - Red Hat Certified Datacenter Specialist • RHCE - Red Hat Certif

server bloc conf ?

2015-03-06 Thread JACK LINKERS
Hello, I used to use sites-available & sites-enabled in a previous version of NginX. I compiled it from source with ngx_pagespeed module on another VPS. I don't see anymore the folders available / enabled. On the other hand I noticed in /etc/nginx/nginx.conf this line : include conf.d/*.conf; I'm

Re: curl "Connection refused" caused by SSL config

2015-03-06 Thread Maxim Dounin
Hello! On Thu, Mar 05, 2015 at 09:58:37PM -0500, Fry-kun wrote: > So it looks like the ssl config is valid per-port only. If I set up a server > on a different port with different ssl config, it works. > Is this a bug or is it by design? This is by design. Before some protocol-specific handshak

Re: curl "Connection refused" caused by SSL config

2015-03-06 Thread clementsm
"Connection refused", generally means that your server (sometimes this can be a firewall too - although firewalls tend to more often just silently drop packets) is sending a RST packet to an attempt to connect. Check with netstat and see if Nginx is bound to your public IP on :443 As for your que