FS#65388 - [linux] Some processes OOM after linux is upgraded to 5.5.x
Attached to Project:
Arch Linux
Opened by Eric Wang (enihcam) - Wednesday, 05 February 2020, 14:10 GMT
Last edited by freswa (frederik) - Thursday, 20 February 2020, 21:30 GMT
Opened by Eric Wang (enihcam) - Wednesday, 05 February 2020, 14:10 GMT
Last edited by freswa (frederik) - Thursday, 20 February 2020, 21:30 GMT
|
Details
Description:
``` Feb 05 11:37:03 localhost ss-redir[365]: 2020-02-05 11:37:03 ERROR: server recv: Connection reset by peer Feb 05 11:37:04 localhost ss-redir[367]: 2020-02-05 11:37:04 ERROR: server recv: Connection reset by peer Feb 05 11:37:17 localhost kernel: ss-redir invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0 Feb 05 11:37:17 localhost kernel: CPU: 3 PID: 365 Comm: ss-redir Not tainted 5.5.2-1 #2 Feb 05 11:37:17 localhost kernel: Hardware name: Default string Default string/Default string, BIOS 5.12 11/23/2018 Feb 05 11:37:17 localhost kernel: Call Trace: Feb 05 11:37:17 localhost kernel: 0xffffffff81511720 Feb 05 11:37:17 localhost kernel: 0xffffffff811483ad Feb 05 11:37:17 localhost kernel: ? 0xffffffff811534fd Feb 05 11:37:17 localhost kernel: 0xffffffff81148607 Feb 05 11:37:17 localhost kernel: 0xffffffff811480fa Feb 05 11:37:17 localhost kernel: 0xffffffff81183940 Feb 05 11:37:17 localhost kernel: 0xffffffff81183c9b Feb 05 11:37:17 localhost kernel: 0xffffffff8114419d Feb 05 11:37:17 localhost kernel: 0xffffffff8114567b Feb 05 11:37:17 localhost kernel: ? 0xffffffff81142267 Feb 05 11:37:17 localhost kernel: 0xffffffff81167a63 Feb 05 11:37:17 localhost kernel: 0xffffffff8116cee3 Feb 05 11:37:17 localhost kernel: 0xffffffff8116d6ab Feb 05 11:37:17 localhost kernel: 0xffffffff81034be1 Feb 05 11:37:17 localhost kernel: 0xffffffff81034e7a Feb 05 11:37:17 localhost kernel: 0xffffffff81601009 Feb 05 11:37:17 localhost kernel: RIP: 0033:0x00007fecb227862d Feb 05 11:37:17 localhost kernel: Code: Bad RIP value. Feb 05 11:37:17 localhost kernel: RSP: 002b:00007fffeebaadc0 EFLAGS: 00010202 Feb 05 11:37:17 localhost kernel: RAX: 00005596ac4709a0 RBX: 00007fecb2283720 RCX: 0000000000000020 Feb 05 11:37:17 localhost kernel: RDX: 0000000000000001 RSI: 00005596ac470990 RDI: 0000000000000002 Feb 05 11:37:17 localhost kernel: RBP: 00005596b040f1c0 R08: 00005596ac983fcc R09: 0000000000000001 Feb 05 11:37:17 localhost kernel: R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 Feb 05 11:37:17 localhost kernel: R13: 0000000000000618 R14: 0000000000000082 R15: 000000000000000c Feb 05 11:37:17 localhost kernel: Mem-Info: Feb 05 11:37:17 localhost kernel: active_anon:838974 inactive_anon:4109 isolated_anon:0 active_file:59 inactive_file:1229 isolated_file:5 unevictable:0 dirty:20 writeback:0 unstable:0 slab_reclaimable:15764 slab_unreclaimable:53637 mapped:319 shmem:4259 pagetables:2250 bounce:0 free:21990 free_pcp:946 free_cma:0 Feb 05 11:37:17 localhost kernel: Node 0 active_anon:3355896kB inactive_anon:16436kB active_file:236kB inactive_file:4916kB unevictable:0kB isolated(anon):0kB isolated(file):20kB mapped:1276kB dirty:80kB wr> Feb 05 11:37:17 localhost kernel: DMA free:15672kB min:268kB low:332kB high:396kB reserved_highatomic:0KB active_anon:220kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0> Feb 05 11:37:17 localhost kernel: lowmem_reserve[]: 0 2405 3856 3856 Feb 05 11:37:17 localhost kernel: DMA32 free:47160kB min:41988kB low:52484kB high:62980kB reserved_highatomic:0KB active_anon:2271756kB inactive_anon:0kB active_file:0kB inactive_file:224kB unevictable:0kB > Feb 05 11:37:17 localhost kernel: lowmem_reserve[]: 0 0 1450 1450 Feb 05 11:37:17 localhost kernel: Normal free:25128kB min:25324kB low:31652kB high:37980kB reserved_highatomic:0KB active_anon:1083920kB inactive_anon:16436kB active_file:0kB inactive_file:4268kB unevictabl> Feb 05 11:37:17 localhost kernel: lowmem_reserve[]: 0 0 0 0 Feb 05 11:37:17 localhost kernel: DMA: 8*4kB (UM) 1*8kB (M) 1*16kB (U) 0*32kB 2*64kB (U) 1*128kB (U) 2*256kB (UM) 1*512kB (M) 2*1024kB (UM) 0*2048kB 3*4096kB (M) = 15672kB Feb 05 11:37:17 localhost kernel: DMA32: 197*4kB (UME) 112*8kB (UME) 151*16kB (UME) 179*32kB (UME) 53*64kB (UME) 13*128kB (UME) 4*256kB (UME) 0*512kB 1*1024kB (E) 1*2048kB (M) 7*4096kB (M) = 47652kB Feb 05 11:37:17 localhost kernel: Normal: 188*4kB (UME) 188*8kB (UME) 278*16kB (UME) 41*32kB (UME) 56*64kB (UME) 24*128kB (UME) 17*256kB (UME) 4*512kB (UME) 5*1024kB (UM) 0*2048kB 0*4096kB = 26192kB Feb 05 11:37:17 localhost kernel: Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB Feb 05 11:37:17 localhost kernel: 5756 total pagecache pages Feb 05 11:37:17 localhost kernel: 1032233 pages RAM Feb 05 11:37:17 localhost kernel: 0 pages HighMem/MovableOnly Feb 05 11:37:17 localhost kernel: 37696 pages reserved Feb 05 11:37:17 localhost kernel: Tasks state (memory values in pages): Feb 05 11:37:17 localhost kernel: [ pid ] uid tgid total_vm rss pgtables_bytes swapents oom_score_adj name Feb 05 11:37:17 localhost kernel: [ 209] 0 209 6944 533 81920 0 -250 systemd-journal Feb 05 11:37:17 localhost kernel: [ 227] 0 227 11616 227 81920 0 0 rngd Feb 05 11:37:17 localhost kernel: [ 229] 192 229 22356 220 77824 0 0 systemd-timesyn Feb 05 11:37:17 localhost kernel: [ 234] 0 234 6496 369 81920 0 -1000 systemd-udevd Feb 05 11:37:17 localhost kernel: [ 246] 84 246 2075 96 57344 0 0 avahi-daemon Feb 05 11:37:17 localhost kernel: [ 252] 81 252 1686 137 53248 0 -900 dbus-daemon Feb 05 11:37:17 localhost kernel: [ 275] 0 275 238281 57 172032 0 0 nscd Feb 05 11:37:17 localhost kernel: [ 283] 0 283 1103 30 53248 0 0 ifplugd Feb 05 11:37:17 localhost kernel: [ 337] 0 337 3888 203 73728 0 0 systemd-logind Feb 05 11:37:17 localhost kernel: [ 338] 84 338 2044 82 57344 0 0 avahi-daemon Feb 05 11:37:17 localhost kernel: [ 352] 193 352 4151 283 73728 0 0 systemd-network Feb 05 11:37:17 localhost kernel: [ 359] 0 359 2453 145 53248 0 0 pppd Feb 05 11:37:17 localhost kernel: [ 365] 65534 365 34904 12655 319488 0 0 ss-redir Feb 05 11:37:17 localhost kernel: [ 367] 65534 367 34850 12703 315392 0 0 ss-redir Feb 05 11:37:17 localhost kernel: [ 368] 65534 368 34906 12575 319488 0 0 ss-redir Feb 05 11:37:17 localhost kernel: [ 369] 65534 369 35033 12490 319488 0 0 ss-redir Feb 05 11:37:17 localhost kernel: [ 370] 65534 370 1260 83 49152 0 0 ss-tunnel Feb 05 11:37:17 localhost kernel: [ 371] 65534 371 1260 83 45056 0 0 ss-tunnel Feb 05 11:37:17 localhost kernel: [ 373] 65534 373 1260 52 45056 0 0 ss-tunnel Feb 05 11:37:17 localhost kernel: [ 375] 65534 375 1260 54 45056 0 0 ss-tunnel Feb 05 11:37:17 localhost kernel: [ 377] 0 377 12541 770 143360 0 0 smbd Feb 05 11:37:17 localhost kernel: [ 379] 1000 379 99793 1897 126976 0 0 transmission-da Feb 05 11:37:17 localhost kernel: [ 381] 0 381 1463 16 45056 0 0 agetty Feb 05 11:37:17 localhost kernel: [ 383] 65534 383 201105 181686 1527808 0 0 v2ray-plugin Feb 05 11:37:17 localhost kernel: [ 384] 65534 384 28397 1086 81920 0 0 v2ray-plugin Feb 05 11:37:17 localhost kernel: [ 385] 65534 385 218226 194750 1630208 0 0 v2ray-plugin Feb 05 11:37:17 localhost kernel: [ 386] 65534 386 27981 1087 77824 0 0 v2ray-plugin Feb 05 11:37:17 localhost kernel: [ 387] 65534 387 27981 1088 81920 0 0 v2ray-plugin Feb 05 11:37:17 localhost kernel: [ 388] 65534 388 218354 195999 1642496 0 0 v2ray-plugin Feb 05 11:37:17 localhost kernel: [ 390] 65534 390 28333 1085 77824 0 0 v2ray-plugin Feb 05 11:37:17 localhost kernel: [ 391] 65534 391 201297 190101 1597440 0 0 v2ray-plugin Feb 05 11:37:17 localhost kernel: [ 462] 995 462 17578 13625 176128 0 0 dnsmasq Feb 05 11:37:17 localhost kernel: [ 465] 0 465 11731 748 139264 0 0 smbd-notifyd Feb 05 11:37:17 localhost kernel: [ 466] 0 466 11729 748 131072 0 0 cleanupd Feb 05 11:37:17 localhost kernel: [ 513] 0 513 1059 67 49152 0 0 ip-up Feb 05 11:37:17 localhost kernel: [ 548] 0 548 1716 38 49152 0 0 miniupnpd Feb 05 11:37:17 localhost kernel: [ 550] 0 550 1059 66 49152 0 0 03-ddns.sh Feb 05 11:37:17 localhost kernel: [ 552] 0 552 21467 422 69632 0 0 curl Feb 05 11:37:17 localhost kernel: oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),task=v2ray-plugin,pid=388,uid=65534 Feb 05 11:37:17 localhost kernel: Out of memory: Killed process 388 (v2ray-plugin) total-vm:873416kB, anon-rss:783996kB, file-rss:0kB, shmem-rss:0kB, UID:65534 pgtables:1604kB oom_score_adj:0 Feb 05 11:37:17 localhost kernel: oom_reaper: reaped process 388 (v2ray-plugin), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB Feb 05 11:37:17 localhost ss-redir[369]: 2020-02-05 11:37:17 ERROR: plugin service exit unexpectedly Feb 05 11:37:17 localhost ss-redir[369]: 2020-02-05 11:37:17 INFO: error on terminating the plugin. Feb 05 11:37:17 localhost systemd[1]: shadowsocks-libev-redir@r3.service: Main process exited, code=exited, status=255/EXCEPTION Feb 05 11:37:17 localhost systemd[1]: shadowsocks-libev-redir@r3.service: Failed with result 'exit-code'. Feb 05 11:37:19 localhost ss-redir[368]: 2020-02-05 11:37:19 ERROR: server recv: Connection reset by peer Feb 05 11:37:19 localhost kernel: TCP: request_sock_TCP: Possible SYN flooding on port 1080. Sending cookies. Check SNMP counters. Feb 05 11:37:19 localhost kernel: TCP: request_sock_TCP: Possible SYN flooding on port 1080. Sending cookies. Check SNMP counters. Feb 05 11:37:19 localhost kernel: TCP: request_sock_TCP: Possible SYN flooding on port 1080. Sending cookies. Check SNMP counters. ``` Additional info: * package version(s) * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: 1. pacman -S shadowsocks-libev shadowsocks-v2ray-plugin 2. Start shadowsocks service with v2ray plugin (Follow instruction in https://github.com/shadowsocks/v2ray-plugin/blob/master/README.md) 3. Check memory (which is normal) 4. pacman -Su linux (upgrade from 5.4 to 5.5) and reboot 5. OOM in 1 minute. |
This task depends upon

For step 2, i mean start client service (ss-local).

Please provide `uname -a`