User Tools

Site Tools


технология_cgroup

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
технология_cgroup [2024/05/14 15:30]
val [cgroup v2]
технология_cgroup [2026/05/06 15:02] (current)
val
Line 9: Line 9:
  
 <​code>​ <​code>​
 +# ###​systemd-run --scope -p MemoryMax=1M vim
 +
 # lssubsys -a # lssubsys -a
  
Line 16: Line 18:
 # cat /​sys/​fs/​cgroup/​system.slice/​apache2.service/​memory.high # cat /​sys/​fs/​cgroup/​system.slice/​apache2.service/​memory.high
  
-# echo 2000000 ​> /​sys/​fs/​cgroup/​system.slice/​apache2.service/​memory.high+# echo 8000000 ​> /​sys/​fs/​cgroup/​system.slice/​apache2.service/​memory.high
  
-# time curl 127.0.0.1+# time curl -s -o /​dev/​null ​127.0.0.1
  
 # systemctl edit --force --full my.slice # systemctl edit --force --full my.slice
технология_cgroup.1715689828.txt.gz · Last modified: 2024/05/14 15:30 by val