1827584 Members
2652 Online
109965 Solutions
New Discussion

Re: SLES9 Swap

 
Mark Wolf_2
Advisor

SLES9 Swap

I have a server that has plenty of head room for memory and but it is swapping out some processes.

vmstat -s shows:
6163452 total memory
5912576 used memory
3960448 active memory
1089548 inactive memory
250876 free memory
83020 buffer memory
2938988 swap cache
8400704 total swap
237748 used swap
8162956 free swap
11982261 non-nice user cpu ticks
24436 nice user cpu ticks
2357426 system cpu ticks
63791902 idle cpu ticks
7682023 IO-wait cpu ticks
19768 IRQ cpu ticks
422612 softirq cpu ticks
60985088 pages paged in
244024328 pages paged out
114819 pages swapped in
160341 pages swapped out
681264975 interrupts
1930286078 CPU context switches
1156043850 boot time
4038456 forks

I don't think this box should be swapping at all. It is and I would like to know what proccess are being swapped out. Is there a way to tell which process is be sent to swap?

Mark
4 REPLIES 4
Ivan Ferreira
Honored Contributor

Re: SLES9 Swap

Is this a database server? Last time I talked with a Oracle DBA, he toldme that depending of the oracle configuration (SGA, PGA, etc) the Oracle may "force" paging even when there is free memory available.

Monitor your system page in and page out with vmstat and sar to identify if the system is paging.

The ps command ouput had a column indicating that a process is in W state, but this is not valid for 2.6 kernels anymore.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Mark Wolf_2
Advisor

Re: SLES9 Swap

Leave it to Oracle....I am running a 2.6 kernel so I am SOL for this suggestion.

:-(

Mark
Steven E. Protter
Exalted Contributor

Re: SLES9 Swap

Shalom,

See if your Oracle DBA can reduce the SGA. If not, purchase some RAM, its not that expensive.

vmstat doesn't show oracle being spapped in and out, I guess that process is too busy to be swapped.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Mark Wolf_2
Advisor

Re: SLES9 Swap

The Answer, Throw more money at the problem, No need to understand the systems and configurations.....We added more memory.