Report this

What is the reason for this report?

Getting regular "Out of memory: Kill process". How to resolve this isse?

Posted on July 30, 2013

Regularly I got the following message in syslog file: “Out of memory: Kill process 837 (mysqld) score 59 or sacrifice child”.

This is really annoying.

I already created a swapfile using this tutorial “https://www.digitalocean.com/community/articles/how-to-add-swap-on-ubuntu-12-04” but I still get error.

Could you please tell me how to fix this issue?

My droplet is a $5 one with 512Mb RAM. THe distro is Ubuntu 13.04 x64.

(the funny thing is that default mysql configuration worked perfectly on my previous server (VPS Gandi with only 256Mb RAM)



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

After a bit of digging with information from crash logs and internal mail, I came across this: http://www.porotal.org/fixing-daily-cron-db-update-failed-database-locked-error-in-ubuntu/

Facing the same issue :/

@digitalocean are you going to help your clients or just keep ignoring them ?!

Follow the swap tutorial. It solved it for me. I have the 5$ droplet and it works fine now :)

https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.