4 ms·
yeah so I'm seeing a ton of "(Postgrex.Error) FATAL 53300 (too_many_connections) remaining connection slots are reserved for non-replication superuser connectio
by Charlieholtz 5y ago
yeah so I'm seeing a ton of "(Postgrex.Error) FATAL 53300 (too_many_connections) remaining connection slots are reserved for non-replication superuser connections", which I'm guessing means the pool size is too small? Although I've tried upping that, CPU, and memory, and none have seemed to fix it. My devops skills still aren't great so if anyone has any ideas on how to help, let me know!
This might be a good opportunity to change the server to try out fly.io
- VVVExobyte 5y ago
- dbetteridge 5y agoPgbouncer is your friend for postgres dB's with lots of client connections. Larger pool size only helps if they're freed up quicker than they are used.
- LecroJS 5y agoWould you mind elaborating on the second point? Is this unique to larger pools? My inclination is that this would be true for pools of all sizes