🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by David Swanger Fri, 02 Apr 1999 00:00
Hey, where did the memory go?
#36304
Author: David Swanger
Date: Fri, 02 Apr 1999 00:00
35 lines
1852 bytes

I added some ram to our Sun Ultra 1 usenet server.  It
originally had 192mb of ram, now it has 448mb.  Before
the upgrade, INN 2.2 would use nearly all of the ram (top
would say there were a few mb free) and around 100mb of
swap (sometimes less).  The amount of swap used would
float up and down, but the total ram/swap would be
roughly 300mb.

After I installed the ram and restarted the server,
I've been monitoring the memory usage with top.
The first few hours, it used about 300mb of ram, like
before except now it's all ram and no swap, so
presumably performance is better.

Suddenly, the free ram dropped from around 140mb to 
40mb and now is now bouncing between 7mb free to
65mb free.  Basically, INN is now using about 100mb 
more ram than it was before.  Of course, we've got
enough ram and it still isn't swapping (yet), so
maybe I'm worried about nothing.

Does INN just use more memory if it's available?
Maybe this is just an unusually busy day, though
right now there are 14 newsreader processes and 
45mb free.

--
David Swanger
University Computing
Auburn University, AL
swangdb@mail.auburn.edu

Re: Hey, where did the memory go?
#36296
Author: James J. Davis
Date: Fri, 02 Apr 1999 00:00
38 lines
2236 bytes
In article <7e2sgv$ek7$1@ultranews.duc.auburn.edu>,
David Swanger <swangdb@mail.auburn.edu> wrote:
:
:
:I added some ram to our Sun Ultra 1 usenet server.  It
:originally had 192mb of ram, now it has 448mb.  Before
:the upgrade, INN 2.2 would use nearly all of the ram (top
:would say there were a few mb free) and around 100mb of
:swap (sometimes less).  The amount of swap used would
:float up and down, but the total ram/swap would be
:roughly 300mb.
:
:Suddenly, the free ram dropped from around 140mb to 
:40mb and now is now bouncing between 7mb free to
:65mb free. 

That may not be a problem; remember that Solaris 2.x will be pretty
aggresive about using memory and it's normal to see the free memory
shrink to small values, even if you have a lot of RAM installed.
There's a good overview of Solaris memory in Richard McDougall's
"Solaris Memory Sizing White Paper" at
http://www.sun.com/sun-on-net/performance.html.

I think Adrian Cockroft has had some columns about that too in
Sunworld Magazine (http://www.sunworld.com/sun.index.html) and of
course in the book he coauthored with Richard Pettit, "Sun Performance
and Tuning" (chapter 13 in particular).

Cockroft's "Virtual Adrian" program has some rules for determining if
you are having a memory crunch; basically the indicator is the scan
rate ("sr" in vmstat).  You might just run vmstat for a while and see
if sr is nonzero, or pick up the SE toolkit (which contains Virtual
Adrian and other goodies) from the first URL above.
--
Jim Davis        | "Plaaay NICE!!"
jjd@primenet.com |   -- Bubbles

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads