-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
crash on centos 7 #1089
Comments
In fact, I've noticed the same errors on a few Debian (7 or 8) servers. All theses servers have a few input with errors due to configurations. (Due to puppet with not enough custom configs) I've fixed everything to see if this is fixed or if the crash are happenning again. |
This isn't a telegraf problem unless the telegraf process is the one causing large numbers of open files. Telegraf needs to be able to open procfs files to collect data but it should always close them when it's done. |
What kind of information do you need ? For the moment, all telegraf instance are stable on theses servers. No more problem since I've fixed all input. Before, I was getting these errors for example:
It was due to configuration mistake (Puppet) that I've fixed this morning. |
number of files the telegraf process has open, there's a number of ways to get this, such as
if it's not very high, then you have a different process on your system(s) that is opening too many files than you have available. |
Ok, i'll check that next time I have the issue. Thanks. |
Hi, I have the problem at the moment on a server, here is the lsof:
This is a server where I have a few input with errors:
After errors with phpfpm input, I'm starting to have 'too many open files'. I hope this will help. |
that's more than I would expect, can you post your config? It might be a bug in a specific plugin |
actually I can see exactly where the bug is, the phpfpm plugin is leaking tcp connections, I'll have a fix up soon, thanks for the debug info |
Very good news ! All servers with this bug had a buggy phpfpm input. Your welcome. |
Hi,
I have this crash on a centos 7 with telegraf:
Is it only related to 'too many open files ?
The text was updated successfully, but these errors were encountered: