How does the OOM killer decide which process to kill?
How does the OpenVZ out-of-memory killer choose which process to kill? I would like to be able to set priorities on my process. For example, it would be acceptable to kill a PHP process, but not my Nginx web server process.