Results 1 to 4 of 4

Thread: Out of memory: Kill process ..

  1. #1
    Join Date
    Jun 2006
    Location
    Austrian in Taiwan
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Out of memory: Kill process ..

    On a cloud instance running just a wordpress blog I receive folowing messages:

    Oct 13 17:56:42 localhost kernel: Out of memory: Kill process 5458 (apache2) score 30 or sacrifice child
    Oct 13 17:56:42 localhost kernel: Killed process 5458 (apache2) total-vm:274536kB, anon-rss:17224kB, file-rss:0kB
    Oct 13 18:02:42 localhost kernel: Adding 524284k swap on /dev/xvdb. Priority:-1 extents:1 across:524284k SS
    At that point the server locks up.

    What does the message mean, how can I prevent?
    I am from the government, I am here to help you! Just ask!
    And don't expect more to be happen than with any other government!

  2. #2
    Join Date
    Nov 2008
    Location
    S.H.I.E.L.D. 6-1-6
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Out of memory: Kill process ..

    Quote Originally Posted by ELMIT View Post
    On a cloud instance running just a wordpress blog I receive folowing messages:



    At that point the server locks up.

    What does the message mean, how can I prevent?
    That is the OOM (out of memory) killer. When you run out of RAM, it activates to kill off processes. You can adjust apache's OOM rating (for other processes to have a higher likelyhood of being killed), but I would reccomend adding more RAM instead.
    Last edited by sandyd; October 14th, 2012 at 01:24 AM.
    Don't waste your energy trying to change opinions ... Do your thing, and don't care if they like it.

  3. #3
    Join Date
    Apr 2012
    Beans
    76
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Out of memory: Kill process ..

    Please show us the results of running

    Code:
    free -m
    I just want to see your system's total memory vs memory usage.

  4. #4
    Join Date
    Jun 2006
    Location
    Austrian in Taiwan
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Out of memory: Kill process ..

    We solved the problem by upgrading the RAM on that cloud computer from 1 G to 2 G.

    As I can remember the free command only shows little swapp and of course all RAM used.
    I am from the government, I am here to help you! Just ask!
    And don't expect more to be happen than with any other government!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •