Skip to content
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

teamd high cpu usage #52

Open
icebluey opened this issue May 15, 2020 · 9 comments
Open

teamd high cpu usage #52

icebluey opened this issue May 15, 2020 · 9 comments

Comments

@icebluey
Copy link

I compiled teamd from source, and install it successfully.
It works, but tasks too high cpu usage (60%~90%).
libteam version: libteam-git.95037b1
OS: RHEL 7.8

@hachi
Copy link

hachi commented May 27, 2020

For comparison I am having a high cpu usage problem on debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=956803

No other reports have been seen on my end.

I have not tried compiling it from source yet.

@icebluey
Copy link
Author

You should try to compile it from src code.

@pavel-shirshov
Copy link

@icebluey Try to run strace -p <pid_of_teamd> to check that teamd is doing?

@ltWolfik
Copy link

ltWolfik commented Jul 20, 2020

@hachi, I've just got a high CPU usage problem, seems the same.
strace -p PID:
tmp.log
teamd was compiled from sources.
The configuration looks like this:

{
    "device": "team1",
    "runner": {
        "name": "loadbalance",
        "tx_hash": [
            "eth"
        ]
    },
    "link_watch": {
        "name": "ethtool"
    },
    "ports": {
        "eth3": {},
        "eth5": {},
        "eth7": {}
    }
}

@ltWolfik
Copy link

Seems, reverting "teamd: Disregard current state when considering port enablement" (deadb5b) fixes the problem with high CPU usage.
I don't know why - this is experimental result.

@pavel-shirshov
Copy link

Hi @ltWolfik
Can you please send your bugreport to libteam@lists.fedorahosted.org
https://lists.fedorahosted.org/archives/list/libteam@lists.fedorahosted.org/
github issues are not checked by Jiri

@ltWolfik
Copy link

@pavel-shirshov, I've sent.

@systemdarena
Copy link

I am also having this issue. I reported it on fedora bugzilla here https://bugzilla.redhat.com/show_bug.cgi?id=1873128

@Evernow
Copy link

Evernow commented Mar 24, 2021

This issue has been open for almost a year and it can still be reproduced on 1.31.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants