Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
225 views
in Technique[技术] by (71.8m points)

linux - unexplained packet dropped in UDP packets after several hours

My system includes several processes which communicates each other using UDP Connections threw localhost. The traffic between the processes is ~60KB and the total rate of all applications is around 10Mbps.

The system works fine w/o any lost, but after around 5Hours i receive error messages(NO_BUF) in the sentto linux API. i have tried to perform several retries to send the packet with a delay between each transmit, as a result, some retries are OK, but some retries fail to send the packet.

i saw also error in the "netstat -suna" in the part of send error buffer. i saw no error in the "ifconfig lo" utility or in "cat /proc/net/udp".

The probelm occurs only after several hours, if i restart my processes the problem still ocuurs. Only complete shutodwn of the system solve the problem (temporary - till 5 hours).

My system is Gentoo, 4.14.

i'll appreciate any help, any direction..... Thanks in Advance.

question from:https://stackoverflow.com/questions/66051230/unexplained-packet-dropped-in-udp-packets-after-several-hours

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...