adding swap

From: Kevin C McCarty (kmccart6@csc.com)
Date: Thu Jan 15 2004 - 14:27:39 EST


Hello Managers,

I could use some advice on a memory problem please, I just can't figure
this one out, I thought I had it but not quite.
The scenario is this: ES40 10Gb ram, 2-833CPU , 5.1, we have a custom
application that runs alongside oracle, and when the app is run it fails
halfway through with a segmentation fault. Oracle and the app call it
'foo' start to steal back and forth the ram available. I have 4Gb of
swap space set to disk0b, but I don't understand how to increase it if the
partition on either side of dsk0b are used. My other partitions, dsk0g
and dsk0h are used.

A listing of sysconfigdb proc and vm are:

proc:
        max-proc-per-user = 1024
        max-threads-per-user = 4096
        maxusers = 2048
        task_max = 1024
        per_proc_stack_size = 16000000
        max_per_proc_stack_size = 4026531840
        per_proc_data_size = 8589934592
        max_per_proc_data_size = 8589934592
        max_per_proc_address_space = 8589934592
        per_proc_address_space = 8589934592
# /sbin/sysconfigdb -l vm

vm:
        swapdevice = /dev/disk/dsk0b
        vm-swap-eager = 1
        vm_mapentries = 300
        vm_segmentation = 1

A listing of swap is:
Swap partition /dev/disk/dsk0b (default swap):
    Allocated space: 524288 pages (4.00GB)
    In-use space: 1 pages ( 0%)
    Free space: 524287 pages ( 99%)

Total swap allocation:
    Allocated space: 524288 pages (4.00GB)
    Reserved space: 66746 pages ( 12%)
    In-use space: 1 pages ( 0%)
    Available space: 457542 pages ( 87%)

The advfs filesystem is 6 drives in Raid5 with about 80Gb on dsk0h, but
since it is in use and 80% messing with it is out of the queston right?
How do you add swap on a box that is using the dsk0h?
I have been using the system tuning guide and system administration guide
as well.
As always I appreciate the help!

Kevin McCarty
CCNP
Computer Sciences Corporation
Defense Sector

----------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit
written agreement or government initiative expressly permitting the use of
e-mail for such purpose.
----------------------------------------------------------------------------------------



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:48 EDT