Putting my hat into the ring as well to report memory leak issues using 2.3.99.3. On Mon, Oct 28, 2013 at 3:30 AM, Luca Cireddu <sardylan at gmail.com> wrote:> Hi all, > Icecast increase memory usage on our server too. > When started, memory usage was about 0.5% of 1GB. > After 2 or 3 months, about 15%. > I tried also to use valgrind to debug icecast sources, but my machine is > too slow to keep it running through it, and it crashes. > > On 10/25/2013 06:25 PM, v_2e at ukr.net wrote: > > Hello! > > Recently I installed Icecast 2.4beta3 on my broadcasting server, > > since I needed the OPUS codec support. > > Since then I noticed that I experience some problems with free memory > > from time to time. After studying the memory usage graphs for my > > server, I decided to test the new Icecast for a possible memory leak. > > The result is shown in the attached figure. > > It turns out that Icecast gradually increases its memory use while > > playing. So I decided to report it as a possible memory leak indication. > > > > Regards, > > Vladimir > > > > _______________________________________________ > Icecast-dev mailing list > Icecast-dev at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast-dev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast-dev/attachments/20131206/34e78906/attachment.htm
"Thomas B. Rücker"
2013-Dec-08 14:19 UTC
[Icecast-dev] Possible memory leak in Icecast-2.4-beta3
On 12/06/2013 04:57 PM, voice wrote:> > Putting my hat into the ring as well to report memory leak issues > using 2.3.99.3. > > > On Mon, Oct 28, 2013 at 3:30 AM, Luca Cireddu <sardylan at gmail.com > <mailto:sardylan at gmail.com>> wrote: > > Hi all, > Icecast increase memory usage on our server too. > When started, memory usage was about 0.5% of 1GB. > After 2 or 3 months, about 15%. > I tried also to use valgrind to debug icecast sources, but my > machine is too slow to keep it running through it, and it crashes. >To everyone, please help pinpointing this by running Icecast in Valgrind. I'll try to also set up a test setup, but it's possible that this doesn't show up in a lab environment. Cheers Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast-dev/attachments/20131208/7696a874/attachment.htm
Just running it for about six hours I've attached a log of Valgrind's output. On Sun, Dec 8, 2013 at 8:19 AM, "Thomas B. R?cker" <thomas at ruecker.fi>wrote:> On 12/06/2013 04:57 PM, voice wrote: > > > Putting my hat into the ring as well to report memory leak issues using > 2.3.99.3. > > > On Mon, Oct 28, 2013 at 3:30 AM, Luca Cireddu <sardylan at gmail.com> wrote: > >> Hi all, >> Icecast increase memory usage on our server too. >> When started, memory usage was about 0.5% of 1GB. >> After 2 or 3 months, about 15%. >> I tried also to use valgrind to debug icecast sources, but my machine is >> too slow to keep it running through it, and it crashes. >> >> > To everyone, please help pinpointing this by running Icecast in Valgrind. > I'll try to also set up a test setup, but it's possible that this doesn't > show up in a lab environment. > > Cheers > > Thomas > > _______________________________________________ > Icecast-dev mailing list > Icecast-dev at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast-dev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast-dev/attachments/20131208/b704aee6/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: valgrind.log Type: text/x-log Size: 5831 bytes Desc: not available Url : http://lists.xiph.org/pipermail/icecast-dev/attachments/20131208/b704aee6/attachment.bin
Luca Cireddu
2014-Jan-08 19:41 UTC
[Icecast-dev] Possible memory leak in Icecast-2.4-beta3
<html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">Thanks Thomas,<br> I successed running icecast in Valgrind using a Dell PowerEdge rack server with a single Debian 7 64bit Virtual Machine.<br> No memory leaks reported, but I'm working in a "lab environment"...<br> I'm trying to "simulate" different listeners using curl in a bash script with random connections and disconnections.<br> I will report asap some result about testing, but I'm not a good Valgrind-er, so any help or suggestion is welcome.<br> <br> On 12/08/2013 03:19 PM, "Thomas B. Rücker" wrote:<br> </div> <blockquote cite="mid:52A48003.5020804@ruecker.fi" type="cite"> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> <div class="moz-cite-prefix">On 12/06/2013 04:57 PM, voice wrote:<br> </div> <blockquote cite="mid:CAExdBCur62OoT8JvgwbxMkqAS=OvAis8TK0sC1WwxEmY+0r_9Q@mail.gmail.com" type="cite"> <div dir="ltr"> <div>Putting my hat into the ring as well to report memory leak issues using 2.3.99.3.<br> </div> </div> <div class="gmail_extra"><br> On Mon, Oct 28, 2013 at 3:30 AM, Luca Cireddu <span dir="ltr"><<a moz-do-not-send="true" href="mailto:sardylan@gmail.com" target="_blank">sardylan@gmail.com</a>></span> wrote:<br> <div class="gmail_quote"> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div text="#000000" bgcolor="#FFFFFF"> Hi all,<br> Icecast increase memory usage on our server too.<br> When started, memory usage was about 0.5% of 1GB.<br> After 2 or 3 months, about 15%.<br> I tried also to use valgrind to debug icecast sources, but my machine is too slow to keep it running through it, and it crashes.<br> <br> </div> </blockquote> </div> </div> </blockquote> <br> To everyone, please help pinpointing this by running Icecast in Valgrind.<br> I'll try to also set up a test setup, but it's possible that this doesn't show up in a lab environment.<br> <br> Cheers<br> <br> Thomas<br> </blockquote> <br> Cheers<br> Luca<br> </body> </html>