-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Incorrect Errors for Parent Processes That No Longer Exist #19753
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
See #18923 for a possible duplicate. pid 0 and pid 1 are used in linux and Mac OS. PID 0 refers to the kernel: https://www.baeldung.com/linux/process-pid-0#:~:text=What%20Process%20Has%20PID%200,and%20shutting%20down%20the%20system. |
See also #14311 as a possible duplicate. |
Also seeing this error. Here's what I have in my logs:
In my config, I am muting all errors, but that doesn't seem to silence the mute_process_name_error: true
mute_process_exe_error: true
mute_process_io_error: true |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
This is still an issue for us. It would be nice to see some action on it, since it is such a simple thing to change for these to be debug messages instead. Or even warnings. However, since this is expected behavior, my belief is that they should be debug. |
Component(s)
receiver/hostmetrics
What happened?
Description
When monitoring processes using the hostmetrics receiver, the log gets filled with errors about parent processes that no longer exist.
Examples:
pid 0 on Linux
winlogon.exe on Windows
Steps to Reproduce
Enable all process/processes monitoring in a host metrics receiver. Check log for these errors.
Expected Result
Receiver understands that processes can fork and exit, thus no longer existing as a parent to the forked process.
Actual Result
Errors in the log about these processes that no longer exist.
Collector version
0.73.0
Environment information
Environment
OS: 5.10.0-21-cloud-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux
Compiler(if manually compiled): Not manually compiled
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: