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

lsof performance issues #796

Closed
hworld opened this issue Mar 5, 2016 · 4 comments
Closed

lsof performance issues #796

hworld opened this issue Mar 5, 2016 · 4 comments

Comments

@hworld
Copy link

hworld commented Mar 5, 2016

I don't have much info for this yet, but I've been noticing high CPU usage spikes with lsof in the process list periodically. I've noticed it most on a nodejs chat server we have running. Periodically the server's load spikes and the chat service becomes unresponsive and when I look in the process list is seems that lsof has high CPU usage.

I'm not sure if the lsof calls are the culprit, or a byproduct of something else. Does is make sense that this could be an issue? I'm not really sure how to debug this to see if lsof is really causing it or not? Is there a way to just turn that check off to see if stability returns? It seems to happen during high CPU usage times (like weekends), so it doesn't happen too often.

@sparrc
Copy link
Contributor

sparrc commented Mar 6, 2016

this is a won't fix for telegraf, we won't need lsof as soon as gopsutil doesn't need lsof (see shirou/gopsutil#164)

@sparrc sparrc closed this as completed Mar 6, 2016
@hworld
Copy link
Author

hworld commented Mar 7, 2016

Good to know. Thanks!

@sparrc
Copy link
Contributor

sparrc commented Mar 7, 2016

no prob, hopefully we can get that in soon, if it helps, lsof currently gets called by the netstat plugin, disabling that plugin would disable lsof calls

@hworld
Copy link
Author

hworld commented Mar 7, 2016

Was wondering which plugin spawned it. Will probably disable that until the changes get merged in.

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

2 participants