Site https://steemyy.com was down for nearly 10+ hours, and finally it is back and the CPU usage has been observed back to normal.
Here were the steps taken:
- Upgrade from Ubuntu 18.04 to Ubuntu 20.04 and then Ubuntu 22.04 via
do_release_upgrade
command, do remember to run this upgrade command in a saved sessionscreen -S upgrade
- Apply a rate-limiting rule to the / so that for any 10 second period, a maximum number of 20 requests are allowed per IP.
- Set the PHP-FPM process to
pm=ondemand
,pm.max_children=50
andpm.max_request=500
VPS Server Spec:
- 4 Core Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz
- 6 GB RAM
- 80 GB SSD
- 4TB Bandwidth
Before:
After:
I will closely monitor this.
Steem to the Moon!
- You can swap the STEEM/SBD to USDT (TRC-20) via Steem2USDT
- Register a free STEEM account at here