Updater failed: Failed to fork command /bin/sh: Out of memory

My turris just emailed me:

Updater failed: Failed to fork command /bin/sh: Out of memory

Trying to identify top processes, no experiences with embedded space, there is no GNU top or free utility out there :slight_smile:

Ok there are many processes like this one:

socat OPENSSL-LISTEN:6513,fork,method=TLS1.2,cert=/usr/share/nuci/tls/ca/nuci.cert,key=/usr/share/nuci/tl

Takže jsem provedl restart a update, ten prošel konečně, ale s varováním:

Error from 2017/04/13 18:58:29
Updater failed: Failed operations:
ucollect-badconf/postrm: /usr/lib/opkg/info//ucollect-badconf.postrm: line 2: /etc/init.d/ucollect: not found

ucollect-count/postrm: /usr/lib/opkg/info//ucollect-count.postrm: line 2: /etc/init.d/ucollect: not found

ucollect-fwup/postrm: /usr/lib/opkg/info//ucollect-fwup.postrm: line 2: /etc/init.d/ucollect: not found

ucollect-spoof/postrm: /usr/lib/opkg/info//ucollect-spoof.postrm: line 2: /etc/init.d/ucollect: not found

ucollect-flow/postrm: /usr/lib/opkg/info//ucollect-flow.postrm: line 2: /etc/init.d/ucollect: not found

ucollect-sniff/postrm: /usr/lib/opkg/info//ucollect-sniff.postrm: line 2: /etc/init.d/ucollect: not found

ucollect-refused/postrm: /usr/lib/opkg/info//ucollect-refused.postrm: line 2: /etc/init.d/ucollect: not found

ucollect-bandwidth/postrm: /usr/lib/opkg/info//ucollect-bandwidth.postrm: line 2: /etc/init.d/ucollect: not found

Did not help, I can see now that second process was spawned, the issue might be still there.

Generating diagnostic report, but it is stuck at “updater” step, nothing is going on for 10 minutes now.

Looks like the Android App causes this, I will uninstall it for now:

https://forum.test.turris.cz/t/ever-increasing-leaking-nuci-process/3743/5

https://github.com/CZ-NIC/nuci/issues/1