@related: Memory kswapd0

The kernel page fault swap daemon.

kswapd0 takes 100% (and more) until the system collapse

$ dmesg | grep -i swap
Adding 995988k swap on /dev/hda1.  Priority:-1 extents:1 across:995988k
$ while [ 1 ] ; do free -m ; sleep 3 ; done                                                           
             total       used       free     shared    buffers     cached
Mem:           471        459         11          0         11        229
-/+ buffers/cache:        218        252
Swap:          972          0        972
$ ps efaux | grep -i swap
root       160  0.0  0.0      0     0 ?        S<   10:32   0:01  \_ [kswapd0]
$ fdisk  -l /dev/hda | grep swap
/dev/hda1               1         124      995998+  82  Linux swap / Solaris
/dev/hda7            2309        2432      995998+  82  Linux swap / Solaris
$ mkswap -c /dev/hda1
$ mkswap -c /dev/hda7
$ vmstat 1
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
 5  1     24   7436  65844 180040    0    0   298   155 1087 3162 26  5 53 16
 2  1     24   6956  66380 180040    0    0   536     0 1123 3307 25  6  0 69

I have also checked for Rootkit

swap.txt · Last modified: 2020/09/08 20:49 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki