Discourse on RDS periodically results into many Lock:relation waits for create GIN index sessions

I’m managing a site on ecs with rds and haven’t noticed any problems, but it’s an up to date version. It’s hard to guess just what the issue might be without more details of your setup.

In general when someone has an issue with a very old version the first answer is to upgrade.