Results 1 to 2 of 2
default limitation umber 1024 set to all users following
Code:
[root@localhost ~]# tail /etc/security/limits.conf
#* hard rss 10000
#@student hard nproc 20
#@faculty soft nproc 20
#@faculty hard nproc 50
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-18-2012 #1
Linux increase the maximum number of open files question.
default limitation umber 1024 set to all users following
System-wide File DescriptorsCode:[root@localhost ~]# tail /etc/security/limits.conf #* hard rss 10000 #@student hard nproc 20 #@faculty soft nproc 20 #@faculty hard nproc 50 #ftp hard nproc 0 #@student - maxlogins 4 # End of file * soft nofile 1024 * hard nofile 1024 [root@localhost ~]# ulimit -n 1024
Question: i checked the open files of php process to output 17541,i thin the limitation of ulimit.conf is per unique user,but it was failure ,i don't know where the issue .need you help Thanks.Code:[root@localhost ~]# cat /proc/sys/fs/file-max 228182
Code:[root@localhost ~]# lsof -n|awk '{s+=gsub(/php-fpm/,"a")}END{print s}' 17541
- 05-19-2012 #2
I've read this several times, and I really can't understand what you're asking.
It sounds as though you may be construing limits.conf to set aggregate limits per user. This file is taken into account by pam_limits. Per the pam_limits manpage, it sets limits per user _session_:
The pam_limits PAM module sets limits on the system resources that can
be obtained in a user-session.


Reply With Quote
