hi 

We are going to use "vppctl ping " to detect whether the device is reacehable, 
but we have some problem below :




we have above 50 service to do "vppctl ping 100.100.0.x repeat 1 table-id x " 
detect different devices,  each service exec this command per 5 second,  after 
3~4 days,  all vppctl ping service hang on,  we use gdb to debug , vppctl are 
hang on below point at  src\vppinfra\socket.c: clib_socket_init




==================================




416  if (addr.sa.sa_family == PF_INET)
(gdb) 
419  if (s->flags & CLIB_SOCKET_F_IS_SERVER)
(gdb) 
497      if ((s->flags & CLIB_SOCKET_F_NON_BLOCKING_CONNECT)
(gdb) 
505      if (connect (s->fd, &addr.sa, addr_len) < 0
 

==================================

it may cause some error on vpp socket  , when vppctl connect to vpp many times. 
 




our vpp version is below, 

=====================================

Version:                  v19.08.1-229~g1517d5e72-dirty
Compiled by:              root
Compile host:             i-qvoo7mp3
Compile date:             Fri Nov  1 20:53:55 CST 2019
Compile location:         /root/ws/vpp
Compiler:                 GCC 7.5.0
Current PID:              4652

=====================================


Linux version is below:


Linux version 4.15.0-112-generic (buildd@lcy01-amd64-027) (gcc version 7.5.0 
(Ubuntu 7.5.0-3ubuntu1~18.04)) #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020




On the other hander,  Is any other better method to do network health detection 
, like one-arm-echo bfd? because we may detect the device that not support bfd.





 





 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19154): https://lists.fd.io/g/vpp-dev/message/19154
Mute This Topic: https://lists.fd.io/mt/81944202/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to