Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2002 07:08:05 +1000
From:      Kal Torak <kaltorak@quake.com.au>
To:        pzw@aabc.dk
Cc:        isp@freebsd.org
Subject:   Re: SV: Inactive memory in FreeBSD
Message-ID:  <3D88EB35.7080303@quake.com.au>
References:  <E01A200E2339D311AF7E00508B319A2B04C84714@expers.aabc.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
pzw@aabc.dk wrote:
> While this is a fine and dandy idea, I have experienced a serious downgrade
> in response time for some of my websites, when the system has converted all
> free memory to inactive memory. After a reboot, there was no problem with
> response time.

This has nothing to do with the amount of inactive memory, this would be the
result of a program leaking or consuming large amounts of resorces that it
didnt need..

Have a look at the memory usage of your programs when they are first started
and then compare that to the usage of when you notice the downgrade.. You will
probably find something is using huge amounts of memory.. Thats a bug in the
program most likely and you should report it or upgrade to a newer version or
switch to a different program that does the same thing..

If you MUST use that software you could set a cron job to kill the process and
start it again every few days or whatever you think is needed so that memory
is released... Unlike windows you dont need to reboot to salvage leaked memory!


> I've read the article about the VM design, and it is like you say, but, the
> overhead on memory allocation from inactive memory, instead of free memory,
> must be very high, that's the only way to explain the situation above.

Inactive memory is not a bad thing! Where do you get this idea that free memory
is better than inactive??



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D88EB35.7080303>