SO_REUSEPORT: strange kernel balancer behaviour

2013-07-12 Thread trafdev
Hello. Could someone help with following problem of SO_REUSEPORT. Created server: int sockd_acceptor_; ... if ((sockd_acceptor_ = socket(PF_INET, SOCK_STREAM, 0)) == -1) { LOG4CXX_ERROR_ERRNO(kLogger, "socket"); return false; } struct sockaddr_in sa_in; memset(&sa_i

Re: kern/179901: commit references a PR

2013-07-12 Thread dfilter service
The following reply was made to PR kern/179901; it has been noted by GNATS. From: dfil...@freebsd.org (dfilter service) To: bug-follo...@freebsd.org Cc: Subject: Re: kern/179901: commit references a PR Date: Fri, 12 Jul 2013 19:08:41 + (UTC) Author: trociny Date: Fri Jul 12 19:08:33 2013

Re: kern/179901: commit references a PR

2013-07-12 Thread dfilter service
The following reply was made to PR kern/179901; it has been noted by GNATS. From: dfil...@freebsd.org (dfilter service) To: bug-follo...@freebsd.org Cc: Subject: Re: kern/179901: commit references a PR Date: Fri, 12 Jul 2013 18:54:56 + (UTC) Author: trociny Date: Fri Jul 12 18:54:47 2013

Re: Listen queue overflow: N already in queue awaiting acceptance

2013-07-12 Thread Luigi Rizzo
On Fri, Jul 12, 2013 at 12:25:27PM +0400, Gleb Smirnoff wrote: > On Thu, Jul 11, 2013 at 05:43:09PM +0200, Andre Oppermann wrote: ... > A> I'm currently looking into a) applying a rate limiter to the message (as > suggested > A> by Luigi); and b) add a per-socket accept queue overflow statistic th

Re: Listen queue overflow: N already in queue awaiting acceptance

2013-07-12 Thread Andre Oppermann
On 12.07.2013 10:25, Gleb Smirnoff wrote: On Thu, Jul 11, 2013 at 05:43:09PM +0200, Andre Oppermann wrote: A> >> Andriy for example would never have found out about this problem other A> >> than receiving vague user complaints about aborted connection attempts. A> >> Maybe after spending many hou

Re: Listen queue overflow: N already in queue awaiting acceptance

2013-07-12 Thread Gleb Smirnoff
On Thu, Jul 11, 2013 at 05:43:09PM +0200, Andre Oppermann wrote: A> >> Andriy for example would never have found out about this problem other A> >> than receiving vague user complaints about aborted connection attempts. A> >> Maybe after spending many hours searching for the cause he may have A> >>