WAN connection dropping, system out of memory?

The WAN connection of mine turris omnia gets lost every 2-3 days. When this happens, the whole router seems a little bit slower. Today I was able to login and read system log. The interesting part is:

2017-12-02T10:26:33+01:00 notice netifd: Network device ‘pppoe-wan’ link is down
2017-12-02T10:26:33+01:00 notice netifd: Network alias ‘pppoe-wan’ link is down
2017-12-02T10:26:33+01:00 notice netifd: Interface ‘wan6’ has link connectivity loss
2017-12-02T10:26:33+01:00 notice netifd: Interface ‘wan6’ is now down
2017-12-02T10:26:33+01:00 notice netifd: Interface ‘wan_6’ has link connectivity loss
2017-12-02T10:26:33+01:00 notice netifd: Interface ‘wan’ has lost the connection
2017-12-02T10:26:33+01:00 notice pppd[5467]: Modem hangup
2017-12-02T10:26:33+01:00 notice pppd[5467]: Connection terminated.
2017-12-02T10:26:33+01:00 notice netifd: Interface ‘wan6’ is disabled
2017-12-02T10:26:33+01:00 notice netifd: Interface ‘wan_6’ is disabled
2017-12-02T10:26:33+01:00 info pppd[5467]: Sent PADT
2017-12-02T10:26:33+01:00 info pppd[5467]: Exit.
2017-12-02T10:26:33+01:00 notice netifd: Interface ‘wan’ is now down
2017-12-02T10:26:33+01:00 notice netifd: Interface ‘wan’ is disabled
2017-12-02T11:26:33+01:00 warning kernel: [86444.043610] netifd: page allocation failure: order:5, mode:0x24000c0
2017-12-02T11:26:33+01:00 warning kernel: [86444.043623] CPU: 0 PID: 2171 Comm: netifd Not tainted 4.4.91-e8cacce0ae0bf48eea19d58c2e860359-1 #1

More of this log is here: https://pastebin.com/biie64pR

Gets my system out of memory? Is there some problem with netifd or ucollect?

2017-12-02T11:26:33+01:00 alert kernel: [86444.056801] BUG: Bad page state in process netifd pfn:2acd0
2017-12-02T11:26:33+01:00 alert kernel: [86444.062479] BUG: Bad page state in process ucollect pfn:2acb0

2 Likes

I don’t expect simple memory exhaustion by itself would cause such failures in kernel. EDIT: at least on desktop it normally chooses some user-space process and kills it.