Find the answer to your Linux question:
Results 1 to 4 of 4
My process gets killed on linux server without manual intervention. I have verified the following scenarios. •No manual intervention done to kill either by user or admin •RAM and SWAP ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2008
    Posts
    3

    Process killed on linux unexpectedly


    My process gets killed on linux server without manual intervention. I have verified the following scenarios.

    •No manual intervention done to kill either by user or admin
    •RAM and SWAP are not exhausted
    •'strace' gives me the message that "+++ killed by SIGKILL +++" - This makes me to assume that Kernel has killed the process.

    The process occupies 16.5GB of virtual memory where the RAM is 16GB and the SWAP being 50GB.

    234.jpg

    Could you please tell me the other reasons for Kernel to kill the process..

  2. #2
    Linux Engineer docbop's Avatar
    Join Date
    Nov 2009
    Location
    Woodshed, CA
    Posts
    932
    Have you gone thru you logs the time leading up to the process dying that is where you're going to find clues.
    A lion does not lose sleep, over the opinion of sheep.

  3. #3
    Just Joined!
    Join Date
    Dec 2008
    Posts
    3
    Yes.. I have gone through 'strace' and 'dmesg' logs but didn't left me any clue to way forward.

  4. #4
    Linux Newbie
    Join Date
    Jun 2012
    Location
    SF Bay area
    Posts
    167
    Maybe check for any resource limits that are in effect for the process with this:

    Code:
    cat /proc/###/limits
    where "###" is the process id. So obviously you'll need to check that while it's running. It might be that the code is failing on a malloc() or other memory allocation call then killing itself. If it's multi-threaded that might be the way one thread is signalling that the whole mess needs to shutdown.

Posting Permissions

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