Re: Preload Files Module for Nginx

2015-09-28 Thread Frederik Nosi
Hi, On 09/27/2015 05:14 PM, Christ-Jan Wijtmans wrote: Doesnt linux cache files in RAM already? Not before you've readed them at least once. Live long and prosper, Christ-Jan Wijtmans https://github.com/cjwijtmans http://facebook.com/cj.wijtmans http://twitter.com/cjwijtmans On Thu, Sep 2

Re: Keepalive timeout

2015-09-28 Thread Frederik Nosi
Hi, On 09/26/2015 07:38 PM, Frank Liu wrote: Hi, If I have set the client facing keep alive timeout to 30s, but nginx takes longer to respond a given request due to slow backend in a reverse proxy setup, will nginx drop the client keep alive connection since its been idle for too long, or wil

Re: Issue with nginx crashing 'segfault'

2015-09-21 Thread Frederik Nosi
Hi, On 09/21/2015 08:32 PM, Ricardo Aravena wrote: Hi Folks, I was wondering of somebody could shed some light on this issue that we are experiencing. nginx[22490]: segfault at 10 ip 00376e616a11 sp 7ffed9493690 error 4 in libapr-1.so.0.3.9[376e60+2b000] nginx[22584]: segfault a

Re: time to read packets for HTTP query

2015-09-11 Thread Frederik Nosi
Hi Maxim, On 09/11/2015 02:53 PM, Maxim Dounin wrote: Hello! On Fri, Sep 11, 2015 at 02:15:25PM +0200, Lukas Tribus wrote: Does not seem to do what the GP asked, from the docs: $request_time request processing time in seconds with a milliseconds resolution (1.3.9, 1.2.6); time elapsed since

Re: time to read packets for HTTP query

2015-09-11 Thread Frederik Nosi
Hi, On 09/11/2015 11:20 AM, Lukas Tribus wrote: Hi, I'm running a SAAS service running via NGINX and have been running tcpdump to look at the incoming packets for HTTP queries. Many of the HTTP queries are bigger than the MTU of 1,500 bytes and therefore arrive as 2, 3, or 4 packets. I notice

Re: Setup for consuming external web APIs from internal app

2015-08-19 Thread Frederik Nosi
Hi, On 08/19/2015 11:57 AM, Chino Aureus wrote: Hi NGinx users, Not sure if this is off topic. Need help on what would be the recommended setup/architecture for consuming external web apis (e.g. twitter, Facebook APIs) securely from an application deployed in an internal network. And how N

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: gzip_types not working as expected

2015-03-11 Thread Frederik Nosi
Hi, On 03/11/2015 01:09 PM, Grant wrote: gzip is not working on my piwik.js file according to Google at developers.google.com/speed/pagespeed/insights. It's working fine on my CSS file. How can I troubleshoot this? gzip on; gzip_disable msie6; gzip_types text/javascript application/x-javascrip

Re: catching 408 response from upstream server

2015-02-10 Thread Frederik Nosi
Hi, On 02/10/2015 08:35 AM, shmulik wrote: Hi, I'm using nginx as reversed proxy, using the proxy module. Whenever i get a response code >= 400 from the upstream server, i'm redirecting the client to a different url. This is the configuration i use (simplified): location ~ "^/proxy/hos