Wong wrote:
Hi Peter,
I even reboot the machine but no change.
Is it any setting other than /etc/security/limit.conf?
Yes, /etc/sysconfig/ulimit which is parsed by /etc/initscript and /etc/init.d/multipathd also sets the -n (if activated)
Try find /etc -type f | xargs grep ulimit
Pit
Hi Peter, Below the captured report. I run SQUID and need FILE DESCRIPTOR more than 1024. That is why I want to increase the softlimit -n to higher value. Currently I set to 16384, but Squid still reports FD 1024. Thanks. Wong ----Snip--- grep: /etc/zypp/repos.d/openSUSE: No such file or directory grep: 11.1-0.repo: No such file or directory /etc/csh.login:# ulimit package instead to set up ulimits and your PATH. /etc/sysconfig/ulimit:# This value corresponds to ulimit -Hv /etc/sysconfig/ulimit:# This value corresponds to ulimit -Sv /etc/sysconfig/ulimit:# This value corresponds to ulimit -Hm /etc/sysconfig/ulimit:# This value corresponds to ulimit -Sm /etc/sysconfig/ulimit:# This value corresponds to ulimit -Hs /etc/sysconfig/ulimit:# This value corresponds to ulimit -Ss /etc/sysconfig/ulimit:# This value corresponds to ulimit -Hd /etc/sysconfig/ulimit:# This value corresponds to ulimit -Sd /etc/sysconfig/ulimit:# This value corresponds to ulimit -Hl /etc/sysconfig/ulimit:# This value corresponds to ulimit -Sl /etc/sysconfig/ulimit:# Corresponds to ulimit -Ht. /etc/sysconfig/ulimit:# Corresponds to ulimit -St. /etc/sysconfig/ulimit:# Corresponds to ulimit -Hn. /etc/sysconfig/ulimit:# Corresponds to ulimit -Sn. /etc/sysconfig/ulimit:# Corresponds to ulimit -Hc. /etc/sysconfig/ulimit:# Corresponds to ulimit -Sc. /etc/sysconfig/ulimit:# Corresponds to ulimit -Hf. /etc/sysconfig/ulimit:# Corresponds to ulimit -Sf. /etc/sysconfig/ulimit:# Corresponds to ulimit -Hu. /etc/sysconfig/ulimit:# Corresponds to ulimit -Su. /etc/sysconfig/apache2:# Note about ulimits: /etc/sysconfig/apache2:# if you want to set ulimits, e.g. to increase the max number of open file handle, /etc/sysconfig/apache2:# simply write the ulimit commands into that file. /etc/sysconfig/apache2:# ulimit -n 16384 /etc/sysconfig/apache2:# ulimit -H -n 16384 /etc/sysconfig/apache2:# ulimit -c unlimited /etc/sysconfig/apache2:# See the output of "help ulimit" in the bash, or "man 1 ulimit". /etc/initscript:# Set ulimits from sysconfig /etc/initscript:# Set umask to safe level, and set ulimits /etc/initscript:if test -r /etc/sysconfig/ulimit; then /etc/initscript: . /etc/sysconfig/ulimit /etc/initscript: test -z "$SARGS" || ulimit $SARGS /etc/initscript: test -z "$HARGS" || ulimit $HARGS /etc/initscript: #test -z "$SARGS2" || ulimit $SARGS2 /etc/initscript: test -z "$SARGS" || ulimit $SARGS /etc/initscript: test -z "$HARGS" || ulimit $HARGS /etc/initscript: test -z "$SARGS2" || ulimit $SARGS2 /etc/init.d/boot: #ulimit -c unlimited /etc/init.d/multipathd: ulimit -n $MAX_OPEN_FDS /etc/init.d/boot.multipath: ulimit -n $MAX_OPEN_FDS /etc/init.d/apache2:# Note about ulimits: /etc/init.d/apache2:# if you want to set ulimits, e.g. to increase the max number of open file handle, /etc/init.d/apache2:# simply write the ulimit commands into that file. /etc/init.d/apache2:# ulimit -n 16384 /etc/init.d/apache2:# ulimit -H -n 16384 /etc/init.d/apache2:# ulimit -c unlimited /etc/init.d/apache2:# See the output of "help ulimit" in the bash, or "man 1 ulimit". /etc/profile:# ulimit package instead to set up ulimits and your PATH. /etc/profile:# ulimit -Sc 0 # don't create core files /etc/profile:# ulimit -Sd $(ulimit -Hd) /etc/profile:# ulimit -Ss $(ulimit -Hs) /etc/profile:# ulimit -Sm $(ulimit -Hm) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org