> In this case could you build a kernel with option MP_LOCKDEBUG and see if
> it enters ddb?
Ok, I've compiled a new kernel with option MP_LOCKDEBUG uncommented on
GENRERIC.MP conf file.
After booting :
kern.version=OpenBSD 6.1 (GENERIC.MP) #1: Thu Jun 1 15:47:28 CEST 2017
[email protected]:/sys/arch/amd64/compile/GENERIC.MP
$ while true ; do ./a.out ; done
a.out: socket
a.out: socket
<- somewhere after this point, the server stop responding
Sending a BREAK via cu(1) does nothing.
>From another server :
...
64 bytes from 10.0.0.2: icmp_seq=52 ttl=255 time=0.505 ms
64 bytes from 10.0.0.2: icmp_seq=53 ttl=255 time=0.565 ms
64 bytes from 10.0.0.2: icmp_seq=54 ttl=255 time=0.497 ms
64 bytes from 10.0.0.2: icmp_seq=55 ttl=255 time=104.545 ms <- this at last
print 'a.out: socket'
64 bytes from 10.0.0.2: icmp_seq=56 ttl=255 time=0.560 ms
64 bytes from 10.0.0.2: icmp_seq=57 ttl=255 time=0.596 ms
64 bytes from 10.0.0.2: icmp_seq=58 ttl=255 time=0.551 ms
64 bytes from 10.0.0.2: icmp_seq=59 ttl=255 time=0.568 ms
64 bytes from 10.0.0.2: icmp_seq=60 ttl=255 time=0.510 ms
64 bytes from 10.0.0.2: icmp_seq=61 ttl=255 time=0.614 ms
64 bytes from 10.0.0.2: icmp_seq=62 ttl=255 time=0.511 ms
64 bytes from 10.0.0.2: icmp_seq=63 ttl=255 time=0.564 ms
^C
--- 10.0.0.2 ping statistics ---
468 packets transmitted, 64 packets received, 86.3% packet loss
round-trip min/avg/max/std-dev = 0.485/2.188/104.545/12.896 ms