How to configure my server to set "ulimit -n 16384"

James Kosin jkosin at beta.intcomgrp.com
Fri Mar 28 19:32:11 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
thomas Armstrong wrote:
| Hi.
|
| I'd like to configure my "ulimit" and change the value:
| --------
| ulimit -n 16384
| --------
|
| It works perfectly if I type it on the shell, but it doesn't work if I
| write it within a shell script (/etc/rc.d/init.d/httpd) or within
| '/etc/rc.local'
|
| The idea is changing it each time the server starts. Any suggestion?
|
I believe what you want to do is export ulimit for all subsequent 
shells.  Do you want this to be a global setting for all users or just a 
specific user?

James
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFH7Ue7kNLDmnu1kSkRAgAfAJ9/s9ho5eRwmDkWlCAYG0H5bU+G5gCeMauz
y9Di2lJ9uKG3VDBN6Ki8lSo=
=1cFO
-----END PGP SIGNATURE-----

-- 
Scanned by ClamAV - http://www.clamav.net




More information about the users mailing list