Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - vanthoi

Pages: [1]
I am performing tests with Cgroups.
I found out that this module has taken the wrong disk parameters. Specifically the MAJ: MIN part of the drive
Config on CWP:
Code: [Select]
blkio {
             blkio.throttle.read_bps_device = "8:33 20971520";
             blkio.throttle.write_bps_device = "8:33 20971520";
In the case of lscgroup error:

Code: [Select]
Error: failed to set /sys/fs/cgroup/blkio/vanthoi/blkio.throttle.read_bps_device: Invalid argument
Error: failed to set /sys/fs/cgroup/blkio/vanthoi/blkio.throttle.write_bps_device: Invalid argument

After searching on google, I found an error caused by MAJ: MIN.
For example, my / home partition is / dev / sdc1 with MAJ: MIN 8:33

Code: [Select]
cat / proc / partitions | grep sdc
   8 32 262144000 sdc
   8 33 262142976 sdc1

But to limit the read / write speed on the hard disk, you need to use MAJ: MIN of the non-partition drive.

Config manal:
Code: [Select]
blkio {
             blkio.throttle.read_bps_device = "8:32 20971520";
             blkio.throttle.write_bps_device = "8:32 20971520";

I then proceeded to correct MAJ: MIN in the configuration so that everything was resolved.

Send developers to fix this module in the next update.
I am running on CentOS Linux release 7.8.2003
Kernel Version: 3.10.0-1127.13.1.el7.x86_64

I am having problems integrating CWP7 with WHMCS 7.10.2
I checked the API logs and WHMCS has no errors.
But when checking the newly created user information.
I don't see the info section of prossecc and open file limits!

Pages: [1]