From: Dan.Pop@mail.cern.ch (Dan Pop)
Subject: Re: ever-expanding kernel process
Date: 1995/10/29 [thread overview]
Message-ID: <danpop.814934893@rscernix> (raw)
In-Reply-To: 46p334$ka1@nntp5.u.washington.edu
In <46p334$ka1@nntp5.u.washington.edu> mkkuhner@phylo.genetics.washington.edu (Mary K. Kuhner) writes:
>We are running OSF/1 on an Alphastation 400 4/233 and have been for
>some time. We have a recurring problem with a kernel process
>that gets bigger and bigger until we're forced to reboot to salvage
>the space. The "ps aux" entry looks like this:
>
>USER PID %CPU %MEM VSZ RSS TTY S STARTED TIME COMMAND
>root 0 0.0 16.6 155M 10M ?? R < Sep 15 52:20.19 [kernel idle]
>
>This is under 2 months' growth and is getting around to the point of
>seriously impacting system speed and swap space (we regularly get
>"only 10% swap space left" errors). Time to reboot yet again....
>
>Why does the kernel grow like this? How can we limit its relentless growth?
You're looking at a red herring. The virtual size of the kernel is,
on all DEC OSF/1 systems I've seen, physical memory + swap space
configured - epsilon. This is definitely not the source of your
problems. For example, on my system, with 64 MB RAM and 128 MB swap:
USER PID %CPU %MEM VSZ RSS TTY S STARTED TIME COMMAND
root 0 0.0 22.2 184M 144 ?? R < Oct 18 51:26.18 [kernel idle]
But if I look at the usage of the swap space, I see:
ues5:~/tmp 15> swapon -s
Swap partition /dev/rz1b:
Allocated space: 16384 pages (128MB)
In-use space: 3362 pages ( 20%)
Free space: 13022 pages ( 79%)
Plenty of free swap space (well, I use lazy swap allocation).
To spot your real problem, look for other processes which use a lot of
virtual memory. Some of them might have memory leaks. Killing and
restarting them on a regular basis will avoid the need to reboot the
machine.
Dan
--
Dan Pop
CERN, CN Division
Email: Dan.Pop@mail.cern.ch
Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
next prev parent reply other threads:[~1995-10-29 4:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-10-26 4:00 X font server in Digital Unix broken Philip Tait
[not found] ` <46p334$ka1@nntp5.u.washington.edu>
1995-10-27 4:00 ` ever-expanding kernel process Saul Tannenbaum
1995-10-27 4:00 ` Mary K. Kuhner
1995-10-29 4:00 ` Saul Tannenbaum
1995-10-29 4:00 ` Dan Pop [this message]
1995-10-29 4:00 ` Saul Tannenbaum
1995-11-02 5:00 ` Thomas Leitner
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox