Questions tagged [ulimit]

181 questions
3
votes
1 answer

Changing ulimit on systemd

I've found this link, showing how to change the ulimits on systemd. /etc/systemd/system/.d/override.conf [Service] LimitNOFILE=49152 I found a website suggesting to change the ulimits for systemd in these…
DiViNe
  • 33
0
votes
1 answer

RHEL setting a user specific max number of open files

I've set up below values in /etc/security/limits.conf in my RHEL machine. * hard nofile 65535 @student hard nofile 100000 Is this the correct approach when setting a user specific max number of open files? Should the * hard nofile value be always…
thanuja
  • 251
0
votes
1 answer

ulimit overrides sysctl

I set sysctl fs.file-max = 4500000. However, ulimit still shows open files (-n) 1024 I understand that both values point to the max open file descriptors. How do I make ulmit respect the sysctl value? Is there any documentation on the meanings of…
kakinada
  • 1
  • 2
0
votes
1 answer

why OS can't automatically manage soft limit?

Yesterday oracle user had an error when he tried to login via ssh "error: do_exec_pty: fork: Resource temporarily unavailable". After I increased nproc soft limit he logged in. Then I started to reading about soft and hard limits and basing on this…