<span style=" font-size:10pt;font-family:sans-serif">Hello,</span>
<br>
<br><span style=" font-size:10pt;font-family:sans-serif">we have the problem,
that Pgpool does not accept new connections when some longer running SQLs
are on their way.</span>
<br>
<br><span style=" font-size:10pt;font-family:sans-serif">We are using Pgpool
4.2.5 till now only for automated fail over and online recovery - connection
pooling, load balancing, in memory query cache are switched off. PostgreSQL
streaming replication is used.  </span>
<br>
<br><span style=" font-size:10pt;font-family:sans-serif">We can provoke
the effect with a SQL like</span>
<br>
<br><span style=" font-size:10pt;font-family:sans-serif">   
    select field_a, field_b, pg_sleep(120)</span>
<br><span style=" font-size:10pt;font-family:sans-serif">   
      from table_a</span>
<br><span style=" font-size:10pt;font-family:sans-serif">   
      where field_a = 12345 </span>
<br>
<br><span style=" font-size:10pt;font-family:sans-serif">The statement
simulates long running statements we are using.</span>
<br>
<br><span style=" font-size:10pt;font-family:sans-serif">When we start
the above statement 3 times or more with a delay of 1 second  Pgpool
does not accept new connections for some minutes. We do not get an error
message or time out. Direct connections to Postgres are as fast as always.
 </span>
<br>
<br><span style=" font-size:10pt;font-family:sans-serif">The effect exists
in a 2-node cluster and in a degenerated, single machine cluster too. </span>
<br>
<br><span style=" font-size:10pt;font-family:sans-serif">Any help is welcome.</span>
<br><span style=" font-size:10pt;font-family:sans-serif"><br>
Sincerely Yours<br>
<br>
Ernst Hansmair<br>
<br>
</span>