<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(0,0,0)"><table><tbody><tr><td class=""><div class="">
    <span class=""></span><br>
       

</div>

            </td>
            
<td class="">
<div>
    <div class="">
        <p>I have a problem with pgpool II configured in master-slave 
mode with replication on slony. 
I have configured postgres databases on each server to run as fast as 
they can and this was verified by me when I set up connection directly 
to the db server. However when connection is established by pgpool sth 
goes wrong, my webapp on tomcat starts very slowly(30min in compare to 
5min without pgpool).</p>

<p>I can&#39;t figure out what is wrong. On working webapp communication is a
 bit slower, but difference is so much smaller than at startup.</p>

<p>PGPool use ssh tunnels to communicate with servers. </p>

<p>I&#39;ve read sth about pgpool and if I understood correctly number of 
connections(pools) is determine by tuples(database, user). I use only 
one database and user, is that a reason? If so is there anything I can 
do to speed up pgpool?</p>

<p>Thanks in advance.</p>

    </div></div></td></tr></tbody></table></div></div>