Change watchdog timeout from 30 sec. to 90 sec. 94/183494/2
authorHyotaek Shim <hyotaek.shim@samsung.com>
Fri, 6 Jul 2018 04:33:45 +0000 (13:33 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Fri, 6 Jul 2018 04:40:14 +0000 (13:40 +0900)
commit18d9cf2f1ed52285b483fb662461be39cf492fa6
treef1209a1093b96a730c5ac956ccbbdfb819b5c75f
parent598487422f5343ef331ddc45897d028e59804e7f
Change watchdog timeout from 30 sec. to 90 sec.

It has been observed,
after a long suspend timeout/delay, Systemd may kill processes by Watchdog timeout as soon as it is thawed.
This is a workaground patch to avoid such a problem.

[Thu Jul  5 03:18:04 2018]  [1:   kworker/u4:9: 8153] Freezing of tasks failed after 20.006 seconds (1 tasks refusing to freeze, wq_bu$
[Thu Jul  5 03:18:04 2018]  [1:   kworker/u4:9: 8153] shealth-exercis D    0 16604   3220 0x00400209
[Thu Jul  5 03:18:04 2018]  [1:   kworker/u4:9: 8153] Call trace:
[Thu Jul  5 03:18:04 2018]  [1:   kworker/u4:9: 8153] [<ffffff8008085b70>] __switch_to+0x8c/0xa0
[Thu Jul  5 03:18:04 2018]  [1:   kworker/u4:9: 8153] [<ffffff80088d4720>] __schedule+0x37c/0x72c
[Thu Jul  5 03:18:04 2018]  [1:   kworker/u4:9: 8153] [<ffffff80088d4bcc>] schedule+0x8c/0xac
[Thu Jul  5 03:18:04 2018]  [1:   kworker/u4:9: 8153] [<ffffff80088d786c>] schedule_timeout+0x148/0x38c
[Thu Jul  5 03:18:04 2018]  [1:   kworker/u4:9: 8153] [<ffffff8008439f78>] kbase_destroy_context+0x394/0x448
[Thu Jul  5 03:18:04 2018]  [1:   kworker/u4:9: 8153] [<ffffff80084465d4>] kbase_release+0xf4/0x158
[Thu Jul  5 03:18:04 2018]  [1:   kworker/u4:9: 8153] [<ffffff80081ded58>] __fput+0xf4/0x1a8
[Thu Jul  5 03:18:04 2018]  [1:   kworker/u4:9: 8153] [<ffffff80081dee68>] ____fput+0xc/0x14
[Thu Jul  5 03:18:04 2018]  [1:   kworker/u4:9: 8153] [<ffffff80080bd378>] task_work_run+0xbc/0xe8
[Thu Jul  5 03:18:04 2018]  [1:   kworker/u4:9: 8153] [<ffffff80080891a0>] do_notify_resume+0x80/0x90
[Thu Jul  5 03:18:04 2018]  [1:   kworker/u4:9: 8153] [<ffffff8008082f8c>] work_pending+0x8/0x10
...
Jul 05 14:37:25 localhost systemd[1]: storaged.service: Watchdog timeout (limit 30s)!
Jul 05 14:37:25 localhost systemd[1]: storaged.service: Killing process 3092 (storaged) with signal SIGABRT.

Change-Id: I4936d36151ab36cb5868a6c614143ddd9220baa1
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
systemd/deviced.service