Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 1998 21:29:42 -0700
From:      "Ronald F. Guilmette" <rfg@monkeys.com>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        questions@FreeBSD.ORG
Subject:   Re: How do I find out how much memory the kernel is using now? 
Message-ID:  <29194.896243382@monkeys.com>
In-Reply-To: Your message of Tue, 26 May 1998 21:22:18 -0700. <Pine.BSF.3.96.980526212144.13318P-100000@gdi.uoregon.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help

In message <Pine.BSF.3.96.980526212144.13318P-100000@gdi.uoregon.edu>, you wrot
e:

>On Tue, 26 May 1998, Ronald F. Guilmette wrote:
>
>> 
>> I have a FreeBSD box configured (via sysctl) to allow for a large number of
>> both open files (system-wide) and also for a large number of open network
>> connections (system-wide).
>> 
>> This box has very little running on it, only a few processes, the largest
>> of which is about 5.5 megs (virtual), but I have 32 MB of physical memory
>> in the box.
>> 
>> Still, the thing seems to be swapping like crazy.  Why?  I need to find out
>> exactly why, and soon.
>
>Run top and watch what turns to <brackets>.  <bracketed> processes are
>swapped out.  Perhaps your huge process is leaking memory?

If it was leaking memory, then that fact would show up (glaringly) on a
`ps -l' report would it not?

I am seeing no evidence of that.

>> number??  Is that really saying that I only have 3.8 MB left for user-level
>> processes??
>
>That isn't bad.

Ah... excuse??  Come again?

I spent good money to put 32 MB of main memory in this puppy and now when
I say that it look like the OS is using up all but 3.8 MB of that you say
``That isn't bad''.

It sure as hell _is_ bad in my book.  Jeeezzzz.  Even Windoze NT doesn't
suck memory THIS bad!

P.S.  I am still hoping for an answer to my original question... How can I
tell exactly how much memory the OS itself is using at any given instant in
time?


-- Ron Guilmette, Roseville, California ---------- E-Scrub Technologies, Inc.
-- Deadbolt(tm) Personal E-Mail Filter demo: http://www.e-scrub.com/deadbolt/
-- Wpoison (web harvester poisoning) - demo: http://www.e-scrub.com/wpoison/

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?29194.896243382>