[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: limits.conf does not work at etch ?



Sjors Gielen wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Frank Bonnet wrote:
Hello

I'm in trouble with the /etc/security/limits.conf file at ETCH AMD64
it does not apply the following statement after rebooting the machine

*        hard    nofile        65536

the nofile ulimit value stay sticked at 1024

Anyone knows a workaround ?

Thanks a lot

First of all, can you manually change the ulimit value using ulimit -n?


yes in the current shell



Second: What happens if you add:

*      soft   nofile  65536

next to the hard limit?


I found a workaround for MY case .

If I replace the "*" character by the user concerned by this statement it works ...

dovecot		soft	nofile		32768
dovecot		hard	nofile		65536


Then typing the following as root give this

mail:~# ulimit -n
65535


bug or feature ?



Sjors
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkm/n6EACgkQHJNr90P0N+GgKwCdGqTma2RnwB01mzadUFVJ826f
pZAAn2K8fY6meok/SzJratDWd/1zrwyP
=lu9f
-----END PGP SIGNATURE-----




Reply to: