47 lines
993 B
Plaintext
47 lines
993 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 = "1000";
|
|
}
|
|
|
|
memory {
|
|
memory.limit_in_bytes = "768M";
|
|
memory.soft_limit_in_bytes = "384M";
|
|
}
|
|
}
|
|
|
|
group firefox {
|
|
cpu {
|
|
cpu.shares = "2000";
|
|
}
|
|
|
|
memory {
|
|
memory.soft_limit_in_bytes = "3G";
|
|
memory.limit_in_bytes = "4G";
|
|
}
|
|
}
|
|
|