
Security News
New CVE Forecasting Tool Predicts 47,000 Disclosures in 2025
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
disable-oom-killer
Advanced tools
Disable the OOM (Out Of Memory) Killer for a process (linux only)
Disable the OOM (Out Of Memory) Killer for a process (linux only)
var disableOomKiller = require('disable-oom-killer')
disableOomKiller(function (err) {
// swallow errors
})
var cp = require('child_process')
var disableOomKiller = require('disable-oom-killer')
var lsr = cp.spawn('ls', [ '-R' ])
disableOomKiller(lsr)
var disableOomKiller = require('disable-oom-killer')
disableOomKiller([opts], [cb])
opts
is an optional object:
pid
is a string/number of the pid to kill. Defaults to process.pid
. If the PID is not running, it will likely cause an error.oom_adj
is a string/number of the oom_adj. Defaults to -17
oom_score_adj
is a string/number of the oom_score_adj. Defaults to -1000
cb(err)
is an optional callback function. Will call back with an error if on a non-linux system. If no callback is supplied, errors will be thrown.disableOomKiller.sync([opts])
Synchronous version of disableOomKiller()
. Any errors that occur will be thrown.
opts
- Same as above.With npm do:
npm install disable-oom-killer
FAQs
Disable the OOM (Out Of Memory) Killer for a process (linux only)
The npm package disable-oom-killer receives a total of 1 weekly downloads. As such, disable-oom-killer popularity was classified as not popular.
We found that disable-oom-killer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.