On Thu, Mar 2, 2023 at 2:35 AM Roberto Ragusa <m...@robertoragusa.it> 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.
>
> Regards.
>

Systemd is started really early and seems to use the defaults.
Anything started from systemd needs to explicitly override in the
startup script.   Looking at the initramfs I don't see limits.conf in
there so when the switchroot happens and systemd gets started it would
have the default limits.
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to