OpenLiteSpeed server poor performance on BareMetal and dedicated servers

#1
Hello,

Using OpenLiteSpeed server on VPS works perfect with exceptional performance but we're facing an extremely poor performance on BareMetal and dedicated servers which is very strange.

The situation as follows:
--------------------------
  • Large WooCommerce website
  • OLS server installation on a $12 VPS (1vCPU and 2GB RAM) 'Used just for the development propose of the project'
  • The OLS server installation done through 1click application image (OpenliteSpeed1.7.16 - MariaDB10.9 - PHP8.1)

Till now the website is exceptionally working fast and no single issue we faced at all. Later we want to go live (production) and put the website on a BareMetal or a dedicated server. we used the below configuration:

  • Same backup of the WooCommerce website (not a single thing changed)
  • OLS server installation on a $140 BareMetal server (4 cores/8threads @ 3.8GHz and 32GB RAM)
  • Same OLS server installation done through 1click application image (OpenliteSpeed1.7.16 - MariaDB10.9 - PHP8.1)

So basically only we shifted from the VPS to the BareMetal server. Now the website is performing extremely slow and can take 10sec to 30sec only to interact. The dashboard is literally not performing and needs around 30sec as a minimum to open any page, sometimes we got 503 error.

We suspected maybe the maybe something with the website backup but when we took the website from the BareMetal server again back to the VPS worked without any issues.

Is there are any configurations that should be followed for optimizing the OLS server over dedicated server? maybe optimization for the CPU number?
(as a note we followed the documentation and all the tuning from here: https://docs.litespeedtech.com/lsws/tuning-dedicated/) but nothing worked.

Any suggestions will be appreciated.
Thanks
 

Cold-Egg

Administrator
#2
The same settings and same site work very fast on VPS but the BareMetal server? Have you checked the server load and memory usage by `top` command on the baremetal server, maybe some process is running heavily in the background. You can join https://litespeedtech.com/slack and direct message me @eric from there, maybe we can find the issue more quickly from there.
 
Top