Tuesday, March 6, 2012

RLimits


RLimits

Resource limits, or RLimits, are sometimes appropriate on older hardware, or if a customer requests them specifically. It can only be set on  VPS/Dedicated servers. 

RLimits can be added to :-
 
# /usr/local/apache/conf/include/pre_main_global.conf

The most common entries are: Limits memory usage to 100MB. (note: will not work on VZ VPS)

RLimitMEM 104857600 104857600

Limits CPU usage.

RLimitCPU 150 200

Limits Number of processes per user (This is what regulates the process limits on shared servers).

RLimitNPROC 25 30

No comments:

Post a Comment