This issue is often caused by softwares that don’t close database connections. So while your just sitting on a page, it had an open database connection.
How to fix this? Thats more difficult when your using a software. Unless you want to go an manually edit all the code, there isn’t really much you can do about it.