Skip to content

Instantly share code, notes, and snippets.

@robinsmidsrod
Created October 31, 2017 11:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robinsmidsrod/b336d026bc07d53fde82b945f0303f26 to your computer and use it in GitHub Desktop.
Save robinsmidsrod/b336d026bc07d53fde82b945f0303f26 to your computer and use it in GitHub Desktop.
Process limits for telegraf process which is having issues spawning processes (inputs.exec)
# cat /proc/$(pidof telegraf)/limits
Limit Soft Limit Hard Limit Units
Max cpu time unlimited unlimited seconds
Max file size unlimited unlimited bytes
Max data size unlimited unlimited bytes
Max stack size 8388608 unlimited bytes
Max core file size 0 unlimited bytes
Max resident set unlimited unlimited bytes
Max processes 15796 15796 processes
Max open files 65536 65536 files
Max locked memory 65536 65536 bytes
Max address space unlimited unlimited bytes
Max file locks unlimited unlimited locks
Max pending signals 15796 15796 signals
Max msgqueue size 819200 819200 bytes
Max nice priority 0 0
Max realtime priority 0 0
Max realtime timeout unlimited unlimited us
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment