Re: SV: SV: Sudden peak of orphaned sockets -> 100% cpu

2017-01-12 Thread Willy Tarreau
On Thu, Jan 12, 2017 at 05:42:35PM +, Carl Pettersson (BN) wrote: > The interesting thing here is that we could look at the external volume of > data (it passes through Akamai, without any caching, which lets us see how > many connections etc they handle before passing it on to us), and it did

SV: SV: Sudden peak of orphaned sockets -> 100% cpu

2017-01-12 Thread Carl Pettersson (BN)
> > On Thu, Jan 12, 2017 at 05:15:41PM +, Carl Pettersson (BN) wrote: > > > > So, some questions: > > > > 1. Does it seem reasonable that the orphaned socket could cause this > > > >behaviour, or are they just a symptom? > > > > > > No, orphans have no such effect and your number was so l

Re: SV: Sudden peak of orphaned sockets -> 100% cpu

2017-01-12 Thread Willy Tarreau
On Thu, Jan 12, 2017 at 05:15:41PM +, Carl Pettersson (BN) wrote: > > > So, some questions: > > > 1. Does it seem reasonable that the orphaned socket could cause this > > >behaviour, or are they just a symptom? > > > > No, orphans have no such effect and your number was so low that it cann

SV: Sudden peak of orphaned sockets -> 100% cpu

2017-01-12 Thread Carl Pettersson (BN)
Hi Willy, Thanks for having a look at this! > On Thu, Jan 12, 2017 at 11:34:44AM +, Carl Pettersson (BN) wrote: > > Hi, > > We have a haproxy setup consisting of a pair of nodes with keepalived, > > which then utilize the proxy protocol to pass requests (roundrobin) to > > a second pair of h

Re: Sudden peak of orphaned sockets -> 100% cpu

2017-01-12 Thread Willy Tarreau
Hi Carl, On Thu, Jan 12, 2017 at 11:34:44AM +, Carl Pettersson (BN) wrote: > Hi, > We have a haproxy setup consisting of a pair of nodes with keepalived, which > then utilize the proxy protocol to pass requests (roundrobin) to a second > pair of haproxy nodes. The first pair mainly terminates

Sudden peak of orphaned sockets -> 100% cpu

2017-01-12 Thread Carl Pettersson (BN)
Hi, We have a haproxy setup consisting of a pair of nodes with keepalived, which then utilize the proxy protocol to pass requests (roundrobin) to a second pair of haproxy nodes. The first pair mainly terminates SSL and serves as a highly available entrypoint, while second pair does all the logic