<div dir="ltr"><div>Helllo!</div><div>I am using the latest PGPOOL V3.3.3 branch and find a error when deleget IP switching. </div><div>The new elected master node has output &quot;exec_ping: wait () failed reason:. No child processes &quot;</div>
<div>This problem may be related to the path:</div><div><a href="http://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=11122e47902487a7a9b61a498c113dc4df3483a5">http://git.postgresql.org/gitweb/?p=pgpool2.git;a=commit;h=11122e47902487a7a9b61a498c113dc4df3483a5</a></div>
<div><br></div><div>@@ -228,7 +228,7 @@ exec_ping(void * arg)</div><div>                {</div><div>                        int r;</div><div>                        r = waitpid(pid, &amp;status, 0);</div><div>-                       if (r &lt; 0)</div>
<div>+                       if (r &lt; 0 &amp;&amp; errno == ECHILD)  ==&gt; if (r &lt; 0 &amp;&amp; errno != ECHILD)</div><div><br></div><div>I have tried and tested by the above changes. </div><div>I do not know if it&#39;s correct, thanks in advance for the help.</div>
</div>