First allow me to intoduced my self here
i have read this thread, same problem but different source of problem.
Prologue
We (me and my team/ campus) have a dedicated server placed in our place. we choose WHM as our tools to manage server, and have a little (almost zero) knowledge about how managing a server. Before we use WHM, we rent a hosting to host most of our website. but we concerned about our student data, and decided to build own server.
Part 1 (server spesification)
Total processors: 32Processor #1Vendor Genuine IntelNameIntel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz Speed 2100.000 MHzCache 11264 KB
And Dedicated Connection 50 Mbps with Mikrotik OS as Router
PART 2 (base on this recommendation)
How many sites on the server?
Currently 44 Account in our account list. every account consist about 2-3 websites. majority of website we using wordpress.
Beside sites, we have a Open Journal System (OJS) 2 and 3 Installed on Server (one most most consistent traffic).
and of course Academic Information System. (AIS)
most (not all) AIS built with Code Igniter.
one REST API server built with Lumens.
What is the normal load averages?
on daily use, we just have a little problem with server load. only 1 month every semester we have high load problem because a lot of activity in initial semester such as student make a study contract, input student grade, prepare class data, sync with our government server about study data.
How much ram is on the server?
32 GB.
What version of PHP are you using?
Mixed
but a majority use 7.3 only a small portion using 5.6. but most of 5.6 App will be there (just for data show) but not for CRUD.
Do you have PHP opcache installed?
yes, we have PHP opchace Installed
What database version are you using?
in this early month we currently using remote MySQL (different server with local ip)
Server: xxx.xxx.xxx.xxx via TCP/IP
Server type: MySQL
Server connection: SSL is not being used Documentation
Server version: 5.7.29 - MySQL Community Server (GPL)
Protocol version: 10
Apache Global Conf
Start Servers [?] 25
Minimum Spare Servers [?] 25
Maximum Spare Servers [?] 100
Server Limit (Maximum: 20,000) [?] 500
Max Request Workers [?] 250
Max Connections Per Child [?] 10000
Keep-Alive [?] On
Keep-Alive Timeout [?] 5
Max Keep-Alive Requests [?] 100
Timeout [?] 300
Symlink Protection [?] On
PHP-FPM Pool Options
Max Requests 250
Process Idle Timeout 300
Max Children 25
Problem
Every time our server stuck/ crash (when a lot of Process wait to send Reply (a lots of W )), we must restart PHP-FPM server sometimes PHP-FPM and http server (apache) before we move out out DB. we restart mysql services too. this problem happen not very often. only when we start new semester. daily average just need not more than twice a day. on daily basis just Presence App and our website running. not many user (student and lecturer) accessed AIS.
Epilogue
this problem happen because we miss configuration our server or (and) our bandwidth is too small to handle the request? if bandwidth to small. why we can still access WHM (or another port beside 443 or 80) with no problem. we still can reset out server with WHM interface in port 2087.
Please help us.
thank you.
i have read this thread, same problem but different source of problem.
Prologue
We (me and my team/ campus) have a dedicated server placed in our place. we choose WHM as our tools to manage server, and have a little (almost zero) knowledge about how managing a server. Before we use WHM, we rent a hosting to host most of our website. but we concerned about our student data, and decided to build own server.
Part 1 (server spesification)
Total processors: 32Processor #1Vendor Genuine IntelNameIntel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz Speed 2100.000 MHzCache 11264 KB
Memory Information |
---|
[ 0.000000] Memory: 5717008k/35651584k available (7760k kernel code, 2419284k absent, 831520k reserved, 5967k data, 1984k init) |
System Information |
---|
Linux server_name 3.10.0-1062.1.2.el7.x86_64 #1 SMP Mon Sep 30 14:19:46 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux |
Physical Disks |
---|
[ 4.301984] sd 0:2:0:0: [sda] 2341994496 512-byte logical blocks: (1.19 TB/1.08 TiB) [ 4.302055] sd 0:2:0:0: [sda] Write Protect is off [ 4.302059] sd 0:2:0:0: [sda] Mode Sense: 22 00 00 0b [ 4.302099] sd 0:2:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 4.309591] sda: sda1 sda2 [ 4.311039] sd 0:2:0:0: [sda] Attached SCSI disk [ 10.484707] sd 0:2:0:0: Attached scsi generic sg0 type 0 |
Current Memory Usage |
---|
total used free shared buff/cache available Mem: 32424544 3429240 4857924 428340 24137380 28134456 Swap: 16318460 776 16317684 Total: 48743004 3430016 21175608 |
Current Disk Usage |
---|
Filesystem Size Used Avail Use% Mounted on devtmpfs 16G 0 16G 0% /dev tmpfs 16G 4.0K 16G 1% /dev/shm tmpfs 16G 294M 16G 2% /run tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/mapper/centos-root 50G 17G 34G 34% / /dev/sda1 1016M 269M 747M 27% /boot /dev/mapper/centos-home 1.1T 139G 911G 14% /home /dev/loop0 2.2G 71M 2.0G 4% /tmp tmpfs 3.1G 0 3.1G 0% /run/user/0 |
And Dedicated Connection 50 Mbps with Mikrotik OS as Router
PART 2 (base on this recommendation)
How many sites on the server?
Currently 44 Account in our account list. every account consist about 2-3 websites. majority of website we using wordpress.
Beside sites, we have a Open Journal System (OJS) 2 and 3 Installed on Server (one most most consistent traffic).
and of course Academic Information System. (AIS)
most (not all) AIS built with Code Igniter.
one REST API server built with Lumens.
What is the normal load averages?
on daily use, we just have a little problem with server load. only 1 month every semester we have high load problem because a lot of activity in initial semester such as student make a study contract, input student grade, prepare class data, sync with our government server about study data.
How much ram is on the server?
32 GB.
What version of PHP are you using?
Mixed
but a majority use 7.3 only a small portion using 5.6. but most of 5.6 App will be there (just for data show) but not for CRUD.
Do you have PHP opcache installed?
yes, we have PHP opchace Installed
What database version are you using?
in this early month we currently using remote MySQL (different server with local ip)
Server: xxx.xxx.xxx.xxx via TCP/IP
Server type: MySQL
Server connection: SSL is not being used Documentation
Server version: 5.7.29 - MySQL Community Server (GPL)
Protocol version: 10
Apache Global Conf
Start Servers [?] 25
Minimum Spare Servers [?] 25
Maximum Spare Servers [?] 100
Server Limit (Maximum: 20,000) [?] 500
Max Request Workers [?] 250
Max Connections Per Child [?] 10000
Keep-Alive [?] On
Keep-Alive Timeout [?] 5
Max Keep-Alive Requests [?] 100
Timeout [?] 300
Symlink Protection [?] On
PHP-FPM Pool Options
Max Requests 250
Process Idle Timeout 300
Max Children 25
Problem
Every time our server stuck/ crash (when a lot of Process wait to send Reply (a lots of W )), we must restart PHP-FPM server sometimes PHP-FPM and http server (apache) before we move out out DB. we restart mysql services too. this problem happen not very often. only when we start new semester. daily average just need not more than twice a day. on daily basis just Presence App and our website running. not many user (student and lecturer) accessed AIS.
Epilogue
this problem happen because we miss configuration our server or (and) our bandwidth is too small to handle the request? if bandwidth to small. why we can still access WHM (or another port beside 443 or 80) with no problem. we still can reset out server with WHM interface in port 2087.
Please help us.
thank you.