Talk:Limits.conf

From ArchWiki
Latest comment: 11 July 2022 by Sweyn78 in topic nofile limit

Including systemd issues

I think we should discuss setting limits via limits.conf and through systemd files on the same page, since it's basically the same issue. That would mean renaming this page, however, since it wouldn't be limited (ha ha) to the limits.conf file. Any objection to just calling this page "System limits" and including systemd settings on this page as well? Chowbok (talk) 00:16, 6 August 2019 (UTC)Reply

Can you sandbox this first? ⟨Sweyn7804:38, 6 August 2019 (UTC)Reply

nofile limit

Wiki suggests that providing

*                hard    nofile           65536

will increasse the nofile limit, but it does not. One has to additionally add a soft limit with the same values. Can someone verify this? Leuko (talk) 15:55, 16 June 2021 (UTC)Reply

Hard limits are a hard cap, not an active value. You have to set a soft limit to actually see an effect. Soft limits can be set during runtime; hard limits cannot. -- Sweyn78 (talk) 21:22, 11 July 2022 (UTC)Reply