Author Topic: How to setup Centos Web Panel for a high traffic dynamic website?  (Read 5733 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
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
Code: [Select]
/etc/my.cnf.d/server.cnfjust 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.
« Last Edit: January 12, 2021, 01:00:44 AM by beedno »

Offline
*****
Re: How to setup Centos Web Panel for a high traffic dynamic website?
« Reply #1 on: January 12, 2021, 09:15:01 AM »
well this is not normal behavior you probably getting DDOS.

Offline
*
Re: How to setup Centos Web Panel for a high traffic dynamic website?
« Reply #2 on: January 12, 2021, 09:42:47 AM »
yes, i am getting ddos everyday. I also make another topic on how to resolve it using mod security.

Anyway, any recommended to for high traffic site? Do I need to set up to increaes workers?

Offline
*
Re: How to setup Centos Web Panel for a high traffic dynamic website?
« Reply #3 on: January 12, 2021, 10:31:53 AM »
you should check those attacks with some experienced sysadmins or cwp support as all depends on the problem those attacks cause on your server and the type of the attack
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.