Virtual Memory

From: Mark (decent_tiger_at_yahoo.com)
Date: 11/19/03


Date: 19 Nov 2003 11:18:48 -0800

Over the past few days I am noticing some software crashes on the UNIX
Server. The logs of the servers don't show anything because probably
the standard output is not working at the time of the crash and this
has prompted me to check the virtual memory statistics on the UNIX
Server. I am not able to comprehend and relate the output of these
commands too well.
> vmstat 1
Virtual Memory Statistics: (pagesize = 8192)
  procs memory pages intr
cpu
  r w u act free wire fault cow zero react pin pout in sy cs
us sy id
 20 786 205 638K 149K 239K 33G 1G 3G 39113 3G 0 1K 20K 7K
 9 16 75
 16 791 205 639K 148K 239K 8403 1050 4868 0 888 0 1K 19K 8K
20 25 56
 19 788 204 633K 153K 239K 8783 1159 5204 0 709 0 886 15K 8K
16 17 67
 19 789 204 634K 152K 239K 6874 1240 4557 0 837 0 732 17K 7K
19 16 65
 18 796 205 637K 149K 239K 11250 2010 5777 0 2334 0 695 19K 6K
28 23 49
 
Is 149K of free memory alarming ? Do you see any problem with the
virtual memory usage ? When I do vmstat-s I see the following stats -

> vmstat -s

Virtual Memory Statistics: (pagesize = 8192)
    208335 active pages
     73422 inactive pages
    178967 free pages
    245443 wired pages
33438697750 virtual memory page faults
1371069120 copy-on-write page faults
3417766451 zero fill page faults
     39113 reattaches from reclaim list
3479713004 pages paged in
         0 pages paged out
14637421302 task and thread context switches
2120624601 device interrupts
41916705505 system calls

And swapon -s gives the following output
gs140b:/prod/ecs/edi/geisupload/log > swapon -s
Swap partition /dev/disk/dsk57c:
    Allocated space: 523755 pages (4.00GB)
    In-use space: 129 pages ( 0%)
    Free space: 523626 pages ( 99%)

Swap partition /dev/disk/dsk58c:
    Allocated space: 523755 pages (4.00GB)
    In-use space: 129 pages ( 0%)
    Free space: 523626 pages ( 99%)

Swap partition /dev/disk/dsk59c:
    Allocated space: 523755 pages (4.00GB)
    In-use space: 129 pages ( 0%)
    Free space: 523626 pages ( 99%)

Total swap allocation:
    Allocated space: 1571265 pages (11.99GB)
    In-use space: 387 pages ( 0%)
    Available space: 1570878 pages ( 99%)

---
Can anyone point me to any problematic memory usage here ? Thanks in
advance.


Relevant Pages

  • Virtual Memory
    ... Server. ... has prompted me to check the virtual memory statistics on the UNIX ... 33438697750 virtual memory page faults ... Allocated space: 523755 pages ...
    (comp.unix.questions)
  • Virtual Memory
    ... Server. ... has prompted me to check the virtual memory statistics on the UNIX ... 33438697750 virtual memory page faults ... Allocated space: 523755 pages ...
    (comp.unix.misc)
  • Virtual Memory
    ... Server. ... has prompted me to check the virtual memory statistics on the UNIX ... 33438697750 virtual memory page faults ... Allocated space: 523755 pages ...
    (comp.unix.programmer)
  • Re: Virtual memory fragmentation in Windows 2000 Server
    ... How do I know if Trend is installed as a filter driver of an event sink? ... It is plain Windows 2000 Server, ... Virtual memory will temporarially be used during isinteg. ... Why does the virtual memory plummet during online defrag. ...
    (microsoft.public.exchange.admin)
  • Re: Error 9582 on Exch2000SP3 and W2KSP4 w/2.5 G RAM
    ... Are you running Windows 2000 Advanced Server? ... Exchange server that is running on Windows 2000 Standard. ... memory blocks available) or 9582 errors (less than 16MB virtual memory ...
    (microsoft.public.exchange.admin)