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]
1

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.

Code: [Select]
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.

Code: [Select]
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.

2
I have submitted an error report to support. But 3 months have not seen it fixed. So now I post it here.
When you visit the user login page. The texts are not displayed, all are blank cells with no text attached.

Inside the console everything is normal. I have installed a new CWP on a brand new 7 centos with the same situation. Even I have access to the demo of CWP itself. They also don't show text in the user login page.


3
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

4
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]