bin/167292: sockstat(1) missing output

Alexander st41ker at yandex.ru
Wed Apr 25 14:20:07 UTC 2012


>Number:         167292
>Category:       bin
>Synopsis:       sockstat(1) missing output
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 25 14:20:06 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Alexander
>Release:        8.3-RELEASE
>Organization:
>Environment:
FreeBSD ferry-n1.megacom.ua 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr  9 21:23:18 UTC 2012     root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
After the binary upgrade from 8.2 to 8.3 I've noticed that sockstat started getting ? ? ? in its output.

I have no idea which exactly sockets are messing this out, it could be some kernel or sockstat(1) problem.

Example:


root     rpcbind    1122  12 tcp4   127.0.0.1:111         *:*
root     rpcbind    1122  13 tcp4   192.168.255.253:111   *:*
bind     named      1115  3  dgram  -> /var/run/logpriv
bind     named      1115  20 tcp4   192.168.255.253:53    *:*
bind     named      1115  21 tcp4   127.0.0.1:53          *:*
bind     named      1115  22 tcp4   193.28.177.4:53       *:*
bind     named      1115  23 tcp4   193.28.177.8:53       *:*
bind     named      1115  24 tcp4   193.28.177.2:53       *:*
bind     named      1115  25 tcp4   127.0.0.1:953         *:*
bind     named      1115  512 udp4  192.168.255.253:53    *:*
bind     named      1115  513 udp4  127.0.0.1:53          *:*
bind     named      1115  514 udp4  193.28.177.4:53       *:*
bind     named      1115  515 udp4  193.28.177.8:53       *:*
bind     named      1115  516 udp4  193.28.177.2:53       *:*
root     syslogd    1028  4  dgram  /var/run/log
root     syslogd    1028  5  dgram  /var/run/logpriv
root     syslogd    1028  6  dgram  /var/run/log
root     syslogd    1028  7  dgram  /var/named/var/run/log
root     syslogd    1028  8  udp6   *:514                 *:*
root     syslogd    1028  9  udp4   *:514                 *:*
root     devd       783   4  stream /var/run/devd.pipe
?        ?          ?     ?  tcp4   193.28.177.4:53452    193.28.177.2:3306
?        ?          ?     ?  tcp4   193.28.177.4:53959    193.28.177.2:3306
?        ?          ?     ?  tcp4   127.0.0.1:28521       127.0.0.1:10023
?        ?          ?     ?  stream -> ??
?        ?          ?     ?  udp6   *:2049                *:*
?        ?          ?     ?  udp6   *:736                 *:*
?        ?          ?     ?  udp4   *:2049                *:*
?        ?          ?     ?  tcp4   *:639                 *:*
?        ?          ?     ?  stream -> ??
?        ?          ?     ?  tcp4   192.168.255.253:823   192.168.255.249:2049
?        ?          ?     ?  udp4   *:825                 *:*
?        ?          ?     ?  udp6   *:881                 *:*
?        ?          ?     ?  tcp6   *:925                 *:*
?        ?          ?     ?  stream -> ??
?        ?          ?     ?  tcp4   192.168.255.253:1006  192.168.255.249:2049
?        ?          ?     ?  udp4   *:*                   *:*
?        ?          ?     ?  stream -> ??

>How-To-Repeat:
Just run the sockstat program.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list