# Create a Dgraph cgroup named "dgraph"
group dgraph {
# Specify which users can edit this group
perm {
admin {
uid = $BDD_USER;
}
# Specify which users can add tasks for this group
task {
uid = $BDD_USER;
}
}
# Set the memory and swap limits for this group
memory {
# Sets memory limit to 10GB
memory.limit_in_bytes = 10000000000;
# Sets memory + swap limit to 12GB
memory.memsw.limit_in_bytes = 12000000000;
}
}