Low memory error
The build failed because the process exited too early. This probably means the system ran out of memory or someone called kill -9
on the process.
1 Reply
What you may have experienced here is what is termed as OOMing(Out Of Memory). OOM is a system module executed by the kernel to ensure that aggressive processes using high system resources are killed to avoid malfunctioning of the system. The OOM Killer will only get invoked when the system is critically low on memory and kills high processes to keep your Linode running. On your terminal, you should see a message like this:
kernel: Out of memory: Kill process 9163 (mysqld) score 511 or sacrifice child
You can also run grep -i kill /var/log/messages*
to parse through your logs to identify the OOM messages. Some commands for checking your system resources includes free -h
, top
and iostat
. These commands are good for analyzing system resources and identifying high running process. You may want to consider resizing your Linode to a higher plan to accommodate the high resource usage.
Additionally, you can also install our Linode Longview client to get more details and better tracking into the resources your Linode is using and possibly identify what may be causing issue. This guide from www.upcloud.com also discusses How to troubleshoot Linux server memory issues including this post from our Community Question Site.
I hope this helps.
I.Sackey
Linode Support Team