Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Dec 1999 02:38:04 -0800
From:      David Greenman <dg@root.com>
To:        JMS Internet <webmaster@jmsinternet.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Memory Usage 
Message-ID:  <199912081038.CAA19626@implode.root.com>
In-Reply-To: Your message of "Tue, 07 Dec 1999 14:18:58 PST." <4.2.2.19991207141345.00d7ef00@mail.jmsinternet.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>My server runs on a dedicated 10mbps connection.  Unfortunately after 
>installing additional ram to help speed up the system I have had no luck 
>determining why the memory is used up as soon as I start the system.  The 
>system serves webpages only, so Apache and sendmail are really my only 
>programs running.  I've taken the following measurements from 'top' in case 
>it helps anyone, while running normally my system shows:
>784M Active	46M Inactive	129M Wired	34M Cache	8M Buffer	3M Free
>After stopping Apache (leaving approximately 20 megs of programs and system 
>utilities left running I get the following numbers)
>577M Active	46M Inactive	111M Wired	29M Cache	8M Buffer	236M Free
>
>My question mainly pertains to why the system is not 'freeing' up the 
>memory even though it is not actually doing anything.  I'm assuming that 
>could be the reason I'm having such a hard time with system 
>response.  Telnet sessions are almost impossible until Apache is killed, 
>and FTPing isn't much better.  Anyone's help would be greatly appreciated...

   FreeBSD keeps file data cached in memory whenever possible. I'd guess that
your slowness is due to network congestion (which goes away after you kill
off Apache) and not the system itself.

-DG

David Greenman
Co-founder/Principal Architect, The FreeBSD Project - http://www.freebsd.org
Creator of high-performance Internet servers - http://www.terasolutions.com
Pave the road of life with opportunities.


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?199912081038.CAA19626>