On Fri, 14 Jun 2024 at 13:21, Mourad De Clerck <mou...@aquazul.com> wrote: > > > PSA: as of systemd/256~rc3-3 the open file descriptors hard limit is > > bumped early at boot from 1048576 to the max value that the kernel > > allows, which on amd64 is currently 1073741816. > > Hi, > > It seems some proprietary software (the JetBrains IDEs) has some > problems with this change. > > See for instance: https://youtrack.jetbrains.com/issue/IJPL-156522 > > While I wait for them to fix this on their end, what's the best way to > revert this to the original behaviour on my machine? > > I would think: > > echo "fs.nr_open = 1048576" > /etc/sysctl.d/99-max-fds.conf > > … would do the trick, but "ulimit -Hn" reports 524288. > > Something to do with DefaultLimitNOFILE=1024:524288 maybe? But > overriding that didn't work.
For user instances the link you shared has a workaround, it has to do with PAM limits, that should work. Please keep the pressure on the upstream project to fix that bug as well. Thanks.