Announcement

Collapse
No announcement yet.

cpu limitation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • cpu limitation

    not working?

  • #2
    Hi

    we have updated the lve stable packages, since then it looks like the cpu limitation is always 12% for the users, especifically the users wich use mod_fcgid. For example one of the users has 40% cpu (--cpu=40). However the stats show 12% limitation. (lveinfo specifically)

    This is the section
    <lve id="edited">
    <cpu limit=" 40"></cpu>
    <io limit=" 25"></io>
    <other maxentryprocs=" 20"></other>

    Is it working and the stats are wrong? It looks like lvetop too is showing this (12% limitation)

    Comment


    • #3
      Sounds like it is 8 core server.
      In current version there is a limitation of 1 core per LVE, so at most you can get is 12% of CPU per LVE.
      Next version (lve 0.8) will let you use configurable amount of cores per LVE.

      Comment


      • #4
        So for an 8 core server, the default cpu limit should be 12 ?? and so to restrict a users cpu limit it needs to be less than 12 ? correct ?

        Comment


        • #5
          It will be automatically lowered. You don have to change defaults, just keep in mind that what ever you set -- the limit used will be no more then 1 CORE per LVE (in this version, 0.8 will allow to adjust the number of cores per LVE)

          Comment

          Working...
          X