Linux 3.16 version when Oom chooses which process to kill

Source: Internet
Author: User
# Linux 3.16 version Oom choose which process to kill----# # # Background I have 2 scheduled tasks, a task A is 00:00 run, another B is 04:00 run. Under normal circumstances a will run at 2, but one day because of the time spent on a step too long, resulting in 4 points have not run out, this time a memory consumption of about 12g. 4 o'clock began, B began to run, gradually ran up, when the memory used to about 6g, the system memory is not enough to kill a. Question: For this I have a question, that is why the process after the rise did not kill, but instead killed the original run the good process. Reason # # # # # # # # # # # # # # # # # # # # # # # # # # # SIGKILL The Linux selection process strategy can refer to http://elixir.free-electrons.com/linux/latest/source/mm/oom_kill.c this can be from Select_bad_ Process this function to start, I am also learning. Speaking relatively shallow, just said a approximate, detailed program, and so I read the code to add up.

Linux 3.16 version when Oom chooses which process to kill

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.