Control Web Panel
WebPanel => CentOS-WebPanel Bugs => Topic started by: vanthoi on December 02, 2020, 10:28:38 AM
-
I sent an error message before, but it hasn't been fixed yet. I've had to manually configure it before. The error I describe here:
https://forum.centos-webpanel.com/index.php?topic=9263.0
Up to today I update to add a new client I discovered a new bug. It is after saving it creates a strange string behind the drive parameters.
policy goi_2GB
group caodat {
cpu {
cpu.cfs_quota_us = 500000;
cpu.cfs_period_us = 100000;
}
memory {
memory.limit_in_bytes = 2G;
memory.memsw.limit_in_bytes = 2G;
}
blkio {
blkio.throttle.read_bps_device = "8:336Jun53Sep151Jun215Nov151Sep234Jul151Jun151Jul151Jun792Nov4096Nov165Dec 20000000";
blkio.throttle.write_bps_device = "8:336Jun53Sep151Jun215Nov151Sep234Jul151Jun151Jul151Jun792Nov4096Nov165Dec 20000000";
}
}
If I delete the parameters behind. Then everything is working fine.
policy goi_2GB
group caodat {
cpu {
cpu.cfs_quota_us = 500000;
cpu.cfs_period_us = 100000;
}
memory {
memory.limit_in_bytes = 2G;
memory.memsw.limit_in_bytes = 2G;
}
blkio {
blkio.throttle.read_bps_device = "8:32 20000000";
blkio.throttle.write_bps_device = "8:32 20000000";
}
}
Hopefully development will fix this.
-
you should contact cwp support/dev to check it on your server as this looks like a specific issue to your server
https://control-webpanel.com/contact
-
I sent an error message before, but it hasn't been fixed yet. I've had to manually configure it before. The error I describe here:
https://forum.centos-webpanel.com/index.php?topic=9263.0
Up to today I update to add a new client I discovered a new bug. It is after saving it creates a strange string behind the drive parameters.
policy goi_2GB
group caodat {
cpu {
cpu.cfs_quota_us = 500000;
cpu.cfs_period_us = 100000;
}
memory {
memory.limit_in_bytes = 2G;
memory.memsw.limit_in_bytes = 2G;
}
blkio {
blkio.throttle.read_bps_device = "8:336Jun53Sep151Jun215Nov151Sep234Jul151Jun151Jul151Jun792Nov4096Nov165Dec 20000000";
blkio.throttle.write_bps_device = "8:336Jun53Sep151Jun215Nov151Sep234Jul151Jun151Jul151Jun792Nov4096Nov165Dec 20000000";
}
}
If I delete the parameters behind. Then everything is working fine.
policy goi_2GB
group caodat {
cpu {
cpu.cfs_quota_us = 500000;
cpu.cfs_period_us = 100000;
}
memory {
memory.limit_in_bytes = 2G;
memory.memsw.limit_in_bytes = 2G;
}
blkio {
blkio.throttle.read_bps_device = "8:32 20000000";
blkio.throttle.write_bps_device = "8:32 20000000";
}
}
Hopefully development will fix this.
I am having this same issue. For some reason, whenever I add or change a user's cgroup policy template, it added that extra string (month/day) in the user's cgroup configuration. It can be manually clean up but it will be a burden when new users signup, we need to edit the user's cgroup configuration manually.