hi,
working on Solaris 10. need your help on ping behaviour that I encountered.
I ping from source to destination
-bash-3.2# ping -s -t 128 10.10.10.200
PING 10.10.10.200: 56 data bytes <===== stops here for 2 minutues before getting reply back
64 bytes from 10.10.10.200: icmp_seq=0. time=1.05 ms
64 bytes from 10.10.10.200: icmp_seq=1. time=7.91e+04 ms
.....
64 bytes from 10.10.10.200: icmp_seq=80. time=33.7 ms
64 bytes from 10.10.10.200: icmp_seq=81. time=0.470 ms
64 bytes from 10.10.10.200: icmp_seq=82. time=0.526 ms
64 bytes from 10.10.10.200: icmp_seq=219. time=3.71 ms
64 bytes from 10.10.10.200: icmp_seq=220. time=3.10 ms
64 bytes from 10.10.10.200: icmp_seq=221. time=11.9 ms
64 bytes from 10.10.10.200: icmp_seq=222. time=6.37 ms
64 bytes from 10.10.10.200: icmp_seq=223. time=4.57 ms
64 bytes from 10.10.10.200: icmp_seq=224. time=2.61 ms
64 bytes from 10.10.10.200: icmp_seq=225. time=4.70 ms
64 bytes from 10.10.10.200: icmp_seq=226. time=5.50 ms
64 bytes from 10.10.10.200: icmp_seq=227. time=6.08 ms
64 bytes from 10.10.10.200: icmp_seq=228. time=2.67 ms
....
What could be the cause? I notice also sometimes packet comes back more than 1ms..some reaching 30+ms..
If I use truss to see further:
16825: xstat(2, "/etc/resolv.conf", 0x080472F8) = 0
16825: sysconfig(_CONFIG_OPEN_FILES) = 256
16825: so_socket(PF_INET, SOCK_DGRAM, IPPROTO_IP, "", SOV_DEFAULT) = 5
16825: connect(5, 0x0809BF20, 16, SOV_DEFAULT) = 0
16825: send(5, " d v01\0\001\0\0\0\0\0\0".., 44, 0) = 44
16825: Received signal #14, SIGALRM, in pollsys() [caught]
16825: pollsys(0x08046CE8, 1, 0x08046CA0, 0x00000000) Err#4 EINTR
16825: lwp_sigmask(SIG_SETMASK, 0x00002000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
16825: sendto(3, "\b\0 gE6 AB9\002 L90 D T".., 64, 32768, 0x0806AA90, 16) = 64
16825: alarm(1) = 0
16825: setcontext(0x08046470)
16825: Received signal #14, SIGALRM, in pollsys() [caught]
16825: pollsys(0x08046CE8, 1, 0x08046CA0, 0x00000000) Err#4 EINTR
16825: lwp_sigmask(SIG_SETMASK, 0x00002000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
16825: sendto(3, "\b\0D5E4 AB9\003 M90 D T".., 64, 32768, 0x0806AA90, 16) = 64
16825: alarm(1) = 0
16825: setcontext(0x08046470)
16825: Received signal #14, SIGALRM, in pollsys() [caught]
16825: pollsys(0x08046CE8, 1, 0x08046CA0, 0x00000000) Err#4 EINTR
16825: lwp_sigmask(SIG_SETMASK, 0x00002000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
16825: sendto(3, "\b\0\nE6 AB9\004 N90 D T".., 64, 32768, 0x0806AA90, 16) = 64
16825: alarm(1) = 0
16825: setcontext(0x08046470)
16825: Received signal #14, SIGALRM, in pollsys() [caught]
16825: pollsys(0x08046CE8, 1, 0x08046CA0, 0x00000000) Err#4 EINTR
16825: lwp_sigmask(SIG_SETMASK, 0x00002000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
16825: sendto(3, "\b\0 ME6 AB9\005 O90 D T".., 64, 32768, 0x0806AA90, 16) = 64
16825: alarm(1) = 0
16825: setcontext(0x08046470)
16825: Received signal #14, SIGALRM, in pollsys() [caught]
16825: pollsys(0x08046CE8, 1, 0x08046CA0, 0x00000000) Err#4 EINTR
16825: lwp_sigmask(SIG_SETMASK, 0x00002000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
16825: sendto(3, "\b\094E6 AB9\006 P90 D T".., 64, 32768, 0x0806AA90, 16) = 64
16825: alarm(1) = 0
found that there are many Err#4 EINTR errors.
Can anyone shed some light? thanks