tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Amy E. Skowronek" <amy () aloha ! nascom ! nasa ! gov>
To: tru64-unix-managers
Subject: /sbin/init.d/paging gotcha
Date: Mon, 06 Oct 1997 20:35:30 +0000	[thread overview]
Message-ID: <96078618110274.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~1997-10-06 20:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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