hen...@privatembox.com wrote: 
> my job consumes a lot of memory (almost consumes all of the system allowed
> ram).
> when the job is running, it will have the chance to be killed.
> I just got the reminder in terminal: Killed. and job exits.
> who is killing my job? linux kernel, or VPS management program?
> (I am using a 2 core, 8g RAM kvm vps).

Take a look in the logs, or run `sudo dmesg` and look for OOM
(out of memory).

By default, the kernel runs a process called the OOM Killer
which kills processes that are eating too much memory.

You can change the behavior with sysctl settings. These articles
might be of help:

https://sysctl-explorer.net/vm/
https://lwn.net/Kernel/Index/#OOM_killer

-dsr-

Reply via email to