Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Rails app runs with OOM killer score set to -1000 #2105
Question 1: What is the problem?
My Rails app runs with OOM killer score set to -1000 (never killed).
As shown below, the score of all Passenger's processes is -1000 while that of Apache's is 0.
My CentOS7 VMWare image is available at:
It looks like this issue is quite similar to #1631.
Question 2: Passenger version and integration mode:
Open source 5.3.3 and Apache integration mode.
Question 3: OS or Linux distro, platform (including version):
CentOS Linux release 7.5.1804 (Core) - x86_64
Question 4: Passenger installation method:
[x] RubyGems, no Gemfile
Question 5: Your app's programming language (including any version managers) and framework (including versions):
Ruby 2.5.0p0, Rails 5.2.0, Apache 2.4.6
Question 6: Are you using a PaaS and/or containerization? If so which one?
Question 7: Anything else about your setup that we should know?
Is this expected to be addressed soon? I believe this behavior has introduced some instability on one of my production servers. PostgreSQL is putting memory pressure on the system (which is a separate problem I'm working on), but this pressure sometimes triggers the OOM Killer, which skips the large Ruby app processes and ends up killing PostgreSQL itself (which is also using a lot of memory, but only has