How to implement Apache Memory Usage Restrictions in WHM?

Memory Usage Restrictions:

  1. WHM >> Service Configuration >> Apache Configuration
  2. Click on Memory Usage Restrictions
  3. Click the Proceed button to activate this feature.

This feature will limit Apache’s memory consumption by examining its usage history. The new memory limits will be updated in the Apache configuration.

RLimitMEM is the parameter that limits the memory consumption of processes launched by Apache children.

# grep RLimitMEM /usr/local/apache/conf/httpd.conf

RLimitMEM 268435456