Kernel memory leak in ATAPI/CAM or ATAng?

Scott Long scottl at freebsd.org
Sun Nov 9 21:44:36 PST 2003


Kevin Oberman wrote:
> Tested. It's much better, although ATA request keeps adding more
> memory all the time when mplayer is playing, but it's now increasing
> at about 20K/minute which is a huge improvement. Still, I don't
> understand why it should just continue to grow all of the time. The
> data rate is about constant. I would expect that it should grow to a
> size where the data being processed can be accommodated and then stop
> growing. I don't see it stopping.
> 
> Thanks for the quick fix.

Well, it sounds like there is still a memory leak somewhere.  Make sure
that you have rev 1.27 of atapi-cam.c to be sure.  If so, please let me
know which malloc type in vmstat -m is growing.

Scott



More information about the freebsd-current mailing list