best practice for increasing the number of max connections

Hi, I am getting a lot of operational errors on my DB remaining connection slots are reserved for non-replication superuser connections . I need to increase the max number of connections, but when I psql SHOW config_file; i get an error. ERROR: must be superuser or a member of pg_read_all_settings to examine "config_file" .What is the best practice for increasing the number of max connections on Render for postgresql DBs?

I can help you with that, let’s continue the conversation in direct messaging.