Reboot at night - why?

i set up buddyinfo to be posted to syslog.
Since I save syslog messages to permanent storage, it could help.

root@turris:/etc/cron.d# cat /etc/cron.d/buddyinfo 
*/5	*	*	*	*	root	logger -t buddyinfo < /proc/buddyinfo
1 Like

ok, I had unexpected reboot 2 days ago. This is what I have in log:

Feb 17 02:40:01 turris crond[3643]: (root) CMD (logger -t buddyinfo < /proc/buddyinfo )
Feb 17 03:40:01 turris buddyinfo: Node 0, zone   Normal    317   2855   2241    574     22      0      0      0      0      0      0
Feb 17 03:40:01 turris buddyinfo: Node 0, zone  HighMem    137     81     24      5      3      2      2      0      0      1      1
Feb 17 02:40:01 turris crond[3647]: (root) CMD (/usr/bin/notifier)
Feb 17 02:40:01 turris crond[3641]: (root) CMDOUT (There is no message to send.)
Feb 17 03:42:29 turris kernel: [    0.000000] Booting Linux on physical CPU 0x0

Are you on HBT or HBS?

HBS. I approved updates, so at night Iā€™ll get another reboot, wanted for now.

I have buddyinfo logged since Jan 4, numbers from before didnā€™t show any extreme numbers

I got an unexpected reboot when updating from 5.1.9 RC1 to RC3 (in HBT). This might be related. But I havenā€™t figured out what was the reason for the reboot (last lines in log were from wpad, which is a package that got updated).

It seems to be more common than I thought. Luckily the ISP disconnects after 24 hours and luckily TOS reboots ad 03:30, so it does not happen during day.
This is the log from updating kernel (causes reboot next night) and reboots:

Jan 14 19:16:37 turris updater[26977]: src/lib/logging.c:201 (log_subproc_open): Running postinst of kernel
Jan 15 03:30:31 turris kernel: [    0.000000] Linux version 4.14.212 (packaging@turris.cz) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 e290024)) #0 SMP Tue Jan 12 00:24:34 2021
Jan 17 03:31:20 turris kernel: [    0.000000] Linux version 4.14.212 (packaging@turris.cz) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 e290024)) #0 SMP Tue Jan 12 00:24:34 2021
Jan 19 19:48:21 turris updater[3085]: src/lib/logging.c:201 (log_subproc_open): Running postinst of kernel
Jan 20 03:30:30 turris kernel: [    0.000000] Linux version 4.14.214 (packaging@turris.cz) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 c9388fa)) #0 SMP Thu Jan 14 09:13:08 2021
Jan 22 19:08:31 turris updater[2205]: src/lib/logging.c:201 (log_subproc_open): Running postinst of kernel
Jan 23 03:30:31 turris kernel: [    0.000000] Linux version 4.14.215 (packaging@turris.cz) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 c21d59d)) #0 SMP Wed Jan 20 10:47:26 2021
Jan 28 17:46:33 turris updater[24349]: src/lib/logging.c:201 (log_subproc_open): Running postinst of kernel
Jan 29 03:30:32 turris kernel: [    0.000000] Linux version 4.14.216 (packaging@turris.cz) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 11f4918)) #0 SMP Tue Jan 26 07:47:52 2021
Jan 31 03:31:23 turris kernel: [    0.000000] Linux version 4.14.216 (packaging@turris.cz) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 11f4918)) #0 SMP Tue Jan 26 07:47:52 2021
Feb  7 03:33:03 turris kernel: [    0.000000] Linux version 4.14.216 (packaging@turris.cz) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 11f4918)) #0 SMP Tue Jan 26 07:47:52 2021
Feb 12 03:34:23 turris kernel: [    0.000000] Linux version 4.14.216 (packaging@turris.cz) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 11f4918)) #0 SMP Tue Jan 26 07:47:52 2021
Feb 14 03:41:29 turris kernel: [    0.000000] Linux version 4.14.216 (packaging@turris.cz) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 11f4918)) #0 SMP Tue Jan 26 07:47:52 2021
Feb 17 03:42:29 turris kernel: [    0.000000] Linux version 4.14.216 (packaging@turris.cz) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 11f4918)) #0 SMP Tue Jan 26 07:47:52 2021
Feb 19 08:09:34 turris updater[21399]: src/lib/logging.c:201 (log_subproc_open): Running postinst of kernel
Feb 20 03:30:31 turris kernel: [    0.000000] Linux version 4.14.221 (packaging@turris.cz) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 6bf5bfc)) #0 SMP Thu Feb 18 03:57:20 2021