/sbin/init.d/paging gotcha

From: Amy E. Skowronek <amy_at_aloha.nascom.nasa.gov>
Date: Mon, 06 Oct 1997 16:35:30 -0400

Thought I'd let everybody know of a "feature" I found.
I got a machine set up with DU from the factory, but
rc.config was noticeably bare. It had odd problems -
the memory would sort of leak away, it'd hang occasionally,
*sometimes* when you'd log in from the console it would
hang for a long time at a blue screen and tell you it had
.dtwhatever problems.

To make a long story short, the PAGE* options in rc.config
weren't set. Which meant that /sbin/init.d/paging didn't have
some key variables set that it *really wanted*. Variables like
PAGERAW.

Funny thing, if PAGERAW is not set to "1", then /sbin/init.d/paging
defaults to swapon options that are not supported by DU:

> /sbin/swapon -v -l $PAGEMINSZ -h $PAGEMAXSZ $PAGEFILE

from man swapon:

  (Because Digital UNIX does not currently support paging and swapping to a
  regular file, the -l and -h options are not supported.)
  
The second swap partition I had specified in /etc/fstab never got
mounted, and the operating system got slower and slower. Adding the PAGERAW=1
option (among others) to /etc/rc.config and rebooting solved my problem.

The particular machine I had problems on was a Personal Workstation 433au
running DU 4.0c, but all my machines contain the same line in /sbin/init.d/paging.

Does anybody have an address where I could report this to Digital?

-Amy Skowronek
NASA/Goddard Space Flight Center
Solar Data Analysis Center
Received on Mon Oct 06 1997 - 22:47:38 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:36 NZDT