CPU usage

Locked
prune
Posts: 85
Joined: Thu 14. Nov 2019, 11:22

CPU usage

Post by prune »

My vps provider is complaining my vps is using high cpu. Im the only one using keyhelp and use it for incoming mail only. I host some sites that barely get traffic.

While logged in I see my CPU is going to 8.33%

I checked process manager and fail2ban is using 700 mb. Is it normal for fail2ban to use that much? Is there a guide how to change my ssh port in keyhelp?

Thank you.
prune
Posts: 85
Joined: Thu 14. Nov 2019, 11:22

Re: CPU usage

Post by prune »

Just started updating from Debian 9 to 10
prune
Posts: 85
Joined: Thu 14. Nov 2019, 11:22

Re: CPU usage

Post by prune »

I got this prompt but it's not here in the guide

https://www.keyhelp.de/en/news/upgrade- ... debian-10/

What is this please?

Edit:
Redacted something :D
Attachments
111.PNG
Last edited by prune on Thu 28. Jan 2021, 15:09, edited 2 times in total.
User avatar
Florian
Keyweb AG
Posts: 1243
Joined: Wed 20. Jan 2016, 02:28

Re: CPU usage

Post by Florian »

Hallo,

just select to keep the file.
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
prune
Posts: 85
Joined: Thu 14. Nov 2019, 11:22

Re: CPU usage

Post by prune »

Thank you Florian

My provider now sent me another warning my vps is using huge amount of i/o

Edit:
Ive been said normal is 4 kb read but mine is using 8 mb read and this might be due to fail2ban. I did check processes from keyhelp admin and it is using 700 mb...
User avatar
Florian
Keyweb AG
Posts: 1243
Joined: Wed 20. Jan 2016, 02:28

Re: CPU usage

Post by Florian »

Hallo,

this is not unusal for fail2ban
Mit freundlichen Grüßen / Best regards
Florian Cheno

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
prune
Posts: 85
Joined: Thu 14. Nov 2019, 11:22

Re: CPU usage

Post by prune »

I changed my ssh prior to installing Keyhelp but after install, it changed it back to default. I think it's best to use custom port so fail2ban wont need to block many attempts.

May I pls ask someone to provide a guide on how to do this correctly with keyhelp?

At last step, it said I need to press enter so system will reboot. I press enter now and my ssh client disconnected. I can close it now and just reopen the client or I should wait?

Thank you.
prune
Posts: 85
Joined: Thu 14. Nov 2019, 11:22

Re: CPU usage

Post by prune »

After update, now fail2ban only using 20 mb. Maybe the log was huge before the update and after, it was purged?
Locked