<div dir="ltr"><div dir="ltr">Hi pgpool hackers,<div><br></div><div>I am trying to test the WIP ldap patch with pgpool II master branch (essentially 4.2), I am running into an issue while trying to start pgpool. I am not facing this issue with pgpool II 4.1 stable branch.</div><div><br></div><div>I am attaching my sample pgpool configuration, the shared relcache is disabled and i also reduced the number of num_jnit_childeren to 2 but still no luck...</div><div><br></div><div><p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Ahsans-MacBook-Pro:bin ahsanhadi$ </span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Ahsans-MacBook-Pro:bin ahsanhadi$ ./pgpool -f ~/pgpool.conf.sample -n</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2020-06-19 09:42:33: pid 58215: LOG:  creating shared memory for request size: 139264 </span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2020-06-19 09:42:33: pid 58215: LOG:  creating shared memory for request size: 64 </span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2020-06-19 09:42:33: pid 58215: LOG:  creating shared memory for request size: 20 </span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2020-06-19 09:42:33: pid 58215: LOG:  creating shared memory for request size: 5264 </span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2020-06-19 09:42:33: pid 58215: LOG:  creating shared memory for request size: 4 </span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2020-06-19 09:42:33: pid 58215: LOG:  creating shared memory for request size: 6144 </span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2020-06-19 09:42:33: pid 58215: LOG:  health_check_stats_shared_memory_size: requested size: 12288</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2020-06-19 09:42:33: pid 58215: LOG:  creating shared memory for request size: 12288 </span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2020-06-19 09:42:33: pid 58215: LOG:  health_check_stats_shared_memory_size: requested size: 12288</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2020-06-19 09:42:33: pid 58215: LOG:  Setting up socket for :::9999</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2020-06-19 09:42:33: pid 58215: LOG:  Setting up socket for <a href="http://0.0.0.0:9999">0.0.0.0:9999</a></span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2020-06-19 09:42:33: pid 58215: LOG:  find_primary_node_repeatedly: waiting for finding a primary node</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2020-06-19 09:42:33: pid 58215: LOG:  find_primary_node: primary node is 0</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2020-06-19 09:42:33: pid 58219: LOG:  creating shared memory for request size: 1 </span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2020-06-19 09:42:33: pid 58219: FATAL:  could not create shared memory for request size: 1</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2020-06-19 09:42:33: pid 58219: DETAIL:  attach to shared memory [id:589837] failed with reason: &quot;Too many open files&quot;</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2020-06-19 09:42:33: pid 58215: LOG:  pgpool-II successfully started. version 4.2devel (chichiriboshi)</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2020-06-19 09:42:33: pid 58215: LOG:  node status[0]: 1</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2020-06-19 09:42:33: pid 58215: LOG:  PCP child process with pid: 58219 exits with status 768</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">2020-06-19 09:42:33: pid 58215: FATAL:  PCP child process exit with fatal error. exiting pgpool-II</span></p>
<p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Ahsans-MacBook-Pro:bin ahsanhadi$ vim ~/pgpool.conf.sample </span></p><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div>Thanks,</div><div><br></div><div>Ahsan</div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><span style="color:rgb(0,0,0);font-family:Lato;font-size:14px">Highgo Software (Canada/China/Pakistan)</span><br style="color:rgb(0,0,0);font-family:Lato;font-size:14px"><span style="color:rgb(0,0,0);font-family:Lato;font-size:14px">URL : </span><a href="http://www.highgo.ca/" style="color:rgb(89,143,222);font-family:Lato;font-size:14px" target="_blank">http://www.highgo.ca</a><br style="color:rgb(0,0,0);font-family:Lato;font-size:14px"><span style="color:rgb(0,0,0);font-family:Lato;font-size:14px">ADDR: 10318 WHALLEY BLVD, Surrey, BC</span><br style="color:rgb(0,0,0);font-family:Lato;font-size:14px"><span style="color:rgb(0,0,0);font-family:Lato;font-size:14px">EMAIL: mailto: </span><a style="color:rgb(89,143,222);font-family:Lato;font-size:14px">ahsan.hadi@highgo.ca</a><br></div></div></div></div></div>