From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103734,5d5140ead7a56f50 X-Google-Attributes: gid103734,public X-Google-Thread: fee84,5d5140ead7a56f50 X-Google-Attributes: gidfee84,public From: tom@finwds01.tu-graz.ac.at (Thomas Leitner) Subject: Re: ever-expanding kernel process Date: 1995/11/02 Message-ID: <47avp9$mal@fstgal00.tu-graz.ac.at>#1/1 X-Deja-AN: 118478936 references: <46ogfh$c1k@asbe05.phx1.aro.allied.com> <46p334$ka1@nntp5.u.washington.edu> followup-to: comp.unix.osf.osf1,comp.windows.x organization: Graz University of Technology, Austria newsgroups: comp.unix.osf.osf1,comp.windows.x Dan Pop (Dan.Pop@mail.cern.ch) wrote: > 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). Well. I got 128MB RAM and 150MB SWAP and see the following: # ps aux USER PID %CPU %MEM VSZ RSS TTY S STARTED TIME COMMAND root 0 0.0 13.6 335M 175 ?? R < Oct 31 6:01.86 [kernel !!!! My RAM+SWAP sum up to 128+150=278 So RSS is still below that. On the other hand, VSZ is a lot above it!! Tom -- Tom Leitner, tom@finwds01.tu-graz.ac.at |\ _,,,---,,_ Dept. of Communications zzz. /,`.-'`' -. ;-;;,_. Graz University of Technology |,4- ) )-,_. ,\ ( `'-' Inffeldgasse 12 '---''(_/--' `-'\_) A-8010 Graz / Austria / Europe, Phone: +43-316-873-7455, Fax: +43-316-463-697 WWW home page: http://wiis.tu-graz.ac.at/people/tom.html