On Wed, Nov 2, 2011 at 12:37 PM, Bauer, Bobby (NIH/CIT) [E] <baue...@mail.nih.gov> wrote: > One of our Redhat servers got a LOT of activity yesterday and the swap space > looks funny to me. > > swapon -s > Filename Type Size Used > Priority > /dev/dasda2 partition 1023976 3692 -1 > /dev/dasdb1 partition 194964 420 2 > /dev/dasdc1 partition 64976 152 1 > /dev/dasdd1 partition 196596 25244 3 > > > Why would the system use swap space on dasdc1, dasdb1 and dasda2 if dasdd1 > hasn't run out?
It filled the first ones and eventually used the last one. Some processes were killed in the fight and their pages on swap space got released. As long as it did not go too quick, a performance monitor could show you total swap usage over time and reveal you (briefly) had that much swapped out. There's nothing in Linux that will migrate things back to the first swap disks in the list, other than when you "swapoff" the last ones in the chain. Remember that when you "swapoff" a VDISK, z/VM will still hold the old data (and use memory for that). Rob ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/