"ping: sendmsg: No buffer space available" in adb shell

时间:2019-03-06 11:41:40

标签: android

I have made an app for android, app run on my cell phone which connected internet by wifi, my app send udp packets to server as client, but I noticed my app cannot send any udp packet suddenly after run a while. ping gateway in adb shell of this cell phone can get below result:

ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
64 bytes from 192.168.2.1: icmp_seq=455 ttl=64 time=82492 ms
64 bytes from 192.168.2.1: icmp_seq=456 ttl=64 time=81489 ms

the netstat show send buffer had been accumulated so much data. I'm confused what's the reason ping show No buffer space available, how can I distinguish it's fault of my app or other app running in this phone. udp packets are always sent successfully in code level.

netstat show: enter image description here

0 个答案:

没有答案