<div dir="ltr"><div dir="ltr"><div style="font-family:"comic sans ms",sans-serif">Dear Tatsuo,</div><div style="font-family:"comic sans ms",sans-serif"><br></div><div style="font-family:"comic sans ms",sans-serif">Thank you for the patch.</div><div style="font-family:"comic sans ms",sans-serif"><br></div><div style="font-family:"comic sans ms",sans-serif">I apologize for the inconvenience, but could you please provide guidance on how to apply the patch to our Pgpool installation? As mentioned previously, we installed Pgpool from source. </div><div style="font-family:"comic sans ms",sans-serif"><br></div><div style="font-family:"comic sans ms",sans-serif">Thank you for your time and assistance.</div><div style="font-family:"comic sans ms",sans-serif"><br></div><div style="font-family:"comic sans ms",sans-serif">Best Regards,</div><div style="font-family:"comic sans ms",sans-serif">Maria </div><div style="font-family:"comic sans ms",sans-serif"><br></div><div class="gmail_default" style="font-family:"comic sans ms",sans-serif"><br></div><input name="virtru-metadata" type="hidden" value="{"email-policy":{"disableCopyPaste":false,"disablePrint":false,"disableForwarding":false,"enableNoauth":false,"expandedWatermarking":false,"expires":false,"sms":false,"expirationNum":1,"expirationUnit":"days","isManaged":false,"persistentProtection":false},"attachments":{},"compose-id":"1","compose-window":{"secure":false}}"></div><br><div class="gmail_quote gmail_quote_container" style=""><div dir="ltr" class="gmail_attr">On Sat, Mar 1, 2025 at 6:12 AM Tatsuo Ishii <<a href="mailto:ishii@postgresql.org">ishii@postgresql.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Maria,<br>
<br>
> Dear Tatsuo,<br>
> <br>
> Thank you for your response.<br>
> <br>
> I understand your point regarding the semaphore acquisition. However, I<br>
> would like to clarify that the semaphore error does not occur immediately<br>
> after startup. In our experience, the error manifests itself after weeks of<br>
> running Pgpool. This behavior has been observed in both our staging and<br>
> production environments.<br>
> <br>
> If the semaphore configuration is established during Pgpool startup, it<br>
> seems unusual that it would change weeks later. Could you please elaborate<br>
> on what might cause such a delayed configuration change?<br>
<br>
Ok, the semaphore is definitely created at the start up of pgpool. It<br>
should never been removed until pgpool shuts down. If it's removed,<br>
that must be a bug of pgpool. There's only 1 place where semaphore is<br>
removed (IpcSemaphoreKill). Can you apply attached patch to confirm<br>
the function is actually called? If you find semaphore is removed but<br>
IpcSemaphoreKill is not called, then the semaphore was removed by<br>
someone else.<br>
<br>
Best reagards,<br>
--<br>
Tatsuo Ishii<br>
SRA OSS K.K.<br>
English: <a href="https://protect2.fireeye.com/v1/url?k=31323334-501cfaeb-3131568e-454455535732-b2e8c335807c32bc&q=1&e=af34ac69-01a0-4305-af59-968a7ca1f337&u=http%3A%2F%2Fwww.sraoss.co.jp%2Findex_en%2F" rel="noreferrer" target="_blank">https://protect2.fireeye.com/v1/url?k=31323334-501cfaeb-3131568e-454455535732-b2e8c335807c32bc&q=1&e=af34ac69-01a0-4305-af59-968a7ca1f337&u=http%3A%2F%2Fwww.sraoss.co.jp%2Findex_en%2F</a><br>
Japanese:<a href="http://www.sraoss.co.jp" rel="noreferrer" target="_blank">http://www.sraoss.co.jp</a><br>
<br>
</blockquote></div></div>