cpu limitation
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. chcp a
  2. 22.11.2010
  3.  Subscribe via email
not working?
Rate this post:
  1. 22.11.2010 05:11:53
  2. # 1
chcp a Accepted Answer
Posts: 20
Joined: 29.10.2010

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)
  1. 22.11.2010 07:11:38
  2. # 2
Igor Seletskiy Accepted Answer
Posts: 1201
Joined: 09.02.2010
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.
  1. 05.12.2010 05:12:11
  2. # 3
kernow Accepted Answer
Posts: 72
Joined: 06.08.2010
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 ?
  1. 05.12.2010 09:12:30
  2. # 4
Igor Seletskiy Accepted Answer
Posts: 1201
Joined: 09.02.2010
It will be automatically lowered. You don\'t 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)
  • Page :
  • 1

There are no replies made for this post yet.
Be one of the first to reply to this post!
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.