cgroup/cgconfig.conf

47 lines
993 B
Plaintext
Raw Permalink Normal View History

2020-02-25 10:54:05 +00:00
#
# Copyright IBM Corporation. 2007
#
# Authors: Balbir Singh <balbir@linux.vnet.ibm.com>
# This program is free software; you can redistribute it and/or modify it
# under the terms of version 2.1 of the GNU Lesser General Public License
# as published by the Free Software Foundation.
#
# This program is distributed in the hope that it would be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
group chromium {
cpu {
cpu.shares = "1000";
}
memory {
memory.limit_in_bytes = "1G";
memory.soft_limit_in_bytes = "768M";
}
}
2020-02-25 13:00:08 +00:00
group java {
cpu {
2020-04-03 17:10:25 +00:00
cpu.shares = "1000";
2020-02-25 13:00:08 +00:00
}
memory {
2020-02-28 12:27:00 +00:00
memory.limit_in_bytes = "768M";
memory.soft_limit_in_bytes = "384M";
2020-02-25 13:00:08 +00:00
}
}
2020-04-03 17:10:25 +00:00
group firefox {
cpu {
cpu.shares = "2000";
}
memory {
memory.soft_limit_in_bytes = "3G";
memory.limit_in_bytes = "4G";
}
}