title: gcloud SQL postgres - FATAL: remaining connection slots are reserved for non-replication superuser connections
body: <p>I am seing those errors in cloud sql Postgres logs.</p>
  
  <p>Its a small 1 cpu, 4Gb of ram instance yet this is a bit troublesome.
  I do not see any <code>max_connections</code> in the customizable flags that could allow me to bypass this error.</p>
  
  <p>The app is a simple Django service with very little queries and load not even exposed to the public.</p>
  
  <p>The immediate solution is for me to start using db connection pooling with pgbouncer or a Django app but that adds up a bit of complexity.</p>
  
  <pre><code> max_connections 
  -----------------
   100
  </code></pre>
  
  <p>Do we have a way to increase this number?</p>
  
  <p>PS: After digging a bit it seems to come from the use of gevent workers with gunicorn. It was stable &lt; 20 connections before that.</p>
  
  <p>Nevertheless, in case of traffic surge it would be good to know if <code>max_connections</code> can be controlled. </p>