How to configure my server to set "ulimit -n 16384"
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Fri Mar 28 19:34:03 UTC 2008
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?
>
You may want to take a look at /etc/security/limits.conf. I am
guessing you only want to set that limit for a specific user or
users. I have not played with it, but it looks like the correct
place to set the limit.
Mikkel
--
Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080328/deaa3569/attachment-0001.sig>
More information about the fedora-list
mailing list