[Libtorrent-devel] rTorrent Memory Leak

Josef Drexler josef at ttdpatch.net
Wed Apr 30 14:42:22 UTC 2008


Try the fix posted in http://libtorrent.rakshasa.no/ticket/1324

On Apr 30, 2008, at 4:22 PM, In Incognito wrote:
> I've had the same problem for awhile. I've used many trunk,advanced  
> versions and none of em fix it.
>
>
>
> On Sun, Apr 27, 2008 at 6:04 PM, Rince <rincebrain at gmail.com> wrote:
> Could you compile your versions of xmlrpc-c and rtorrent with debug  
> symbols, then run rtorrent through valgrind and report where the  
> memory is leaking?
>
> - Rich
>
>
> On Sun, Apr 27, 2008 at 12:04 AM, pyther <pyther at pyther.net> wrote:
> > Over the past few days I noticed my applications on my server  
> were crashing (cups, rtorrent, backuppc, etc...). So I
> > checked dmesg for any hints and found this: http://rafb.net/p/ 
> 3WFxzG78.html
> >
> > I then monitored htop for sometime and noticed that rtorrent is  
> using 1-2% more memory, than 10 minutes ago. When I
> > first started rTorrent I was only using 2% of memory, but an 1  
> hour later it was using 12% of memory. I have 512Mb of
> > ram and plenty of swap, but over a day or two, rtorrent uses all  
> swap + ram and causes programs to crash, including
> > its self.
> >
> > Originally I was running rTorrent 0.8.0/0.12.0 when this problem  
> occurred, but then updated to rTorrent 0.8.1/0.12.1
> > with no luck.
> >
> > My System
> >   -Gcc 4.3 (used this patch http://libtorrent.rakshasa.no/ 
> attachment/ticket/1266/libtorrent-gcc43-v2.patch to compile)
> >   -Linux mongo 2.6.24-ARCH #1 SMP PREEMPT Sun Mar 30 11:40:06  
> CEST 2008 i686 AMD Sempron(tm) 2200+ AuthenticAMD
> > GNU/Linux
> >   -512Mb of Ram
> >   -Xmlrpc-c 1.14.2
> >
> > Any help would be great!
> > Thanks,
> > Pyther
> > _______________________________________________
> > Libtorrent-devel mailing list
> > Libtorrent-devel at rakshasa.no
> > http://rakshasa.no/mailman/listinfo/libtorrent-devel
> >
> After doing some more research I have found out that the issues  
> involved xmlrpc-c + rtorrent. When I compiled rtorrent
> without xmlrpc-c I did not have the memory leak. Also to note I was  
> using the svn version of xmlrpc-c and was unable
> to compile the latest development one (1.12, due to gcc 4.3 issues).
>
> _______________________________________________
> Libtorrent-devel mailing list
> Libtorrent-devel at rakshasa.no
> http://rakshasa.no/mailman/listinfo/libtorrent-devel
>
>
>
> -- 
> Friends don't let friends use Internet Explorer or Outlook.
>
> Choose something better.
> www.mozilla.org
> www.getfirefox.com
> www.getthunderbird.com
> _______________________________________________
> Libtorrent-devel mailing list
> Libtorrent-devel at rakshasa.no
> http://rakshasa.no/mailman/listinfo/libtorrent-devel
>
>
> _______________________________________________
> Libtorrent-devel mailing list
> Libtorrent-devel at rakshasa.no
> http://rakshasa.no/mailman/listinfo/libtorrent-devel

-- 
Josef Drexler
josef at ttdpatch.net





More information about the Libtorrent-devel mailing list