FS#60896 - [linux] System hangs randomly in kswapd0 on kernel versions 4.18 and 4.19
Attached to Project:
Arch Linux
Opened by Vadim (VadimD) - Friday, 23 November 2018, 17:05 GMT
Last edited by Toolybird (Toolybird) - Sunday, 28 May 2023, 06:42 GMT
Opened by Vadim (VadimD) - Friday, 23 November 2018, 17:05 GMT
Last edited by Toolybird (Toolybird) - Sunday, 28 May 2023, 06:42 GMT
|
Details
Description:
Sometimes (3 out of 10 times) when I build AOSP image inside a docker container my pc hangs the mouse is not moving, music stops, and keyboard not responding (numlock doesn't work). Only happens on kernel versions 4.18 and 4.19. LTS 4.14 works fine, and i don't remember having this issue on 3.17 and earlier. When I saw "kswapd" in the log, I thought maybe my SSD goes bad, so I moved the swap partition from SSD to the regular hard drive, but this didn't help, in fact the hangs started happening more frequently. kernel: INFO: task kswapd0:58 blocked for more than 120 seconds. kernel: Not tainted 4.19.2-arch1-1-ARCH #1 kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. kernel: kswapd0 D 0 58 2 0x80000000 kernel: Call Trace: kernel: ? __schedule+0x29b/0x8b0 kernel: ? xfs_reclaim_inode+0xc5/0x330 [xfs] kernel: schedule+0x32/0x90 kernel: io_schedule+0x12/0x40 kernel: __xfs_iunpin_wait+0xd6/0x170 [xfs] kernel: ? init_wait_var_entry+0x40/0x40 kernel: xfs_reclaim_inode+0xc5/0x330 [xfs] kernel: xfs_reclaim_inodes_ag+0x1b9/0x320 [xfs] kernel: ? percpu_counter_add_batch+0x84/0xb0 kernel: ? radix_tree_gang_lookup_tag+0xd3/0x160 kernel: ? iput+0x210/0x210 kernel: ? _raw_spin_unlock+0x16/0x30 kernel: ? preempt_count_add+0x79/0xb0 kernel: xfs_reclaim_inodes_nr+0x31/0x40 [xfs] kernel: super_cache_scan+0x155/0x1a0 kernel: do_shrink_slab+0x12f/0x2b0 kernel: shrink_slab+0x228/0x290 kernel: shrink_node+0xe6/0x4a0 kernel: kswapd+0x3e2/0x720 kernel: ? mem_cgroup_shrink_node+0x1a0/0x1a0 kernel: kthread+0x112/0x130 kernel: ? kthread_park+0x80/0x80 kernel: ret_from_fork+0x35/0x40 |
This task depends upon
Closed by Toolybird (Toolybird)
Sunday, 28 May 2023, 06:42 GMT
Reason for closing: No response
Additional comments about closing: Plus it's old and stale. If still an issue, please report upstream.
Sunday, 28 May 2023, 06:42 GMT
Reason for closing: No response
Additional comments about closing: Plus it's old and stale. If still an issue, please report upstream.
Comment by Vadim (VadimD) - Monday,
04 February 2019, 12:44 GMT
Comment by mattia (nTia89) - Monday,
28 February 2022, 16:15 GMT
Happened again today on 4.20.3 kernel. Versions "4.19.4" and
"4.20.1" were quiet, I didn't see any hangs while using them, and
I almost thought the issue was resolved.
I cannot reproduce the issue. Is it still valid for you?