Re: 100% CPU use in ngx_http_finalize_connection

2017-03-24 Thread Richard Stanway
Thanks Maxim, everything is looking great after the patch. On Fri, Mar 24, 2017 at 4:26 PM, Maxim Dounin wrote: > Hello! > > On Fri, Mar 24, 2017 at 02:11:12PM +0100, Richard Stanway wrote: > >> Hi Maxim, >> Thanks for the quick patch! I've applied it to our server and will >> monitor the results

Re: 100% CPU use in ngx_http_finalize_connection

2017-03-24 Thread Maxim Dounin
Hello! On Fri, Mar 24, 2017 at 02:11:12PM +0100, Richard Stanway wrote: > Hi Maxim, > Thanks for the quick patch! I've applied it to our server and will > monitor the results. Usually the problem starts to occur within 1-2 > hours of a restart, so I'll post again later today with an update. A ve

Re: 100% CPU use in ngx_http_finalize_connection

2017-03-24 Thread Richard Stanway
Hi Maxim, Thanks for the quick patch! I've applied it to our server and will monitor the results. Usually the problem starts to occur within 1-2 hours of a restart, so I'll post again later today with an update. On Fri, Mar 24, 2017 at 2:03 PM, Maxim Dounin wrote: > Hello! > > On Fri, Mar 24, 201

Re: 100% CPU use in ngx_http_finalize_connection

2017-03-24 Thread Maxim Dounin
Hello! On Fri, Mar 24, 2017 at 01:31:35PM +0100, Richard Stanway wrote: > Hello, > I recently moved our site to a new server running Linux 4.9, Debian > 8.7 64 bit with nginx 1.11.11 from the nginx repository. Our config is > straightforward - epoll, a few proxy backends and a few fastcgi > backe

Re: 100% CPU use in ngx_http_finalize_connection

2017-03-24 Thread Richard Stanway
I caught another loop, this time using nginx-debug with source. It seems it is stuck in a loop trying to ngx_pfree something that is already freed? I don't really understand the source enough to know what's going on, but the parameters to ngx_pfree are the same every time and the code keeps looping

100% CPU use in ngx_http_finalize_connection

2017-03-24 Thread Richard Stanway
Hello, I recently moved our site to a new server running Linux 4.9, Debian 8.7 64 bit with nginx 1.11.11 from the nginx repository. Our config is straightforward - epoll, a few proxy backends and a few fastcgi backends, a handful of vhosts, some with HTTP2, geoip module loaded. No AIO, no threads,