NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Memory loss with Linux emulation

On Feb 11, 2010, at 5:19 AM, Frank Wille wrote:

> But there is one larger commercial program (from my company) which I have
> to restart multiple times a day, and each time I'm losing memory. After a
> few dozend starts (and terminations) it occupies several GB of swap space.
> I have access to the source, and the program starts some own processes
> with fork() and execvp() but none of them can be found after the main
> application terminates. Still the memory is gone.

There's a memory leak in the Linux procfs code.  It's been pulled up to 
netbsd-5, so this will be fixed in 5.1.

In the meantime, the relevant revision is: sys/miscfs/procfs/procfs_linux.c 


Home | Main Index | Thread Index | Old Index