<div dir="ltr">Hello,<br><br>As suggested, please find the attached artifacts which includes stats by configuring statistics channel in named.conf, content at /proc/<PID>/statm, top command output for both 9.16.21 and 9.18.3.<br><br>Regards,<br>Raman<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 16, 2022 at 12:55 PM Ondřej Surý <<a href="mailto:ondrej@isc.org">ondrej@isc.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,<br>
<br>
we cannot really help you if you ignore everything that was said to you regarding the memory measurements.<br>
<br>
Ondrej.<br>
--<br>
Ondřej Surý (He/Him)<br>
<a href="mailto:ondrej@isc.org" target="_blank">ondrej@isc.org</a><br>
<br>
My working hours and your working hours may be different. Please do not feel obligated to reply outside your normal working hours.<br>
<br>
> On 16. 6. 2022, at 9:02, Raman kumar <<a href="mailto:kumarraman.mca@gmail.com" target="_blank">kumarraman.mca@gmail.com</a>> wrote:<br>
> <br>
> Hello All,<br>
> <br>
> We configured bind 9.18, using jemalloc but still memory consumption is high in 9.18 as compared to 9.16.<br>
> <br>
> On version 9.16.21, RAM consumption was 3.8 GB without jemalloc. And on 9.18.2, RAM consumption is 4.2 GB with jemalloc with the same data.<br>
> <br>
> Is this the expected behaviour or any more tuning is needed?<br>
> <br>
> One more thing: does CNAME record length also impact the memory used?<br>
> <br>
> Regards,<br>
> Raman<br>
> <br>
> <br>
> On Thu, May 19, 2022 at 3:52 PM Petr Špaček <<a href="mailto:pspacek@isc.org" target="_blank">pspacek@isc.org</a>> wrote:<br>
> On 18. 05. 22 22:39, Ondřej Surý wrote:<br>
> > Hi Klarstein,<br>
> ><br>
> > Gathering the output of named statschannel should be good enough for initial assessment (json please).<br>
> ><br>
> > For 9.18, make sure the jemalloc is being used at runtime.<br>
> <br>
> Here are commands you asked for:<br>
> <br>
> 1. when running ./configure, make sure the output at the end has this:<br>
> <br>
> Configuration summary:<br>
> -------------------------------------------------------------------------------<br>
> Optional features enabled:<br>
>      Memory allocator: jemalloc<br>
> <br>
> <br>
> 2. Then, configure statistics channel in named.conf like this:<br>
> <br>
> statistics-channels {<br>
>         inet 127.0.0.1 port 8080;<br>
> };<br>
> <br>
> <br>
> 3. With that in place you can grab stats from this URL:<br>
> <a href="http://127.0.0.1:8080/json/v1" rel="noreferrer" target="_blank">http://127.0.0.1:8080/json/v1</a><br>
> <br>
> Configuration for v9.16 is the same, just skip the jemalloc part.<br>
> <br>
> 4. Bonus points for grabbing /proc/<PID>/statm content at the same time<br>
> as content of the JSON stats endpoint (if you are on Linux).<br>
> <br>
> I hope it helps.<br>
> Petr Špaček<br>
> <br>
> <br>
> <br>
> ><br>
> > Ondrej<br>
> > --<br>
> > Ondřej Surý — ISC (He/Him)<br>
> ><br>
> > My working hours and your working hours may be different. Please do not feel obligated to reply outside your normal working hours.<br>
> ><br>
> >> On 18. 5. 2022, at 22:32, Klaus Darilion via bind-users <<a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a>> wrote:<br>
> >><br>
> >> Can you please provide some commands whose output you are interested? I want to collect the statistics for 9.16 before updating to 9.18.<br>
> >> Thanks<br>
> >> Klaus<br>
> >><br>
> >>> -----Ursprüngliche Nachricht-----<br>
> >>> Von: bind-users <<a href="mailto:bind-users-bounces@lists.isc.org" target="_blank">bind-users-bounces@lists.isc.org</a>> Im Auftrag von Petr<br>
> >>> Špacek<br>
> >>> Gesendet: Mittwoch, 18. Mai 2022 18:20<br>
> >>> An: <a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a><br>
> >>> Betreff: Re: AW: High memory consumption in bind 9.18.2<br>
> >>><br>
> >>> I would be very interested in hearing more!<br>
> >>><br>
> >>> In majority of our internal testing 9.16 has higher memory consumption<br>
> >>> than 9.18, especially when 9.18 is compiled with libjemalloc. And the<br>
> >>> differences are not small, for some configurations it can be even 2x or<br>
> >>> 3x more on 9.16 than it is on 9.18.<br>
> >>><br>
> >>> If you encounter it again please get back to us so we can diagnose it.<br>
> >>><br>
> >>> Thank you!<br>
> >>> Petr Špaček<br>
> >>><br>
> >>><br>
> >>>> On 18. 05. 22 8:56, Klaus Darilion via bind-users wrote:<br>
> >>>> I remember we had similar issues with 9.18 (isc ppa packages) and hence<br>
> >>> wen't back to 9.16. But I can not remember the details.<br>
> >>>><br>
> >>>> regards<br>
> >>>> Klaus<br>
> >>>><br>
> >>>>> -----Ursprüngliche Nachricht-----<br>
> >>>>> Von: bind-users <<a href="mailto:bind-users-bounces@lists.isc.org" target="_blank">bind-users-bounces@lists.isc.org</a>> Im Auftrag von<br>
> >>> Ondrej<br>
> >>>>> Surý101 71 l t1h, 18. Mai 2022 08:37<br>
> >>>>> An: Raman kumar <<a href="mailto:kumarraman.mca@gmail.com" target="_blank">kumarraman.mca@gmail.com</a>><br>
> >>>>> Cc: <a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a><br>
> >>>>> Betreff: Re: High memory consumption in bind 9.18.2<br>
> >>>>><br>
> >>>>> You did not provided any details, so we can’t really help you.<br>
> >>>>><br>
> >>>>> What is “RAM consumption” anyway? VSZ, RSS, numbers pulled from<br>
> >>> stats<br>
> >>>>> channel from named?<br>
> >>>>><br>
> >>>>> What’s the hardware, what is the configuration, how was BIND 9 compiled<br>
> >>>>> (or packaged)?<br>
> >>>>><br>
> >>>>> The more details, the better<br>
> >>>>><br>
> >>>>> Ondrej<br>
> >>>>> --<br>
> >>>>> Ondřej Surý (He/Him)<br>
> >>>>> <a href="mailto:ondrej@isc.org" target="_blank">ondrej@isc.org</a><br>
> >>>>><br>
> >>>>> My working hours and your working hours may be different. Please do<br>
> >>> not<br>
> >>>>> feel obligated to reply outside your normal working hours.<br>
> >>>>><br>
> >>>>>> On 18. 5. 2022, at 8:32, Raman kumar <<a href="mailto:kumarraman.mca@gmail.com" target="_blank">kumarraman.mca@gmail.com</a>><br>
> >>>>> wrote:<br>
> >>>>>><br>
> >>>>>> Hello Team,<br>
> >>>>>><br>
> >>>>>> While upgrading from BIND 9.16.10 to 9.18.2, we have observed high<br>
> >>>>> memory consumption.<br>
> >>>>>><br>
> >>>>>> On version 9.16.2, RAM consumption was 3.8 GB. And on 9.18.2, RAM<br>
> >>>>> consumption is 4.5 GB. Due to this an increase of approximately 20 %<br>
> >>>>> memory is observed.<br>
> >>>>>><br>
> >>>>>> Is this the expected behaviour or any tuning is needed?<br>
> >>>>>><br>
> >>>>>> Thanks in advance.<br>
> >>>>>><br>
> >>>>>> Regards,<br>
> >>>>>> Raman<br>
> >>>>>> --<br>
> >>>>>> Visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe<br>
> >>> from<br>
> >>>>> this list<br>
> >>>>>><br>
> >>>>>> ISC funds the development of this software with paid support<br>
> >>>>> subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more<br>
> >>>>> information.<br>
> >>>>>><br>
> >>>>>><br>
> >>>>>> bind-users mailing list<br>
> >>>>>> <a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a><br>
> >>>>>> <a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
> >>>><br>
> >>><br>
> >>><br>
> >>> --<br>
> >>> Petr Špaček<br>
> >>> --<br>
> >>> Visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this<br>
> >>> list<br>
> >>><br>
> >>> ISC funds the development of this software with paid support subscriptions.<br>
> >>> Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
> >>><br>
> >>><br>
> >>> bind-users mailing list<br>
> >>> <a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a><br>
> >>> <a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
> >> --<br>
> >> Visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br>
> >><br>
> >> ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
> >><br>
> >><br>
> >> bind-users mailing list<br>
> >> <a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a><br>
> >> <a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
> <br>
> <br>
> --<br>
> Petr Špaček<br>
> --<br>
> Visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br>
> <br>
> ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
> <br>
> <br>
> bind-users mailing list<br>
> <a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a><br>
> <a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
> --<br>
> Visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br>
> <br>
> ISC funds the development of this software with paid support subscriptions. Contact us at <a href="https://www.isc.org/contact/" rel="noreferrer" target="_blank">https://www.isc.org/contact/</a> for more information.<br>
> <br>
> <br>
> bind-users mailing list<br>
> <a href="mailto:bind-users@lists.isc.org" target="_blank">bind-users@lists.isc.org</a><br>
> <a href="https://lists.isc.org/mailman/listinfo/bind-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
<br>
</blockquote></div>