On Tue, 09 Dec 2008, Marc Olzheim wrote: > On Tue, Dec 09, 2008 at 10:24:02AM +0100, Peter Palfrader wrote: > > On Tue, 09 Dec 2008, Marc Olzheim wrote: > > > > > Package: tor > > > Version: 0.2.0.31-1 > > > Severity: important > > > > > > Tor slowly leaks memory, resulting in the usual out-of-memory problems, > > > usualy getting tor killed by the kernel, but before that, slowing the > > > machine down because it eats all memory resources. > > > > > > top output, just before i just restarted it again: > > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > > > 28780 debian-t 20 0 1453m 345m 4048 S 0.3 70.7 468:43.85 tor > > > > > > Just after restart: > > > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND > > > > > > 8308 debian-t 20 0 114m 96m 24m S 1.0 19.7 0:16.09 tor > > > > > > This is the result of keeping it running about 2 weeks. > > > > That doesn't mean it's leaking. What's the amount of bandwidth you're > > pushing? Are you an exit node? What's your exit policy? > > Pretty much all defaults, with exit disabled, here is my /etc/tor/torrc:
I don't think what you are seeing is leaks but memory fragmentation. libc after sarge got really bad with the workload Tor put on its malloc. Do you want to give the current alpha version a try and let me know if it helps? IIRC it reduced memory usage quite some. My packages are in experimental if you are running sid, or you can use the backports I put up on mirror.noreply.org as described on https://wiki.torproject.org/noreply/TheOnionRouter/TorOnDebian (You want one of the -experimental repositories) -- | .''`. ** Debian GNU/Linux ** Peter Palfrader | : :' : The universal http://www.palfrader.org/ | `. `' Operating System | `- http://www.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

