<div dir="ltr">Thanks for the assistance. Your additional suggestion of where to look led me right to an additional memory leak in mod_skinny - and was as a result able to reproduce a scenario that could trigger it. I don't know for sure that it fixes the symptom I've seen on production, but I suspect this is at least a significant part of it. A fix has been pushed into master for it.<div><br></div><div>JIRA issue updated accordingly. </div><div><br></div><div>-- Nathan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 14, 2016 at 11:41 PM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Why are you still discussing this here when you have a jira open? I am not sure how to properly explain the IMMENSE difficulty of working on bugs over email. There is no right reason to side with email when trying to decide between jira and email. If a jira turns out not to be a bug, one click to close it. When an email turns out to be a bug, frick, now we have to copy all the data over. Pass it on, file jiras when you have a problem. We have broadcasted it here for years..:.....<span></span><div><div><br></div><div>The xml registry is ref counted if it reloads while its open, it probably means something you use opens the xml root and does not close it. I said this on your jira.</div><div><div class="h5"><div><br></div><div><br>On Thursday, April 14, 2016, Nathan Neulinger <<a href="mailto:nneul@mst.edu" target="_blank">nneul@mst.edu</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Running some more post analysis over the raw content of the core dump, and extracting each parsed blob of XML, it looks<br>
like almost all of them are complete copies (and not partial like if it ran out of room and had to resize+relocate).<br>
<br>
I extracted all of the chunks to individual files, and looking at each one in turn based on sequential position in<br>
memory, I am seeing reasonably expected small/tiny changes from one to the next that would correspond to incremental<br>
changes in our configuration UI (stuff like individual changes to a line key, button position, voicemail address,<br>
password, etc.)<br>
<br>
<br>
What in the system results in a full copy of the parsed XML structure? Does every access do some sort of temporary copy<br>
like you'd get with SQL and transaction isolation?<br>
<br>
<br>
-- Nathan<br>
<br>
On 04/14/2016 01:25 PM, Nathan Neulinger wrote:<br>
> FS-9074 opened.<br>
><br>
> I've attempted to reproduce in lab environment, but not with much success since I can't readily reproduce the<br>
> activity/usage level from the production environment. On production env, I can readily see the resident memory growing<br>
> when I reloadxml on the active server, but it doesn't do it every time, so it's clearly some sort of combination of<br>
> events/timing related.<br>
><br>
> On the lab setup, I typically see about 3 x duplicates of the strings from the XML in a generated core.<br>
><br>
> No modules are being reloaded during normal operations. Just a rewrite of the configs followed by a reloadxml.<br>
><br>
><br>
> As far as the commercial option - have asked y'all several times for what our options would be for that sort of service,<br>
> but have never gotten any clear answer particularly given the custom deployment we have. Would be very interested in<br>
> presenting that to management here if you can give me some proposed service offerings and costs.<br>
><br>
> -- Nathan<br>
><br>
> On 04/14/2016 12:58 PM, Anthony Minessale wrote:<br>
>> Have you done any debugging like running valgrind or ASAN on a server?<br>
>> Did you try to reproduce it in a lab yet?<br>
>><br>
>> We can't really do any leg work for you so we would need a more specific reproduction case.<br>
>> We do offer commercial options as you are probably already are aware of where we could deploy consultants to do more of<br>
>> the leg work for you.<br>
>><br>
>> Do you only reloadxml or do you reload any modules.<br>
>> Also you should ALWAYS file a jira. We don't want to field issues on the list. Its not a problem to close NOT A BUG if<br>
>> it turns out that way.<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> On Thu, Apr 14, 2016 at 12:50 PM, Nathan Neulinger <<a>nneul@mst.edu</a> <mailto:<a>nneul@mst.edu</a>>> wrote:<br>
>><br>
>> The indication I'm reacting to of leak isn't "one in memory".... The below is showing FIFTY THREE of them.<br>
>><br>
>> -- Nathan<br>
><br>
><br>
<br>
--<br>
------------------------------------------------------------<br>
Nathan Neulinger <a>nneul@mst.edu</a><br>
Missouri S&T Information Technology <a href="tel:%28573%29%20612-1412" value="+15736121412" target="_blank">(573) 612-1412</a><br>
System Administrator - Architect<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a>consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a>FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div></div></div></div><br><div class="HOEnZb"><div class="h5"><br>-- <br><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬<div><br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a> ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a> ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div><div><div>☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call <br></div><div>☎ <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a> ☎ <a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a> </div><div><br></div></div></div><div><a href="https://www.youtube.com/watch?v=9XXgW34t40s" style="color:rgb(17,85,204);font-size:12.8000001907349px" target="_blank">https://www.youtube.com/watch?v=9XXgW34t40s</a></div><div><a href="https://www.youtube.com/watch?v=NLaDpGQuZDA" target="_blank">https://www.youtube.com/watch?v=NLaDpGQuZDA</a><br></div></div></div></div></div></div><br>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>