Database connection error database gone away

My site is suffer from database connection error this error occurred due to crash of database oftenly I found my database is red marked and site show database gone away and after sometime it automatically be recover and proper so what can I do

Good day!

I believe it is due to our Rate Limiting Policy