分类: LINUX
2009-03-23 11:06:31
[root@rac1 dmp]# free -m
total used free shared buffers cached
Mem: 6081 4465 1616 0 33 4199
-/+ buffers/cache: 231 5850
Swap: 2000 2000 0
[root@rac1 backup]#
[root@rac1 backup]#dd if=/dev/zero of=swapfile bs=1024 count=10000
[root@rac1 backup]#mkswap swapfile
[root@rac1 backup]#swapon swapfile
[root@rac1 backup]# free -m
total used free shared buffers cached
Mem: 6081 6066 15 0 35 5262
-/+ buffers/cache: 769 5312
Swap: 4000 2011 1988
------------
但是还是有些问题是很怪异的,在VMSTAT上看没有SWAP的si和so基本上为空。但是在操作系统层却因为内存溢出将ORACLE的后台进程LGWR给KILL了。