<div dir="ltr">Hello All,<div><br></div><div>The documentation states:</div><div><br></div><div><span style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px">&quot;Up to 2*num_init_children can be queued&quot;</span></div>
<div><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif"><span style="font-size:12px"><br></span></font></div><div><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif"><span style="font-size:12px">I assumed this to mean that if I set num_init_children to 2, then I can field 2 client connections (one to each forked process) at a time. The third and fourth connections will be queued, then the fifth will be rejected.</span></font></div>
<div><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif"><span style="font-size:12px"><br></span></font></div><div><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif"><span style="font-size:12px">However this doesn&#39;t seem to be the reality. I can demonstrate this with psql, opening many more than 4 connections. The first two connect, the next x idle waiting for a connection. </span></font></div>
<div><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif"><span style="font-size:12px"><br></span></font></div><div><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif"><span style="font-size:12px">I saw another similar post which said:</span></font></div>
<div><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif"><span style="font-size:12px"><br></span></font></div><div><font face="courier new, monospace"><font color="#000000"><span style="font-size:12px">&quot;</span></font></font><span style="font-family:&#39;courier new&#39;,monospace;color:rgb(0,0,0)">... it is up to OSs behavior when pgpool set backlog parameter</span><span style="font-family:&#39;courier new&#39;,monospace;color:rgb(0,0,0)">&quot;</span><pre style="color:rgb(0,0,0)">
<font face="arial, helvetica, sans-serif">Could someone explain this a bit more? Where is the backlog parameter?</font></pre><pre style="color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">Is there a way I can check this queue length so I can alarm on it?</font></pre>
<pre style="color:rgb(0,0,0)"><font face="arial, helvetica, sans-serif">Cheers,</font></pre><div><div style="color:rgb(184,39,106);font-weight:bold;font-style:normal;font-variant:normal;font-size:14px;line-height:normal;font-family:Arial,Helvetica,sans-serif">

        <br>
        <span style="color:rgb(50,59,98)">James Sewell,</span><br>
        <span style="color:rgb(169,169,169)"><span style="font-style:normal;font-variant:normal;font-weight:normal;font-size:12px;line-height:normal;font-family:Arial,Helvetica,sans-serif">PostgreSQL Team Lead / Solutions Architect </span></span><br>

        <span style="color:rgb(169,169,169)">______________________________________</span><br>
         </div>
<img alt="" src="http://www.lisasoft.com/sites/lisasoft/files/u1/logo1.jpg" style="margin: 0px; width: 153px; height: 50px;"><br>
<div style="font-style:normal;font-variant:normal;font-weight:normal;font-size:12px;line-height:20px;font-family:Arial,Helvetica,sans-serif;color:rgb(64,64,64);margin:0px">
        <span style="color:rgb(169,169,169)">Level 2, 50 Queen St, Melbourne VIC 3000</span><br>
        <br>
        <strong>P </strong><span style="color:rgb(169,169,169)"><span style="font-family:Arial,Verdana,sans-serif">(+61) 3 8370 8000</span></span><span style="color:rgb(169,169,169)"> </span><strong> </strong><span style="color:rgb(50,59,98)"><span style="width:15px;display:inline-block"><strong>W</strong></span></span> <a style="color:rgb(64,64,64);margin:2px 0px;text-decoration:none"><span style="color:rgb(169,169,169)">www.lisasoft.com</span></a>  <span style="color:rgb(50,59,98)"><span style="width:15px;display:inline-block"><strong>F </strong></span></span><span style="color:rgb(169,169,169)"><span style="font-family:Arial,Verdana,sans-serif">(+61) 3 8370 8099</span></span></div>

<div style="padding-top:8px">
         </div></div>
</div></div>

<br>
<p><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.545454025268555px;background-color:rgb(255,255,255)"><hr><font size="1" color="Gray" face="Arial">The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.</font></div></p>