Jump to content

New shop, unstable, slowly.. high use of CPU mostly from mariadbd


alcor

Recommended Posts

Hello guys, we are kind of new and we've noticed my shop here, alone in a XXL Ionos VPS:

Tamaño: vps xxl

CPU: 12 vCore

RAM: 24 GB

Soporte de datos: 640 GB NVMe SSD

The shop is facing down moments, when the CPU is very high in using... and the processes, the database sometimes using more than 100%...

In the graphs, the moments going down is because we restart the server.

Any idea what's going on? How can we get more info and of course fix that?

Thanks in advance!

 

Screenshot2025-02-08at13_57_41.thumb.png.9e7802f5bceb8840322160a9a56f0c79.pngScreenshot2025-02-09at12_05_07.thumb.png.1fc0f3af1400c05b9042434a48b3e9e5.png

It's a PLESK Ubuntu 22.04.5 LTS

Link to comment
Share on other sites

  On 2/9/2025 at 11:50 AM, ComGrafPL said:

Logs on server side shows any issues? If you have any custom modules, cron jobs etc disable it and check.

Expand  

Exactly first thought I had was the cron jobs... disabled them all... same issues. New or custom modules not really... 

Funny that after a few days struggling and having to restart the server because it was impossible to open the shop, after I opened this post... looks normal or at least acceptable 

 

Screenshot2025-02-09at21_44_36.thumb.png.ced51dd4a40b1d1d2daa676d11d4d6d5.png

 

looking the last couple days

 

Screenshot2025-02-09at21_43_53.thumb.png.1b1cb97a9d8a3117c195f7ad35895c9d.png

And now the process is acceptable

 

Screenshot2025-02-09at21_44_45.thumb.png.59264e32d426f5c3dab8d76a3fb293d9.png

In terms of the access_log I see just lots of products access, by the crawlers, mostly from facebook.

57.141.5.1 - - [08/Feb/2025:06:45:29 +0100] "GET /path to products HTTP/1.0" 200 156148 "-" "meta-externalagent/1.1 (+https://developers.facebook.com/docs/sharing/webmasters/crawler)"

52.167.144.229 - - [08/Feb/2025:10:05:51 +0100] "GET /path to products HTTP/1.0" 200 12068 "-" "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm) Chrome/116.0.1938.76 Safari/537.36"

However it would be great to identify the origin...

Link to comment
Share on other sites

  On 2/10/2025 at 10:21 AM, Prestashop Addict said:

May be an aggressive crawler or DDOS attack, can do that. Look at your apache log, number of requests per second.

Expand  

I am considering, after a couple days observing, that's something connected to Meta.... in the logs I see lots of this IP and a few variants 57.141.5.X (from 1-40)

57.141.5.1 - - [08/Feb/2025:06:45:29 +0100] "GET /path to products HTTP/1.0" 200 156148 "-" "meta-externalagent/1.1 (+https://developers.facebook.com/docs/sharing/webmasters/crawler)"

I don't know how to check on plesk or ssh the requests per second...Then in the stats I see this:

 

Screenshot2025-02-11at11_43_03.thumb.png.6f792eca2057193f04bf2efc06a43f4a.png

Hits in january - started from 31/01

Screenshot2025-02-11at13_00_38.thumb.png.f7a1a505733935e0d6a0c3f8df0d48c9.png

Hits in Feb

Screenshot2025-02-11at13_01_21.png.f241faebc8f81ce7e9e6162497712a51.png

 

What's the best way to stop these IP to access the server? Or to control if possible... limit or something?

Thanks in advance!

 

Screenshot 2025-02-11 at 13.00.38.png

Edited by alcor (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...