<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 15, 2020 at 9:00 AM Tatsuo Ishii <<a href="mailto:ishii@sraoss.co.jp">ishii@sraoss.co.jp</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<br>
> <br>
> I was trying to run Pgpool-II on Mac OS/X 10.15.7 and it was refusing to<br>
> start up with a<br>
> "No Space Left on Device" error.<br>
> The reason for that was a default limit on the maximum allowed of<br>
> shared memory segments (kern.sysv.shmmni: 32).<br>
> Although increasing the limit did momentarily solved the problem until I<br>
> tried to ran the second and third Pgpool-II node on the same system (to<br>
> test watchdog).<br>
> <br>
> This made me realize that while the shared memory segment is a limited<br>
> resource yet<br>
> Pgpool-II opens too many shared memory segments.<br>
> <br>
[snip]<br>
> So I cooked up a patch to avoid creating too many shared memory segments by<br>
> creating a<br>
> single shared memory segment big enough to hold all required shared memory<br>
> and put all shared memory variables within that segment one after the other.<br>
> <br>
> What do you think about the changes?<br>
<br>
For me your proposal is reasonable and the patch looks good.<br></blockquote><div><br></div><div>Thanks for the confirmation. I have committed the patch to master and 4.2 branches.</div><div><br></div><div>Best Regards</div><div>Muhammad Usama</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<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>
</blockquote></div></div>