Skip to content

Instantly share code, notes, and snippets.

@BenjaminHerbert
Last active April 6, 2016 09:57
Show Gist options
  • Save BenjaminHerbert/d0dda6fa9a6ef63c54aafcf4c8511713 to your computer and use it in GitHub Desktop.
Save BenjaminHerbert/d0dda6fa9a6ef63c54aafcf4c8511713 to your computer and use it in GitHub Desktop.
Linux fuu

Some helpful things for Linux

Systemd Maximum Number of Openfiles

  • systemd does not rely on ulimit (as opposed to Fedora), so /etc/security/limits.conf is ignored
  • The solutions is to use LimitNOFILE=10000 (with an appropriate value) in the .service file
    • systemctl daemon-reload
    • systemctl restart <service>
    • systemctl show -p LimitNOFILE <service>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment