hi,

Debugging a ptp4l issue, observed its getting blocked while writing into 
/var/log/messages file. Blocking of ptp4l can vary from few minutes to forever.
Blocking could be related to system buffer or sockets issue or remote peer is 
busy. 

But ptp4l blocked for writing messages and not updating system time is the 
issue.

Using ptp4l 2.0, is this kind of issue is addressed or fixed in later release?

Below is the stack and strace.

root@k8s-worker-0:/var/log# cat /proc/699/stack
[<ffffffff81700f98>] unix_wait_for_peer+0xe8/0x100
[<ffffffff81705252>] unix_dgram_sendmsg+0x6a2/0x750
[<ffffffff8161e3d6>] sock_sendmsg+0xb6/0xf0
[<ffffffff8161eb01>] SYSC_sendto+0x121/0x1c0
[<ffffffff8162061e>] SyS_sendto+0xe/0x10
[<ffffffff81781434>] tracesys+0xa6/0xcc
[<ffffffffffffffff>] 0xffffffffffffffff

/var/log# strace -s 99 -ffp 699
strace: Process 699 attached
sendto(4, "<14>Aug  8 19:33:50 ptp4l: [36867.984] rms    3 max    6 freq  -1408 
+/-   5 delay   436 +/- "..., 102, MSG_NOSIGNAL, NULL, 0
^Cstrace: Process 699 detached

Please suggest.

regards,
Ramesh


_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to