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

I! processes: Unknown state [ P ] #6270

Closed
steverweber opened this issue Aug 16, 2019 · 6 comments · Fixed by #6308
Closed

I! processes: Unknown state [ P ] #6270

steverweber opened this issue Aug 16, 2019 · 6 comments · Fixed by #6308
Labels
bug unexpected problem or unintended behavior
Milestone

Comments

@steverweber
Copy link

steverweber commented Aug 16, 2019

telegraf --version
Telegraf 1.11.4 (git: HEAD d9ca76e4)

processes is writing about 100log messages like the following everytime it sends metric.

Aug 15 21:18:04 slurm-pr1 telegraf[39801]: 2019-08-16T01:18:04Z I! processes: Unknown state [ P ] in file /proc/83/stat

log.Printf("I! processes: Unknown state [ %s ] in file %s",

Perhaps add a case to ignore "P'' whatever P is

@danielnelson
Copy link
Contributor

What operating system and version is this with?

@danielnelson danielnelson added bug unexpected problem or unintended behavior need more info labels Aug 16, 2019
@steverweber
Copy link
Author

ubuntu 18.04

@danielnelson danielnelson added this to the 1.11.5 milestone Aug 16, 2019
@danielnelson
Copy link
Contributor

We will add support for P, which man proc describes as:

P Parked (Linux 3.9 to 3.13 only)

This is somewhat interesting, as even the original 18.04 kernel was 4.15. What does uname -a say on your system?

@steverweber
Copy link
Author

also ; it is a server install of ubuntu

Linux slurm-t01 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linu

@danielnelson
Copy link
Contributor

Could you grab the contents on one of the files that Telegraf is complaining about for me?

cat /proc/83/stat

@steverweber
Copy link
Author

here is a few.

root@slurm-pr1:~# cat /proc/88/stat
88 (watchdog/13) P 2 0 0 0 -1 69238848 0 0 0 0 0 0 0 0 20 0 1 0 20 0 0 18446744073709551615 0 0 0 0 0 0 0 2147483647 0 1 0 0 17 0 0 0 0 0 0 0 0 0 0 0 0 0 0
root@slurm-pr1:~# cat /proc/89/stat
89 (migration/13) P 2 0 0 0 -1 69238848 0 0 0 0 0 0 0 0 -100 0 1 0 20 0 0 18446744073709551615 0 0 0 0 0 0 0 2147483647 0 1 0 0 17 13 99 1 0 0 0 0 0 0 0 0 0 0 0
root@slurm-pr1:~# cat /proc/90/stat
90 (ksoftirqd/13) P 2 0 0 0 -1 69238848 0 0 0 0 0 0 0 0 20 0 1 0 20 0 0 18446744073709551615 0 0 0 0 0 0 0 2147483647 0 1 0 0 17 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants