Re: Icecast 2.4 beta4 memory leak
| Newsgroups | gmane.comp.audio.icecast.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello! On Sun, 26 Jan 2014 12:28:36 +0000 "Thomas B. Rücker" <[email protected]> wrote: > > Can you please run Icecast under Valgrind? > > I'm personally using: > > valgrind -v --time-stamp=yes --leak-check=full --show-reachable=yes > > icecast -c /etc/icecast2/icecast.xml > I will test using this command, however I have never used Valgrind and know absolutely nothing about it. But I'll try to log its output to file. > > With our experiments so far we were not able to see such massive > > leaks. It would also help to know more about your setup. > > Which distro is this on? Which version of it? > > Built from source? OBS package? I use it on the Debian 7.2 (stable) system. The OS is running on the virtual private server. I compiled the IceCast package by myself and created a .deb-file for it. After that I installed this .deb-file as an ordinary Debian package. > > > > By the looks of it each stream leaks something in your case. > > How long are the songs you have in the playlists (Wondering how > > often it gets metadata updates). > The songs are usually about 3 to 5 minutes long -- a usual radio format. > One thing I noticed from the 2.3.99.3 graph is that there the leak > seemed to only occur for ices0. The 2.3.99.4 graph has it active all > the time, so it's hard to tell, what's interesting though, is that > ices2 now seems to have an impact on the growth rate. > But without knowing more about the setup, server config, etc - it's > impossible to tell what really happens. According to my observations, every IceS stream adds some memory leak. It was true both for the Icecast-2.4beta3 and Icecast-2.4beta4. The only difference I noticed was in the actual leakage rate. It was bigger for beta4. If you still have my old graph for beta3, you can see the transition from the band #4 to #5. One of the IceS instances (the smaller one -- for the single stream) was turned off at that point. And one may clearly see a sharp change in the memory leakage rate (from 80 bytes/sec to 50 bytes/sec). Please let me know if I can help in some way. I'll do my best. Meanwhile let me see what Valgrind shows. Regards, Vladimir ----- <[email protected]> _______________________________________________ Icecast-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/icecast-dev