Welcome to the Linux Foundation Forum!

ulimit defaults

Where are the ulimit default values taken from? There is nothing in these locations:
* /etc/security/limits.conf
* /etc/security/limits.d/
* /etc/systemd/system.conf

Comments

  • coop
    coop Posts: 916

    unless overridden by these files they are set in the kernel itself, mostly to unlimited

  • coop
    coop Posts: 916

    for a little more detail, do cat /proc/1/limits which shows the values for init. note that any process inherits the limits of its parents.

Categories

Upcoming Training