Giter Site home page Giter Site logo

sockperf tcp mode: 100% cpu about sockperf HOT 7 OPEN

O-ring avatar O-ring commented on July 16, 2024
sockperf tcp mode: 100% cpu

from sockperf.

Comments (7)

igor-ivanov avatar igor-ivanov commented on July 16, 2024

Hello @O-ring, thank you for sharing the issue.
Could you provide version number or commit of sockperf you used.
In addition, please send your scenario that produces error from your issue description to simplify reproduction.

from sockperf.

O-ring avatar O-ring commented on July 16, 2024

Hello Igor,

the version installed is the one downloaded on May 20
from the repository (it also happens with earlier versions).

As for the scenario on my end it is a Slackware Linux 14.2
system with kernel 5.15. It is a multihomed system (there
are four network cards).

Unfortunately, I cannot tell you anything about the remote
system that triggers the problem. It is not under my control.

The following processes run on the system:

sockperf sr --daemonize
sockperf sr --tcp --daemonize

the one occupying 100% of the cpu is the process launched
with the parameter "--tcp".

Usually, I wait a day and find the process at 100%. For
now I have workarounded the problem by blocking the ip
that sparks the event with the firewall.

I am available to perform tests.

Marco

from sockperf.

O-ring avatar O-ring commented on July 16, 2024

Hello Igor,

Attached you can find the capture I made with tcpdump:
10.24.15.6 is the linux system where sockperf is running.

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)
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)
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

11111.pcap.gz

from sockperf.

igor-ivanov avatar igor-ivanov commented on July 16, 2024

Thank you, @O-ring. It will be investigated.

from sockperf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.