cgroup/cgconfig.conf
2020-02-25 14:01:37 +01:00

35 lines
817 B
Plaintext

#
# 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";
}
}
group java {
cpu {
cpu.shares = "2000";
}
memory {
memory.limit_in_bytes = "512M"
memory.soft_limit_in_bytes = "384M"
}
}