AnsweredAssumed Answered

sleep affecting watchdog timeout

Question asked by Pratyush Tomar on May 23, 2018
Latest reply on May 23, 2018 by igorpadykov

I have an i.mx6UL board and I am running watchdog daemon in this. I am facing following problem.

In watchdog.conf file I have set watchdog-timeout = 20 seconds. This board reboots after 20 seconds if I kill watchdog daemon with SIGINT signal and this behaviour is expected. But if I put board to sleep using echo mem > /sys/power/state and I kill watchdog daemon once I wake up board the board reboots after more than watchdog-timeout = 20 seconds. In fact it boots after more than 2 minutes.

Is this expected behaviour? Shouldn't the board reboot after 20 seconds since I have set watchdog-timeout = 20 seconds? What does it take more than 2 minutes if I put board to sleep? Even the default watchdog-timeout is 1min in i.mx6UL.

Outcomes