Solved

Cumulus VX - Out of Memory Kill Process xxxx Python | Netd/NCLU non-functional


Dear Community members,

Running GNS3 version 2.0.3
Cumulus VX 3.3.2
cumulus-linux-3.3.2-vx-amd64.qcow2

I am running a cumulus VX installed via appliance in GNS3 - VM(in remote Esxi Host)
when i start the VM i get the below error messages:
Debian GNU/Linux 8 cumulus ttyS0

cumulus login: [ 16.911314] Out of memory: Kill process 829 (python) score 481 or sacrifice child
[ 16.915838] Killed process 829 (python) total-vm:132072kB, anon-rss:88220kB, file-rss:148kB
[ 24.123574] Out of memory: Kill process 849 (python) score 480 or sacrifice child
[ 24.128154] Killed process 849 (python) total-vm:132072kB, anon-rss:88224kB, file-rss:0kB
[ 730.137458] Out of memory: Kill process 2024 (python) score 453 or sacrifice child
[ 730.141833] Killed process 2024 (python) total-vm:127112kB, anon-rss:83212kB, file-rss:4kB
[ 737.145680] Out of memory: Kill process 2049 (python) score 456 or sacrifice child
[ 737.149885] Killed process 2049 (python) total-vm:127376kB, anon-rss:83736kB, file-rss:8kB
[ 741.145276] Out of memory: Kill process 2070 (python) score 472 or sacrifice child
[ 741.151759] Killed process 2070 (python) total-vm:119564kB, anon-rss:84040kB, file-rss:4kB
[ 744.516381] Out of memory: Kill process 2089 (python) score 455 or sacrifice child
[ 744.525112] Killed process 2089 (python) total-vm:127376kB, anon-rss:83480kB, file-rss:4kB

Also i am not able to use the Net commands
cumulus@cumulus:~$ net sh
ERROR: net could not connect to netd

Try starting netd with:
sudo systemctl start netd

To configure netd to start when the box boots:
sudo systemctl enable netd

ERROR: net could not connect to netd

Try starting netd with:
sudo systemctl start netd

To configure netd to start when the box boots:
sudo systemctl enable netd
cumulus@cumulus:~$ sudo systemctl start netd
[sudo] password for cumulus:
Job for netd.service failed. See 'systemctl status netd.service' and 'journalctl -xn' for details.
cumulus@cumulus:~$ systemctl status netd.service
â netd.service - Network Command Line Utility Daemon
Loaded: loaded (/lib/systemd/system/netd.service; enabled)
Active: failed (Result: start-limit) since Wed 2017-07-12 18:52:11 UTC; 2min 3s ago
Process: 2089 ExecStart=/usr/bin/python /usr/sbin/netd -d (code=killed, signal=KILL)
Main PID: 2089 (code=killed, signal=KILL)

cumulus@cumulus:~$ uname -a
Linux cumulus 4.1.0-cl-5-amd64 #1 SMP Cumulus 4.1.33-1+cl3u8 (2017-04-28) x86_64 GNU/Linux
cumulus@cumulus:~$

Any advise how to get the net command working?

When i run cumulus-linux-3.3.2-vx-amd64.ova as a standalone VM in EXSI host i dont see problems. What am i missing?

Thanks
Maran

2 replies

Think i may have found the solution - posted this too soon, anyways if it is helpful for someone else -

When i adjusted the template memory from 256Mb(which is the default) to 1024Mb, this problem is not seen anymore. I am testing more on this. will keep this thread posted if i find any more information.

Thanks

Userlevel 4
512mb is the current recommended minimum.