FW: Shared memory and swap staying high

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: Message
Hi all,

AS2.1 2.4.9-e.25smp
4GB ram 4 Xeons 4 70GB dirves RAID 1/0

Progress 9.1d database. i am running init 3

shmmax was set to 33554432
Yesterday I increased it to 134217728 for better database buffering

i ran a process that had to use swap. it finished but swap was never cleared.
i took down the database and still swap was never cleared.

this morning with no database server running - just barebones processes
all of swap being used and alot of shared memory too.
 
i then rebooted . top showed everything cleared and 0k swap .
 
i am not sure what to make of this. it seems to me
that when swap is no longer being used it would show    0k used.
also shared memory stayed high and memory used stayed high.
 
is this normal behavior for this kernel? should i expect to see these
figures never decrease once they increase? is this just a flaw in the
top reporting?
 
any input would be greatly appreciated.
 
 
before reboot:
 9:24am  up 13 days, 10:54,  2 users,  load average: 0.00, 0.00, 0.00         
53 processes: 52 sleeping, 1 running, 0 zombie, 0 stopped                      
CPU0 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle                 
CPU1 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle                 
CPU2 states:  0.1% user,  0.0% system,  0.0% nice, 99.4% idle                  
CPU3 states:  0.0% user,  0.2% system,  0.0% nice, 99.3% idle                  
Mem:  3992204K av, 2736612K used, 1255592K free,  728660K shrd,  258844K buff  
Swap: 2096440K av, 2096440K used,       0K free                 1068788K cached
 
 
after reboot:
 12:40pm  up  1:50,  4 users,  load average: 0.01, 0.01, 0.00                  
69 processes: 68 sleeping, 1 running, 0 zombie, 0 stopped                      
CPU0 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle                 
CPU1 states:  0.1% user,  0.2% system,  0.0% nice, 99.2% idle                  
CPU2 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle                 
CPU3 states:  0.0% user,  0.0% system,  0.0% nice, 100.0% idle                 
Mem:  3992204K av, 1487080K used, 2505124K free, 1250948K shrd,   72320K buff  
Swap: 2096440K av,       0K used, 2096440K free                   80564K cached
                                                                               
TIA
 
Lonnie Percent
 

                                                                               

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux