I need your advice to set up my server for the best performance

Anoop AS

Registered
Feb 18, 2023
4
0
1
Kerala
cPanel Access Level
Root Administrator
I need your advice to set up my server for the best performance. I plan to host a single site on my server, and I need all your suggestions.
I go through multiple threads, and I am confused.


My new server has Total processors: 8 , Intel(R) Xeon(R) CPU E3-1245 V2 @ 3.40GHz,Speed:3800.000 MHz [ Intel Xeon E5-1245v2 - 32GB DDR3 1333Mhz - Hybrid SoftRaid 2x2To HDD SATA + 2x480GB SSD]


I am planning to host only one domain on this server. Which has a large amount of traffic, and the app will host a database size of 10GB near. The server has 250 Mbps unmetered bandwidth. Each page size of this website is below 1MB (total 100+ pages) and has a web application for billing.

I installed Almalinux 8 with cpanel and cpanel Nginx.

Currently installed plugins: Kernel care-free patch, ConfigServer Security & Firewall and a free ImunifyAV



So I wish to know whether I need to use the PHP-FPM service on this server.

If yes, what would be the recommended PHP-FPM SETTINGs?

Also, I need help configuring Apache-Global Configuration.

What numbers should I put on it to improve the server and website performance?





Also, what are all the other things I need to do to improve server performance?
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,235
2,423
363
cPanel Access Level
Root Administrator
Hey there! There aren't going to be good answers to these questions, as each server is different and responds differently to the same configurations. We have come up with the default configuration on the server after years of trial and error and testing various different systems, and for many people that works great. I would recommend only adjusting that configuration if you're noticing problems.

I would recommend installing Nginx (NGINX with Reverse Proxy | cPanel & WHM Documentation) as that consistently speeds up servers it is tested on, and doesn't require any additional Apache configuration work.

Other than that, it's really up to what your system needs and if you notice issues.
 

Anoop AS

Registered
Feb 18, 2023
4
0
1
Kerala
cPanel Access Level
Root Administrator
Thank you. i am getting below warning in my WHM, i am using nginx , how i can fix it?


Apache vhosts are not segmented or chroot()ed.
Enable “mod_ruid2” in the “EasyApache 4” area, enable “Jail Apache” in the “Tweak Settings” area, and change users to jailshell in the “Manage Shell Access” area. Consider a more robust solution by using “CageFS on CloudLinux”. Note that this may break the ability to access mailman via Apache.
 

retechpro

Well-Known Member
Dec 23, 2022
98
10
8
Pakistan
cPanel Access Level
Root Administrator
It’s recommendation from cpanel. You can ignore it without issue. If you want to fix it then follow it.

first enable mod_ruid2 module from EasyApache.
Second Enable Jail Apache in the Tweak Settings.
You can enable disable shell access for the users.

last recommendation is to use Cloudlinux. Cloudlinux offer cageFS who protect the cpanel from other cpanel. No other user can access the other acc.
It is best for shared Hosting. If you running for own then it is not necessary to use for single acc.
 
  • Like
Reactions: cPRex