❦ 26 février 2015 12:36 +0200, Kiousis Alexandros <al...@noc.grnet.gr> :

> This is what i get now from a stuck daemon:
>
> # ps aux | grep lldp | grep -v grep
> root     17752  0.0  0.0  46468  1432 ?        SNs  Feb25   0:11
> /usr/sbin/lldpd -I eth*,tap*
> _lldpd   17754  0.0  0.0  46468  1080 ?        S    Feb25   0:11
> /usr/sbin/lldpd -I eth*,tap*
> # strace -p 17752
> Process 17752 attached - interrupt to quit
> read(5, ^C <unfinished ...>
> Process 17752 detached
> # strace -p 17754
> Process 17754 attached - interrupt to quit
> write(32,
> "\1\200\302\0\0\16\222\207K\365\214\37\210\314\2\7\4<\331+\1\31<\4\7\3\222\207K\365\214\37"...,
> 195^C
> Process 17754 detached

In each case, also give the output of "lsof -n -p 17754" and "lsof -n -p
17752", so we know what 5 and 32 are. 5 is likely to be the read pipe of
the monitor process, so, it's normal to be stuck here. 32 is likely to
be the tap device and it's not normal to be stuck here.

I'll investigate a bit to check if the interface sockets are set in
blocking or non-blocking mode in this version.
-- 
Test input for validity and plausibility.
            - The Elements of Programming Style (Kernighan & Plauger)

Attachment: signature.asc
Description: PGP signature

Reply via email to