CENTOS7.5 when the average user has a login prompt -bash: ulimit: open files: can not modify limit: Operation not permitted
in general we are modifying the file /etc/security/limits.conf, in my configuration file are as follows
- soft nproc 65535
- hard nproc 65535
- soft nofile 65535
- hard nofile 65535
by ulimit -a command found in the following results do not match the configuration.
open files (-n) 400000
thought it was configured failure, many changes can not be solved, suddenly remembered openfile modify another way to modify / etc / profile, and she saw the last line it reads, comments can be, the problem is solved.
ulimit -n 400000