-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sockperf tcp mode: 100% cpu #180
Comments
Hello @O-ring, thank you for sharing the issue. |
Hello Igor, the version installed is the one downloaded on May 20 As for the scenario on my end it is a Slackware Linux 14.2 Unfortunately, I cannot tell you anything about the remote The following processes run on the system: sockperf sr --daemonize the one occupying 100% of the cpu is the process launched Usually, I wait a day and find the process at 100%. For I am available to perform tests. Marco |
Hello Igor, Attached you can find the capture I made with tcpdump: This is what is printed on the console: Sat May 21 22:52:23 UTC 2022: ADDR = 0.0.0.0:11111 # TCP sockperf: ERROR: Message received was larger than expected, message ignored. (errno=0 Success) Marco |
Thank you, @O-ring. It will be investigated. |
bump... any results? |
I'm able to reproduce the problem with git-current. Marco |
I just made this to run in kubernetes or docker. Try it out? |
Hello everyone,
I've seen that sockperf started with the following command:
sockperf sr --tcp --daemonize
consumes 100% of the cpu, after logging this message:
ADDR = 0.0.0.0:11111 # TCP sockperf: ERROR: Message received was larger than expected, message ignored. (errno=0 Success)
Is that expected behavior?
This is the output from top:
top - 15:33:28 up 176 days, 3:41, 1 user, load average: 1.12, 1.10, 1.09
Tasks: 147 total, 3 running, 144 sleeping, 0 stopped, 0 zombie
%Cpu(s): 25.6 us, 1.3 sy, 0.0 ni, 73.0 id, 0.0 wa, 0.0 hi, 0.2 si, 0.0 st
MiB Mem : 3740.4 total, 2005.3 free, 343.4 used, 1391.7 buff/cache
MiB Swap: 6366.3 total, 6365.8 free, 0.5 used. 3335.0 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
30141 root 20 0 31940 11024 2844 R 100.0 0.3 826:40.60 sockperf
After that happens, I have no alternative but to kill the process and restart it.
Any feedback is welcome.
Marco
The text was updated successfully, but these errors were encountered: