tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Swap Space
@ 1997-08-01 16:01 Paul Kitwin
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Kitwin @ 1997-08-01 16:01 UTC (permalink / raw)
  To: tru64-unix-managers

Thanks to everyone who responded (Almost the entire list)

I guess I was the only person that didn't know that swap space could be
added without a reboot.  I knew that changing modes required a reboot,
but I couldn't find any confirmation that swap could be added
dynamically (I'm a bit paranoid about making changes on my production
system).

As far as monitoring swap space, I am using DU 3.2X on all of my
systems. Thanks for the advice for the utilities for DU 4.0X, but it
doesn't work in my scenario.

As it turns out, my specific need for monitoring swap came with a bit of
confusion. When I was asked how to monitor swapping, it wasn't so much
from the UNIX side, as it was on the Oracle side (As I now understand,
oracle uses it's own swap file).

Thanks again to all.

From the dark land of the mole people

^ permalink raw reply	[flat|nested] 5+ messages in thread
* SUMMARY: swap space
@ 2003-03-24 12:43 Jiang Wei
  0 siblings, 0 replies; 5+ messages in thread
From: Jiang Wei @ 2003-03-24 12:43 UTC (permalink / raw)


Thanks to :
Olle Eriksson
Gergen, Peter
Nemholt, Jesper Frank
Shaun.Racine

For their quick and clearly answer.

All of them tell us that I should use "lazy swap" instead of preallocated
mod.

by using a command: /sbin/sysconfig -q vm vm_swap_eager to show the value

and by edit /etc/sysconfigtab

vm:
        swapdevice = /dev/disk/dsk0b
        vm-swap-eager = 0

set vm-swap-eager = 0 instead of 1.

A very useful command also: 
fuser -c /dev/disk/dsk0b  
fuser -c /dev/disk/dsk2b

to show process using swap.


Thanks again for all of them.


My origial message is below:

----------------------------------------------------------------------------
----------

Dear Managers,

We have a Alpha 4000 with Tru64 V 5.1A, patched recently with
t64v51ab21as0004-20030206.tar, but we noticed that the server has  a swapon
space below 10 % free shown at console,see below: 

But there are no special process turn on, this message come even after a
reboot. There are nothing special either at crontab.  Is there a method to
determine which process take all this swap space?

Any help would be appreciate, Thanks in advanced.

bash-2.04# swapon -s
swap space below 10 percent free
Swap partition /dev/disk/dsk0b (default swap):
    Allocated space:        70552 pages (551MB)
    In-use space:               1 pages (  0%)
    Free space:             70551 pages ( 99%)

Swap partition /dev/disk/dsk2b:
    Allocated space:        76781 pages (599MB)
    In-use space:               1 pages (  0%)
    Free space:             76780 pages ( 99%)


Total swap allocation:
    Allocated space:       147333 pages (1.12GB)
    Reserved space:        147009 pages ( 99%)
    In-use space:               2 pages (  0%)
    Available space:          324 pages (  0%)


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



^ permalink raw reply	[flat|nested] 5+ messages in thread
* SUMMARY: Swap Space
@ 1998-03-16 19:52 CCURTIS
  0 siblings, 0 replies; 5+ messages in thread
From: CCURTIS @ 1998-03-16 19:52 UTC (permalink / raw)
  To: tru64-unix-managers

Yet again I am absolutely stunned by the volume and speed of the
responses.

Several options were suggested:

1) get more memory (because it -could- be that the machine is already
spending too much time swapping)

2) backup, rearrange partitions, restore

3) /dev/swapon /dev/rz8h (and fix fstab)
In retrospect, the OBVIOUS easy fix, and the one I ended up trying.
Went from 75% reserved, 36% in use to 16% reserved, 8% in use with one
command line.

Thanks to all who responded.  My users have taken the boiling oil off
the fire. 
:-)

--Chris

^ permalink raw reply	[flat|nested] 5+ messages in thread
* SUMMARY: Swap space
@ 1998-02-13  3:35 Fredy Villa
  0 siblings, 0 replies; 5+ messages in thread
From: Fredy Villa @ 1998-02-13  3:35 UTC (permalink / raw)
  To: tru64-unix-managers

Hey guys,

	Thanks for the replies.

PROBLEM:

	I got the error 'swap space is below 10% free'. My question was:
how do I add more swap space? 
	
	Basically I can do two things:

1.- use an empty partition and allocate another swap space

2.- change from conservative mode to deferred mode by deleting or
renaming the symbolic link: /etc/swapdefault

Well, I actually tried to to reduce the amount of memorey certain
processes reserved. I increased the % free space from %10 to %45. We run
about 20 webservers and each one was reserving about 12M-15M. Probably
in the future I will have to implement way 1 or 2 to add swap space.

NOTES:

to view the available swap space information use:
  swapon -s
to add a new partion to the file /etc/fstab use:
swapon -a


Fredy Villa

^ permalink raw reply	[flat|nested] 5+ messages in thread
* SUMMARY: swap space
@ 1997-04-07 17:32 Bill Bergman
  0 siblings, 0 replies; 5+ messages in thread
From: Bill Bergman @ 1997-04-07 17:32 UTC (permalink / raw)
  To: tru64-unix-managers

I received many excellent replies in answer to my question about swap
space.  It turns out that the entries in my messages file that I was
concerned about weren't error messages after all.  Since I don't have a
/sbin/swapdefault file, the system writes informational messages into the
messages file.  This is normal when using deferred mode.  Thanks again to
all of the knowledgeable people who took the time to reply to my question.

Bill



>>While looking through my message log I noticed numerous entries like the
>>one below:
>>
>>  Nov 26 21:46:29 xxxxx vmunix: swap space below 10 percent free
>>  Nov 26 21:46:30 xxxxx vmunix: Unable to obtain requested swap space
>>
>>I am no longer getting these errors.  But now when I boot I get the
following:
>>
>>Apr  1 11:01:13 xxxxx vmunix: vm_swap_init: warning /sbin/swapdefault 
>>swap device not found
>>Apr  1 11:01:13 xxxxx vmunix: vm_swap_init: in swap over commitment mode
>>
>>
>>What is wrong with my system and what can I do to fix it?  The log goes
>>about 30 months and for the first 24 none of these errors were present.

Bill Bergman
Westinghouse Communications
(412) 247-6206
wrb@wcsmail.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-03-24 12:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-08-01 16:01 SUMMARY: Swap Space Paul Kitwin
  -- strict thread matches above, loose matches on Subject: below --
2003-03-24 12:43 SUMMARY: swap space Jiang Wei
1998-03-16 19:52 SUMMARY: Swap Space CCURTIS
1998-02-13  3:35 SUMMARY: Swap space Fredy Villa
1997-04-07 17:32 SUMMARY: swap space Bill Bergman

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