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

[metricbeat] Fix errors in process summary on latest Linux kernels #6306

Merged
merged 1 commit into from Feb 12, 2018

Conversation

@kesslerm
Copy link
Contributor

commented Feb 7, 2018

On Linux 4.14 and 4.15, metricbeat logs large numbers of errors such as

2018/02/07 11:19:46.284926 process_summary.go:79: ERR Unknown state <73> for process with pid 4

All affected processes appear to be kernel threads.

<73> translates into I, which is a new status code introduced into the
/proc/<pid>/stat output in kernel commit
torvalds/linux@06eb618

For backwards compatibility, the old and new codes are now used to increment
the count of idle processes reported in the summary.

Fixes #6305.

@ph ph added needs CLA and removed needs CLA labels Feb 7, 2018
@ph

This comment has been minimized.

Copy link
Member

commented Feb 7, 2018

@karmi This PR should pass the CLA check, @kesslerm is part of the elastic org?

@ph ph added Metricbeat bug labels Feb 7, 2018
@ph

This comment has been minimized.

Copy link
Member

commented Feb 7, 2018

@kesslerm Would you mind adding a changelog entry for metricbeat?

@karmi

This comment has been minimized.

Copy link
Member

commented Feb 7, 2018

@ph, there might be a problem with the email address — @kesslerm, I think you've used a different email in the Git commit than is attached to your Github profile. If you add it there, it should work, that's the simplest way of fixing the check.

@ph

This comment has been minimized.

Copy link
Member

commented Feb 7, 2018

@karmi Ah! the email is not linked to his github! gotcha! thanks.

@ruflin ruflin added the module label Feb 8, 2018
@kesslerm kesslerm force-pushed the kesslerm:fix/6305 branch 2 times, most recently from ea05f99 to fda6ffd Feb 9, 2018
@kesslerm

This comment has been minimized.

Copy link
Contributor Author

commented Feb 9, 2018

@ph, @karmi, I've adjusted the commit email address and added a changelog entry before force-updating my branch. Please let me know if this is OK now.

@kesslerm kesslerm force-pushed the kesslerm:fix/6305 branch from fda6ffd to 76fee31 Feb 9, 2018
On Linux 4.14 and 4.15, metricbeat logs large numbers of errors such as

```
2018/02/07 11:19:46.284926 process_summary.go:79: ERR Unknown state <73> for process with pid 4
```

All affected processes appear to be kernel threads.

`<73>` translates into `I`, which is a new status code introduced into the
`/proc/<pid>/stat` output in kernel commit
torvalds/linux@06eb618

For backwards compatibility, the old and new codes are now used to increment
the count of idle processes reported in the summary.
@kesslerm kesslerm force-pushed the kesslerm:fix/6305 branch from 76fee31 to 5488fa3 Feb 9, 2018
@kvch
kvch approved these changes Feb 9, 2018
Copy link
Contributor

left a comment

WFG

@ph ph added the needs_backport label Feb 9, 2018
@ruflin ruflin merged commit b81fbd4 into elastic:master Feb 12, 2018
4 of 5 checks passed
4 of 5 checks passed
continuous-integration/appveyor/pr Waiting for AppVeyor build to complete
Details
CLA Commit author is a member of Elasticsearch
Details
beats-ci Build finished.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
hound No violations found. Woof!
adriansr added a commit to adriansr/beats that referenced this pull request May 22, 2018
…lastic#6306)

On Linux 4.14 and 4.15, metricbeat logs large numbers of errors such as

```
2018/02/07 11:19:46.284926 process_summary.go:79: ERR Unknown state <73> for process with pid 4
```

All affected processes appear to be kernel threads.

`<73>` translates into `I`, which is a new status code introduced into the
`/proc/<pid>/stat` output in kernel commit
torvalds/linux@06eb618

For backwards compatibility, the old and new codes are now used to increment
the count of idle processes reported in the summary.
adriansr added a commit to adriansr/beats that referenced this pull request May 22, 2018
…lastic#6306)

On Linux 4.14 and 4.15, metricbeat logs large numbers of errors such as

```
2018/02/07 11:19:46.284926 process_summary.go:79: ERR Unknown state <73> for process with pid 4
```

All affected processes appear to be kernel threads.

`<73>` translates into `I`, which is a new status code introduced into the
`/proc/<pid>/stat` output in kernel commit
torvalds/linux@06eb618

For backwards compatibility, the old and new codes are now used to increment
the count of idle processes reported in the summary.

(cherry picked from commit b81fbd4)
adriansr added a commit to adriansr/beats that referenced this pull request May 22, 2018
…lastic#6306)

On Linux 4.14 and 4.15, metricbeat logs large numbers of errors such as

```
2018/02/07 11:19:46.284926 process_summary.go:79: ERR Unknown state <73> for process with pid 4
```

All affected processes appear to be kernel threads.

`<73>` translates into `I`, which is a new status code introduced into the
`/proc/<pid>/stat` output in kernel commit
torvalds/linux@06eb618

For backwards compatibility, the old and new codes are now used to increment
the count of idle processes reported in the summary.

(cherry picked from commit b81fbd4)
adriansr added a commit to adriansr/beats that referenced this pull request May 22, 2018
…lastic#6306)

On Linux 4.14 and 4.15, metricbeat logs large numbers of errors such as

```
2018/02/07 11:19:46.284926 process_summary.go:79: ERR Unknown state <73> for process with pid 4
```

All affected processes appear to be kernel threads.

`<73>` translates into `I`, which is a new status code introduced into the
`/proc/<pid>/stat` output in kernel commit
torvalds/linux@06eb618

For backwards compatibility, the old and new codes are now used to increment
the count of idle processes reported in the summary.

(cherry picked from commit b81fbd4)
adriansr added a commit to adriansr/beats that referenced this pull request May 22, 2018
…lastic#6306)

On Linux 4.14 and 4.15, metricbeat logs large numbers of errors such as

```
2018/02/07 11:19:46.284926 process_summary.go:79: ERR Unknown state <73> for process with pid 4
```

All affected processes appear to be kernel threads.

`<73>` translates into `I`, which is a new status code introduced into the
`/proc/<pid>/stat` output in kernel commit
torvalds/linux@06eb618

For backwards compatibility, the old and new codes are now used to increment
the count of idle processes reported in the summary.

(cherry picked from commit b81fbd4)
andrewkroh added a commit that referenced this pull request May 31, 2018
…6306) (#7155)

On Linux 4.14 and 4.15, metricbeat logs large numbers of errors such as

```
2018/02/07 11:19:46.284926 process_summary.go:79: ERR Unknown state <73> for process with pid 4
```

All affected processes appear to be kernel threads.

`<73>` translates into `I`, which is a new status code introduced into the
`/proc/<pid>/stat` output in kernel commit
torvalds/linux@06eb618

For backwards compatibility, the old and new codes are now used to increment
the count of idle processes reported in the summary.

(cherry picked from commit b81fbd4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants
You can’t perform that action at this time.