codytubbs / fork_shim Goto Github PK
View Code? Open in Web Editor NEWTakes advantage of LD_PRELOAD to shim code in prior to puppet using libc, which monitors all fork() (lib)calls. Efficiently sets the OOM Killer value to 1000 for all forked PIDs that are created by puppet (or any other daemon/process that forks or spawns children that may become an issue). Supports process and flag white-listing.