<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif;color:rgb(0,0,0)">Hello All,<br><br></div><div class="gmail_default" style="font-family:georgia,serif;color:rgb(0,0,0)">We were getting the following error constantly in pgpool logs:<br>

<br>--------------------------------------------------------------------------------------------------<br>2014-03-24 11:14:20 LOG:   pid 26615: connection received: host=<a href="http://abcd.com">abcd.com</a> port=56778<br>

2014-03-24 11:14:20 ERROR: pid 26615: connect_inet_domain_socket: connect() failed: Cannot assign requested address<br>2014-03-24 11:14:20 ERROR: pid 26615: connection to xx.x.x.xxx(5432) failed<br>2014-03-24 11:14:20 ERROR: pid 26615: new_connection: create_cp() failed<br>

2014-03-24 11:14:20 LOG:   pid 26615: new_connection: do not failover because fail_over_on_backend_error is off<br>--------------------------------------------------------------------------------------------------<br><br>

</div><div class="gmail_default" style="font-family:georgia,serif;color:rgb(0,0,0)">Also there was high count of netstat -a | grep TIME_WAIT | wc -l   <br>10243<br>on pgpool master.<br><br></div><div class="gmail_default" style="font-family:georgia,serif;color:rgb(0,0,0)">

These errors stopped coming after switching from master to slave pgpool and also the TIME_WAIT count came down below 100 after making slave pgpool the master while on the new pgpool master it went above 2000.<br></div><div class="gmail_default" style="font-family:georgia,serif;color:rgb(0,0,0)">

<br clear="all"></div><div><div dir="ltr"><div><span style="color:rgb(68,68,68)"><font face="georgia,serif">Regards,<br></font></span></div><font face="georgia,serif"><span style="color:rgb(68,68,68)">Granthana</span><br>

</font></div></div>
</div>