redirect watchdog messages to log file, not to console (screen)
I realy need your help, for redirect the messages from watchdog to log file, I'm recive a lot of messages on console on all clients, my server have RHEL7
Jan 27 12:24:05 prod kernel: NMI watchdog: BUG: soft lockup - CPU#7 stuck for 22s! [migration/7:43] Jan 27 12:24:06 prod kernel: NMI watchdog: BUG: soft lockup - CPU#42 stuck for 22s! [ps:53836] Jan 27 12:24:08 prod kernel: NMI watchdog: BUG: soft lockup - CPU#5 stuck for 22s! [migration/5:33] Jan 27 12:24:14 prod kernel: NMI watchdog: BUG: soft lockup - CPU#88 stuck for 22s! [migration/88:455] Jan 27 12:24:16 prod kernel: NMI watchdog: BUG: soft lockup - CPU#66 stuck for 23s! [migration/66:344] I put the following rule on /etc/rsyslog.cong but does not work, and the messages persist on console (screen) kern.* /var/log/kern.log after: systemctl restart rsyslog Maybe watchdog need a special rule?, someone can help me! Thanks a lot for your help |
Wouldn't it be better to fix the bad code that is locking up in kernel mode?
|
All times are GMT -5. The time now is 05:44 PM. |