Author Topic: Error detection Module Limit server resources (cgroups) error Invalid argument  (Read 3743 times)

0 Members and 1 Guest are viewing this topic.

Offline
*

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.

Offline
*
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
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*

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.

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.