On Mi, 15.04.20 09:33, Florian Weimer (fweimer@xxxxxxxxxx) wrote: > * Omair Majid: > > > (I was secretly hoping there was a way to bump rlim_cur past > > the current value of rlim_max...) > > Current Fedora seems to set the hard limit to at least 4096 for all > processes. Isn't that enough? See my earlier comments about this in this thread. systemd will nowadays set the hard limit for RLIMIT_NOFILE to 512K for all services, and that'll be inherited down to all sessions. Hence, any program that during its startup phase bumps the RLIMIT_NOFILE soft limit to the hard limit should have no issues with numbers of fds anymore, it may allocate a whipping 512K of them just like that. (But should still take care to reset the soft limit to 1024 again when forking off foreign code.) Lennart -- Lennart Poettering, Berlin _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx