hiren panchasara
2016-Dec-15 17:51 UTC
sonewconn: pcb [...]: Listen queue overflow to human-readable form
On 12/15/16 at 05:23P, Eugene M. Zheganin wrote:> Hi. > > Sometimes on one of my servers I got dmesg full of > > sonewconn: pcb 0xfffff80373aec000: Listen queue overflow: 49 already in > queue awaiting acceptance (6 occurrences)[skip]> > but at the time of investigation the socket is already closed and lsof > cannot show me the owner. I wonder if the kernel can itself decode this > output and write it in the human-readable form ?I have this not-quite-correct patch that may help you. (If you follow the discussion there, you'd know why its not complete.) https://lists.freebsd.org/pipermail/freebsd-net/2014-March/038074.html Cheers, Hiren -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 603 bytes Desc: not available URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20161215/e5685a36/attachment.sig>
Andrey V. Elsukov
2016-Dec-16 08:20 UTC
sonewconn: pcb [...]: Listen queue overflow to human-readable form
On 15.12.2016 20:51, hiren panchasara wrote:> On 12/15/16 at 05:23P, Eugene M. Zheganin wrote: >> Hi. >> >> Sometimes on one of my servers I got dmesg full of >> >> sonewconn: pcb 0xfffff80373aec000: Listen queue overflow: 49 already in >> queue awaiting acceptance (6 occurrences) > [skip] >> >> but at the time of investigation the socket is already closed and lsof >> cannot show me the owner. I wonder if the kernel can itself decode this >> output and write it in the human-readable form ? > > I have this not-quite-correct patch that may help you. (If you follow the > discussion there, you'd know why its not complete.) > > https://lists.freebsd.org/pipermail/freebsd-net/2014-March/038074.htmlHi Hiren, I think the check for socket's domain should be enough? -- WBR, Andrey V. Elsukov -------------- next part -------------- A non-text attachment was scrubbed... Name: uipc_socket.diff Type: text/x-patch Size: 1083 bytes Desc: not available URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20161216/79b1a482/attachment.bin> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 545 bytes Desc: OpenPGP digital signature URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20161216/79b1a482/attachment.sig>