Table of Contents

Manually Increase the Ulimit on ClearOS 6

On large environments, an increase in the ulimit can increase the performance.

Testing

To see what your current ulimit is set to run the following:

ulimit -n

To temporarily set it higher, run:

ulimit -n 65536

The system will revert back to it's standard ulimit. To change it permanently, refer to the next section.

Settings

To tweak this environment variable, log in to ClearOS using SSH or from the console navigate to the command line.

Edit the following file:

/etc/security/limits.conf

Add the following lines at the end of the file:

<code>* hard nofile 65536 search?q=clearos%2C%20clear6%2C%20version6%2C%20clearos%20content%2C%20kb%2C%20howtos%2C%20maintainer_dloper&amp;btnI=lucky