User Tools

Site Tools


en:resource_limiting_with_rctl_8

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:resource_limiting_with_rctl_8 [2018/01/31 22:46]
gman999
en:resource_limiting_with_rctl_8 [2018/01/31 22:46] (current)
gman999
Line 25: Line 25:
 In this case, the tor daemon will only be allowed to use up to 2.5Gb of RAM. In this case, the tor daemon will only be allowed to use up to 2.5Gb of RAM.
  
-% rctl -a user:​_tor:​memoryuse:​deny=2500M/​_tor+     % rctl -a user:​_tor:​memoryuse:​deny=2500M/​_tor
  
 To confirm that the rule is implemented To confirm that the rule is implemented
  
-% rctl +     % rctl 
-user:​_tor:​memoryuse:​deny=2621440000+     ​user:​_tor:​memoryuse:​deny=2621440000
  
 Rules persist across reboots if added to /​etc/​rctl.conf:​ Rules persist across reboots if added to /​etc/​rctl.conf:​
  
-user:​_tor:​memoryuse:​deny=2500M/​_tor+     user:​_tor:​memoryuse:​deny=2500M/​_tor
en/resource_limiting_with_rctl_8.txt · Last modified: 2018/01/31 22:46 by gman999