Site getting down on db backup

Hi Team,
So the issue is whenever either the db backup scheduler runs or While I run bench backup, mariadb utlilizing more cpu’s (like 115%) that time my site goes down showing 504 error
How can I resolve this, Does anyone faced already like this?