tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* /sbin/init.d/paging gotcha
@ 1997-10-06 20:35 Amy E. Skowronek
  0 siblings, 0 replies; only message in thread
From: Amy E. Skowronek @ 1997-10-06 20:35 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-10-06 20:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-10-06 20:35 /sbin/init.d/paging gotcha Amy E. Skowronek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox