Page 1 of 1
CPU usage
Posted: Thu 28. Jan 2021, 14:06
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.
Re: CPU usage
Posted: Thu 28. Jan 2021, 14:24
by prune
Just started updating from Debian 9 to 10
Re: CPU usage
Posted: Thu 28. Jan 2021, 14:28
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

Re: CPU usage
Posted: Thu 28. Jan 2021, 14:32
by Florian
Hallo,
just select to keep the file.
Re: CPU usage
Posted: Thu 28. Jan 2021, 14:40
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...
Re: CPU usage
Posted: Thu 28. Jan 2021, 14:49
by Florian
Hallo,
this is not unusal for fail2ban
Re: CPU usage
Posted: Thu 28. Jan 2021, 14:53
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.
Re: CPU usage
Posted: Thu 28. Jan 2021, 15:04
by prune
After update, now fail2ban only using 20 mb. Maybe the log was huge before the update and after, it was purged?