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

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

 



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!

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux