Hello everyone. I am hoping professional users of CentOS Web Panel to help me set up CentOS Web Panel to run on super heavy traffic dynamic site.
I understand that the default configurations work for the majority of websites.
Let's imagine that I have a forum site that has 3000 active members, and 2000 guests online at the same time, at any given time.
Each of the members is posting content every 30 seconds. And each of the guests is clicking on pages every 15 seconds.
Total of 5000 visitors clicking on pages every 10-30 seconds on average.
Now my physical server is:
12 Core (24 threads) Xeon 2.50Ghz
32 GB RAM
1TB SSD
Now, please help me figure out what is the best configuration for these configs file in CentOS Web Panel, to make sure my server can handle the traffic described above.
So Far, I've done the following:
I set my webserver to:
nginx -> apache -> php-fpm
I increased the MySQL global connection allowance:
I set
max_connections = 5000
at
/etc/my.cnf.d/server.cnf
just below [mysqld]
I've increase some of my PHP memory as required by the forums I am using.
I've added my site to Cloudflare for their free CDN.
The question is, what else should I be aware of?
Because right now, my site sometime is down, or has a connection timeout.
I've heard about child process or idle workers and stuff like that but I am not sure how to set them up.
How to increase the allowance of workers in order to help me run the site I'm talking about above.