default settings
Announcement
Collapse
No announcement yet.
Do I need to change the default settings?
Collapse
X
-
I am a web designer and had CL installed on my server along with CageFS a few weeks ago. The server contains about 100 small low-traffic web sites, plus 5-10 larger, busy ones. Clients dont want or have access to Cpanel. Most sites are Wordpress.
The primary reason was (a) for server security and (b) to create a fairer system to prevent the busy sites hogging server resources to detriment of smaller ones.
I havent changed any of the default settings below
CPU usage (SPEED) 100
Virtual Memory (vMEM) 1024
Physical memory (pMEM) 1024
Concurrent connections (EP) 20
Number of processes (nPROC) 100
I/O limit (IO) 1024
Number of inodes (soft|hard) 0 0
I have received several notifications re "Hosting account resources exceeded" for the busy sites but, tbh, I dont really know what of these to change, or what levels to change to. Checking stats, about 10 of the larger sites have hit all max levels about once each day (maybe thats acceptable?)
If appropriate, I was thinking of having two levels of settings, one for small sites and one for large sites. Can anyone give me any guidance what settings to use for the busier sites?
My server is a Quad Core 3.10GHz (8MB Cache) with 8.0GB DDR3 1333MHz Memory.
Thanks.
-
Sam, default settings are good, you can keep using them. Just set vmem to 0 (it better to use pmem instead).
CloudLinux was specially designed to limit user to appropriate values, so receiving some few notifications about resources exceeded is normal and really means CL works as it shoult. However as you are the only one who manage websites on this server and you know your setup then definitely you may consider increasing some values. First take what is actually failing with:
Code:lveinfo --by-fault any --period=1d
Also, its really reasonable to create second plan with increased values for bigger websites, in most cases you need to increase CPU to 150 , pmem to 1.5G and EP to 30.
Comment
Comment