Swapping and vm on red hat




I maintain a Red Hat system 3.2.47 with 12G
of physical memory. The application is
Sun Directory server 5.2 .

My memory parms are :

[xxxx:/proc/sys/vm] # cat bdflush
50 500 0 0 500 3000 80 50 0
[eds1:/proc/sys/vm] # cat pagecache
1 15 30

I am surprised that with this much memory
I am slowing using more and more swap space :

The system has bben in production only a week ,
yet I see ;

ds1:/proc/sys/vm] # vmstat 1 5
procs memory swap io system
cpu
r b swpd free buff cache si so bi bo in cs us sy
wa id
0 0 5436 120196 166200 10942208 0 0 6 8 1 9 2
0 0 11
0 0 5436 120192 166200 10942208 0 0 0 0 374 584 1
0 0 99
1 0 5436 120128 166200 10942272 0 0 0 0 678 1295 4
0 0 96


with swap space usage slowly growing.

Most of the memory is taken up with file pages,
( very intensive loggin g ),
not program pages.

How do I get the system to preferentially
write back to diak file pages ?

JYard
UCLA

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: Allocating variables without using swap space
    ... possible WITHOUT using swap space, since using swap space slows things down immensely. ... Matlab allocates memory where-ever it feels like it, ... If you have administrative control over the Linux machine, you can turn off disk swap ... you are -very- careful on exactly how you use the array, never accessing a sub-section of it ...
    (comp.soft-sys.matlab)
  • Re: New Patch Fixes 43 Flaws In OS X, Many Serious
    ... so I demand you disprove them". ... You cannot handle all errors from fork(); ... swap space, forkwill not signal an error, but instead your Unix ... will start terminating processes to free memory. ...
    (comp.sys.mac.advocacy)
  • /etc/system and oracle
    ... UltraSPARC-II 450MHz) running Solaris 7 and Oracle ... system full, swap space limit exceeded ... Physical memory was exceeded and entire processes were ... This machine currently has 2 gigs or real memory ...
    (SunManagers)
  • Re: forking from a large active process in solaris
    ... enough swap space to satisfy it. ... commit memory in sbrk, either. ... problems it caused---you can't use such systems if reliability ... fork can fail with ENOMEM. ...
    (comp.unix.programmer)
  • Re: What size for the swap with a kernel 2.4x and 8GB RAM
    ... I have Red Hat Enterprise Linux 3 ES with 8 GB of memory as well. ... of swap space, the machine has been running since March 15 and has not paged ... Does the rule Swap Size= 2 X RAM still applies with big RAM like 8GB? ...
    (comp.os.linux.misc)