Skip to main content

Can't understand "out of memory" kills

Comments

3 comments

  • cPanelLauren
    Hi @Rogerio So when this happens it's the Linux kernel killing the process to ensure that processes running and those integral to the system which have reserved memory have enough to run. When a process is killed like this and you get the email from cPanel it's not always able to show you what's actually occurring on the server. What might be useful is to check sysstats. The following should give an idea of used memory for the last few hours: sar -r
    0
  • Rogerio
    Hello, the CPU was high in that moment, indeed. Well, at least, mysqld was restarted automatically. But sometimes it kills other services like snmpd that I need to restart manually. Thank you.
    0
  • cPanelLauren
    Hi @Rogerio If you find it's occurring often and it's legitimate usage you might need to look at increasing the amount of memory on the server. This really shouldn't be occurring very frequently. Thanks!
    0

Please sign in to leave a comment.