Server Back to Normal - and Steps Taken to Fix ThissteemCreated with Sketch.

in Witness Activities3 years ago

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:

  1. 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 session screen -S upgrade
  2. Apply a rate-limiting rule to the / so that for any 10 second period, a maximum number of 20 requests are allowed per IP.
  3. Set the PHP-FPM process to pm=ondemand, pm.max_children=50 and pm.max_request=500

VPS Server Spec:

  1. 4 Core Intel(R) Xeon(R) CPU E5-2680 v4 @ 2.40GHz
  2. 6 GB RAM
  3. 80 GB SSD
  4. 4TB Bandwidth

Before:
image.png

After:

image.png

I will closely monitor this.


Steem to the Moon!

  1. You can swap the STEEM/SBD to USDT (TRC-20) via Steem2USDT
  2. Register a free STEEM account at here

Sort:  

!thumbsup !test

Hello @justyy! You are great!


command: !thumbsup is powered by witness @justyy and his contributions are: https://steemyy.com
More commands are coming!

You are really Great sir

Coin Marketplace

STEEM 0.04
TRX 0.32
JST 0.098
BTC 64085.58
ETH 1844.13
USDT 1.00
SBD 0.38