Skip to content

Commit

Permalink
syslog.py: report when ceph works are stuck
Browse files Browse the repository at this point in the history
Usually there will be performance bug when hitting the works are
stuck:

workqueue: delayed_work [ceph] hogged CPU for >10000us 4 times, consider switching to WQ_UNBOUND

URL: https://www.spinics.net/lists/ceph-users/msg78775.html
Signed-off-by: Xiubo Li <[email protected]>
  • Loading branch information
lxbsz committed Jun 3, 2024
1 parent b9e3da8 commit 6cd9e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teuthology/task/internal/syslog.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def syslog(ctx, config):
stdout = rem.sh(
[
'egrep', '--binary-files=text',
'\\bBUG\\b|\\bINFO\\b|\\bDEADLOCK\\b',
'\\bBUG\\b|\\bINFO\\b|\\bDEADLOCK\\b|ceph.*\\bhogged\ CPU\ for\\b',
run.Raw(f'{archive_dir}/syslog/kern.log'),
run.Raw('|'),
'grep', '-v', 'task .* blocked for more than .* seconds',
Expand Down

0 comments on commit 6cd9e81

Please sign in to comment.