0

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 greater than the sum of user specific nofile values?

1

The entry starting with * is the default entry which applies to any user (except the users/groups with explicit limit). You can specify a limit for a specific group which can be higher or lower than the default entry limit.

There is no requirement like what you have said about the sum of user specific values.

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.