Correcting LVE Settings
Forum
For more information on the latest vulnerability (CVE-2018-12130, CVE-2018-12126, CVE-2018-12127, and CVE-2019-11091),
please refer to our blog post
  1. Forums
  2. CloudLinux and Control Panels
  3. CloudLinux and cPanel
  1. MrRoot
  2. Monday, 01 April 2019
  3.  Subscribe via email
Hello,

We are a hosting a provider, we want to set correct CPU, RAM, I/O, EP Restrictions.

After the user exceeds we want to says please use caching plugins or upgrade to VPS or Dedicated.

Right now we use these:

Plan A: 20% CPU 700 RAM 30 EP 1MB I/O
Plan A: 20% CPU 700 RAM 100 EP 1MB I/O
Plan C: 100% CPU 1024 RAM 200 EP 1MB I/O

Please any suggestion is appreciated.

Server information
48 CPU
64 GB RAM
850+ Websites in it, 610 websites are Plan C


Do i need to upgrade my server and divide websites in multiple websites

Any Advice
Rate this post:
  1. 02.04.2019 16:04:45
  2. # 1
Vladimir Accepted Answer
Posts: 108
Joined: 04.07.2017
0
Votes
Undo
Hello,

Your limits look too low. Bellow you can find recommendations for typical shared hosting setup. The recommendations don't depend on the power of your server. They only depend on how "fast" you want your hosting accounts to be.

Typical Hosting Account

SPEED=100%
PMEM=512MB
VMEM=0
IO=1024KB/s
IOPS=1024
NPROC=100
EP=20



High End Hosting Account

SPEED=200%
PMEM=1GB
VMEM=0
IO=4096KB/s
IOPS=1024
NPROC=100
EP=40

More information about LVE limits can be found here:
https://docs.cloudlinux.com/limits.html
  1. 06.04.2019 22:04:24
  2. # 2
Michael Accepted Answer
Posts: 0
Joined: 25.06.2019
0
Votes
Undo
this is wrong... nproc and ep should at least be identical, acutally ep should be 10-15higher than nproc
but still.. even on a highend machine.. cpanel/cloudlinux is pretty slow and you never can run 600 websites on a server.. not with databases
  1. 07.04.2019 10:04:18
  2. # 3
Vladimir Accepted Answer
Posts: 108
Joined: 04.07.2017
0
Votes
Undo
Hi Michael,

> acutally ep should be 10-15higher than nproc

This is the wrong suggestion. The NPROC limits should always be higher than the EP.
The following article gives an insight on how EP and NPROC limits work:
https://cloudlinux.zendesk.com/hc/en-us/articles/115004516985
  1. 07.04.2019 10:04:45
  2. # 4
michael Accepted Answer
Posts: 0
Joined: 25.06.2019
0
Votes
Undo
ah yep, its vice versa in lve.

EP left, NPROC right..
NPROC > EP
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
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)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.