On Mar 2, 2023, at 03:35, Roberto Ragusa <mail@xxxxxxxxxxxxxxxx> wrote: > > On 2/27/23 13:44, Richard W.M. Jones wrote: > >> It turns out that the default open file limit (1024!) is too low. To >> change this and fix the problem: >> # systemctl edit httpd > This low limit can be an issue for many processes. > I don't understand why it is still so low in modern machines. > I've raised it a lot, many years ago, by editing > /etc/security/limits.conf, but I now see I get again > 1024. My guess is systemd is deciding by itself, and not > respecting my settings. /etc /security/limits.conf is only read by pam_limits.so in the PAM stack. Systemd processes don’t automatically use pam (although if you use ‘su’ or login somehow). You’d change it with the LimitsNOfile systemd directive. I think there’s a default setting in /etc/systemd/system.conf you can override the default. (Double-check man systemd.resource-control) -- Jonathan Billings _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-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/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue