[Bug 209471] Listen queue overflow due to too many sockets stuck in CLOSED state

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 27 00:19:39 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209471

--- Comment #21 from Robert Blayzor <rblayzor at inoc.net> ---
This finally showed it's head again...


sonewconn: pcb 0xfffff80001b2bc40: Listen queue overflow: 301 already in queue
awaiting acceptance (25 occurrences)
sonewconn: pcb 0xfffff80001b2bc40: Listen queue overflow: 301 already in queue
awaiting acceptance (28 occurrences)
sonewconn: pcb 0xfffff80001b2bc40: Listen queue overflow: 301 already in queue
awaiting acceptance (25 occurrences)
...

netstat -an | grep CLOSED | wc -l
     301

procstat -ta

  726 100087 dovecot          -                  1  120 sleep   kqread
61961 100200 dovecot          -                  3  120 sleep   vmf_de


The process is dovecot... and when I see this happen, the state is stuck in
"vmf_de" which is from the patch in Bug 204426



tcpdrop -l -a | tail
tcpdrop 2607:f058:110:2::1:1 4190 2607:f058:110:2::f:0 49170
tcpdrop 2607:f058:110:2::1:1 4190 2607:f058:110:2::f:1 55998
tcpdrop 2607:f058:110:2::1:1 4190 2607:f058:110:2::f:0 47559
tcpdrop 2607:f058:110:2::1:1 4190 2607:f058:110:2::f:1 36319
tcpdrop 2607:f058:110:2::1:1 4190 2607:f058:110:2::f:0 47496
tcpdrop 2607:f058:110:2::1:1 4190 2607:f058:110:2::f:1 46326
tcpdrop 2607:f058:110:2::1:1 4190 2607:f058:110:2::f:0 36871
tcpdrop 2607:f058:110:2::1:1 4190 2607:f058:110:2::f:1 24142
tcpdrop 2607:f058:110:2::1:1 4190 2607:f058:110:2::f:0 7962
tcpdrop 2607:f058:110:2::1:1 4190 2607:f058:110:2::f:1 13402

[~] sudo tcpdrop 2607:f058:110:2::1:1 4190 2607:f058:110:2::f:0 7962
tcpdrop: 2607:f058:110:2::1:1 4190 2607:f058:110:2::f:0 7962: No such process

[~] sudo tcpdrop 2607:f058:110:2::1:1 4190 2607:f058:110:2::f:1 13402
tcpdrop: 2607:f058:110:2::1:1 4190 2607:f058:110:2::f:1 13402: No such process

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list