Skip to content

sockperf tcp mode: 100% cpu #180

@O-ring

Description

@O-ring

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions