<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">The thing is it never denies the memory request - just delays it. I am fairly certain if I raise the mbufs it will work - similar to lowering the transfer size - but I don’t think this is a viable solution. I think it needs to be resolved in the net layer. </div><div dir="ltr"><br></div><div dir="ltr">I could build the JDK “fixing” that method but that might take me a while. I have to assume you’re already set up to do so - I’m happy to test a build with the needed changes. :)</div><div dir="ltr"><br><blockquote type="cite">On Nov 8, 2023, at 2:07 AM, Alan Bateman <Alan.Bateman@oracle.com> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  
  
    On 08/11/2023 00:50, robert engels wrote:<br>
    <blockquote type="cite" cite="mid:9929CD47-1647-47BC-98C8-A8556B0761D5@ix.netcom.com">
      
      <div class="">
        <div class="">
          <div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(16, 16, 16); background-color: rgba(255, 255, 255, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">iMac:helidon_test robertengels$ netstat -nm</span></div>
          <div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(16, 16, 16); background-color: rgba(255, 255, 255, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">61785/76680 mbufs in use:</span></div>
          <div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(16, 16, 16); background-color: rgba(255, 255, 255, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre">       </span>54018 mbufs allocated to
              data</span></div>
          <div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(16, 16, 16); background-color: rgba(255, 255, 255, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre">       </span>7527 mbufs allocated to
              packet headers</span></div>
          <div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(16, 16, 16); background-color: rgba(255, 255, 255, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre">       </span>240 mbufs allocated to
              packet tags</span></div>
          <div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(16, 16, 16); background-color: rgba(255, 255, 255, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><span class="Apple-tab-span" style="white-space:pre">       </span>14895 mbufs allocated to
              caches</span></div>
          <div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(16, 16, 16); background-color: rgba(255, 255, 255, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">7991/10098 mbuf 2KB clusters in use</span></div>
          <div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(16, 16, 16); background-color: rgba(255, 255, 255, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">20468/44823 mbuf 4KB clusters in use</span></div>
          <div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(16, 16, 16); background-color: rgba(255, 255, 255, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">10909/10922 mbuf 16KB clusters in use</span></div>
          <div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(16, 16, 16); background-color: rgba(255, 255, 255, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">398566 KB allocated to network (72.9% in use)</span></div>
          <div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(16, 16, 16); background-color: rgba(255, 255, 255, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0 KB returned to the system</span></div>
          <div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(16, 16, 16); background-color: rgba(255, 255, 255, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">0 requests for memory denied</span></div>
          <div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(16, 16, 16); background-color: rgba(255, 255, 255, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">10407 requests for memory delayed</span></div>
          <div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Monaco; color: rgb(16, 16, 16); background-color: rgba(255, 255, 255, 0.85);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">136 calls to drain routines</span></div>
          <br>
        </div>
      </div>
    </blockquote>
    I wonder if increasing the memory for mbuf clusters would help.
    Don't try this at home but I think `sudo nvram
    boot-args="ncl=797132"` + reboot will double it on this system. <br>
    <br>
    -Alan<br>
    <br>
    <br>
  

</div></blockquote></body></html>