Trending Gist

How to Set Memory Usage Restrictions in Cpanel

How to Set Memory Usage Restrictions in Cpanel
Written by NewsAward

How to Set Memory Usage Restrictions in Cpanel

How to Set Memory Usage Restrictions in Cpanel

Valid for versions 82 through the latest version

Overview

This interface calculates and sets a new memory limit for Apache processes. This limit only applies to each individual Apache process. For more information, read Apache’s RLimitMEM documentation.

Note:
A process memory limit increases the stability of your server but may reduce process performance.

Set a memory usage limit

To set a new limit for Apache processes, perform the following steps:

  1. Select Enabled under RLimitMEM Settings.
  2. Enter a value in the text box.
    Note:
    The RLimitMEM value must be an integer greater than 1.

     

  3. Click Save.

Restart Apache

After you set a new memory limit, you must restart Apache in order for the change to take effect.

  • To rebuild and restart Apache now, click Rebuild Configuration and Restart Apache.
  • To rebuild and restart Apache later, use WHM’s HTTP Server (Apache) interface (WHM >> Home >> Restart Services >> HTTP Server (Apache)).

About the author

NewsAward

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.