Skip to content

Commit

Permalink
[rqd] Reduce the log level when failing to read a stat file. (#1191)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcipriano committed Sep 29, 2022
1 parent 3bb4528 commit 3859a5d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rqd/rqd/rqmachine.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,9 @@ def rssUpdate(self, frames):

# pylint: disable=broad-except
except (OSError, IOError):
log.exception('Failed to read stat/statm file for pid %s', pid)
# Many Linux processes are ephemeral and will disappear before we're able
# to read them. This is not typically indicative of a problem.
log.debug('Failed to read stat/statm file for pid %s', pid)

# pylint: disable=too-many-nested-blocks
try:
Expand Down

0 comments on commit 3859a5d

Please sign in to comment.