<div dir="ltr"><div class="gmail_default" style=""><font face="monospace, monospace">That appears to be correct. To be specific, the postgres and pgpool packages I&#39;m using are found here:</font></div><div class="gmail_default" style=""><font face="monospace, monospace"><br></font></div><div class="gmail_default" style=""><font face="monospace, monospace"><a href="https://download.postgresql.org/pub/repos/yum/9.2/redhat/rhel-6-x86_64/">https://download.postgresql.org/pub/repos/yum/9.2/redhat/rhel-6-x86_64/</a></font><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font face="monospace, monospace" size="2"><br></font><div><font face="monospace, monospace" size="2">Mike Neir</font></div><div><font face="monospace, monospace" size="2">Infrastructure Administrator</font></div><div><font face="monospace, monospace" size="2">Liquid Web, Inc.</font></div><div><br></div></div></div></div></div></div><div class="gmail_quote">On Tue, Mar 8, 2016 at 4:01 PM, Tatsuo Ishii <span dir="ltr">&lt;<a href="mailto:ishii@postgresql.org" target="_blank">ishii@postgresql.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Assuming you mean pgdg yum repositories by<br>
<a href="http://www.postgresql.org/download/linux/redhat/" rel="noreferrer" target="_blank">http://www.postgresql.org/download/linux/redhat/</a>, yhe maintainer of it<br>
is Devrim and he is on this list.<br>
<br>
Best regards,<br>
--<br>
Tatsuo Ishii<br>
SRA OSS, Inc. Japan<br>
English: <a href="http://www.sraoss.co.jp/index_en.php" rel="noreferrer" target="_blank">http://www.sraoss.co.jp/index_en.php</a><br>
Japanese:<a href="http://www.sraoss.co.jp" rel="noreferrer" target="_blank">http://www.sraoss.co.jp</a><br>
<div class="HOEnZb"><div class="h5"><br>
&gt; Muhammad,<br>
&gt;<br>
&gt; Excellent news! Thank you for getting that corrected so quickly. Is there<br>
&gt; any way of knowing how long it will take for that change to be reflected in<br>
&gt; pgpool pacakge in the pgdg yum repositories, or is that out of the pgpool<br>
&gt; developers&#39; scope of influence?<br>
&gt;<br>
&gt; MN<br>
&gt;<br>
&gt;<br>
&gt; Mike Neir<br>
&gt; Infrastructure Administrator<br>
&gt; Liquid Web, Inc.<br>
&gt;<br>
&gt; On Mon, Mar 7, 2016 at 10:47 AM, Muhammad Usama &lt;<a href="mailto:m.usama@gmail.com">m.usama@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Hi Mike<br>
&gt;&gt;<br>
&gt;&gt; Thanks for pointing out this out,  The problem was caused by the logical<br>
&gt;&gt; mistake in the latest version of pgpool-II and I have pushed the fix for it.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; <a href="http://git.postgresql.org/gitweb/?p=pgpool2.git;a=commitdiff;h=e2f822fae9a4956f210bccafd0eade26642c90fa" rel="noreferrer" target="_blank">http://git.postgresql.org/gitweb/?p=pgpool2.git;a=commitdiff;h=e2f822fae9a4956f210bccafd0eade26642c90fa</a><br>
&gt;&gt;<br>
&gt;&gt; Regards<br>
&gt;&gt; Muhammad Usama<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Sat, Mar 5, 2016 at 5:43 AM, Mike Neir &lt;<a href="mailto:mike@liquidweb.com">mike@liquidweb.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; Greetings pgpool devs and users,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I am attempting to re-create a postgres 9.2 + pgpool setup that a former<br>
&gt;&gt;&gt; co-worker created so that I may become more familiar with the setup process<br>
&gt;&gt;&gt; and so it can be properly documented. I am configuring a two-node test lab<br>
&gt;&gt;&gt; using streaming replication, where the postgres WAL sender handles writes,<br>
&gt;&gt;&gt; and both the WAL sender and receiver can handle reads.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I believe I have everything configured properly except for one vexing<br>
&gt;&gt;&gt; issue. When running queries through pgpool, even simple status queries, the<br>
&gt;&gt;&gt; workers will eventually die, having reached their internal connection<br>
&gt;&gt;&gt; limit. This is expected, but pgpool does not seem to be forking another<br>
&gt;&gt;&gt; worker to replace it, and that behavior eventually results in pgpool not<br>
&gt;&gt;&gt; being able to handle queries due to a lack of workers. This manifests in<br>
&gt;&gt;&gt; the logs as follows:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 2016-03-04 18:27:50: pid 8754: FATAL:  child exiting, 500 connections<br>
&gt;&gt;&gt; reached<br>
&gt;&gt;&gt; 2016-03-04 18:27:50: pid 8303: LOG:  child process with pid: 8754 exits<br>
&gt;&gt;&gt; with status 512<br>
&gt;&gt;&gt; 2016-03-04 18:27:50: pid 8303: LOG:  child process with pid: 8754 exited<br>
&gt;&gt;&gt; with success and will not be restarted<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I have not yet got to the point of importing data into postgres. I can<br>
&gt;&gt;&gt; manifest this condition with repeated execution of the following command:<br>
&gt;&gt;&gt;  $ psql -h localhost -U monitor postgres -c &quot;SHOW pool_nodes;&quot;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The behavior is the same on both nodes, regardless of whether it is a WAL<br>
&gt;&gt;&gt; sender or recevier.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I&#39;ve attempted to dig through the sources to find the scenario that would<br>
&gt;&gt;&gt; tell pgpool that not forking a replacement worker is proper behavior, but<br>
&gt;&gt;&gt; my C is *very* rusty, and I ran out of patience long before I understood<br>
&gt;&gt;&gt; what leads to that condition.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; In short, I&#39;m looking for insight on what configuration directives could<br>
&gt;&gt;&gt; lead to that behavior, and how to correct it.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Environment Details:<br>
&gt;&gt;&gt; - Each node is a VM running CentOS 6.7, 64-bit<br>
&gt;&gt;&gt; - Each node is running postgres 9.2.15 (latest version available),<br>
&gt;&gt;&gt; installed via pgdg92 yum repository<br>
&gt;&gt;&gt; - Each node is running pgpool-II-92 3.5.0-1 (latest version available),<br>
&gt;&gt;&gt; installed via pgdg92 yum repository<br>
&gt;&gt;&gt; - I can provide the pgpool or postgres configurations if need be, but<br>
&gt;&gt;&gt; since they are lengthy, I will wait until they&#39;re requested.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Mike Neir<br>
&gt;&gt;&gt; Infrastructure Administrator<br>
&gt;&gt;&gt; Liquid Web, Inc.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; pgpool-general mailing list<br>
&gt;&gt;&gt; <a href="mailto:pgpool-general@pgpool.net">pgpool-general@pgpool.net</a><br>
&gt;&gt;&gt; <a href="http://www.pgpool.net/mailman/listinfo/pgpool-general" rel="noreferrer" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-general</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
</div></div></blockquote></div><br></div></div>