Date: Fri, 31 Jan 2003 16:58:33 +0100 From: Ruben de Groot <fbsd-q@bzerk.org> To: Florian Lorenzen <florenzen@web.de> Cc: freebsd-questions@freebsd.org Subject: Re: Limiting memory usage of a certain process. Message-ID: <20030131155833.GA88568@ei.bzerk.org> In-Reply-To: <3E3A8791.D9A3730@web.de> References: <3E3A8791.D9A3730@web.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Fri, Jan 31, 2003 at 03:26:25PM +0100, Florian Lorenzen typed: > Hi all, > > I've got the following problem with my FBSD-4.7-STABLE-box: > > It is running a mldonkey-2.02-client under a dedicated user. This > process eats up all memory. Thus the system starts swapping. This is in > general not a big problem but it slows down the whole machine, which is > also running several other services. My question now is how to limit the > mldonkey-precess' memory usage. I've got 64 MB of core and the CPU is a > Pentium 166, so not to fast at all, but sufficient for everything else. > top tells me that under normal load, without the mldonkey, about about > five MB of core are free. mldonkey needs about 20 MB which are resistant > and overall size (as top says) gets up to 70 MB, thus about 80 MB of > swap space get used, nearly zero under normal load. top also says that > about 30 MB of core are "wired" all the time. I'd like to know, what > this means and wheather it makes sense to decrease this (and if, how), > so that more space is left in RAM. > > I tried to limit core-use of mldonkey by putting it into a seperate > login group with a lowered maxmemorysize but that had no effect. I also > niced it up, but that has no effect on swap usage, of course. When you put it in a separate login class (you do mean class, not group, do you?) did you run the command "cap_mkdb login.conf"? > > So, is there any possibility to speed up the machine except putting in > more physical RAM? > > Help appreciated. > > Florian > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030131155833.GA88568>