I get lots of these in /var/log/messages:
Here is the output of the top command (sorted by size):
Despite that error in the logs, I don't see anything going wrong - all services appear to be running fine.
As you can see I have lots of Inact memory. How do I find out what is using the swap and why?
Code:
Jun 13 00:33:38 srv2 kernel: swap_pager_getswapspace(5): failed
Jun 13 00:33:38 srv2 kernel: swap_pager_getswapspace(8): failed
Jun 13 00:33:38 srv2 kernel: swap_pager_getswapspace(5): failed
Here is the output of the top command (sorted by size):
Code:
last pid: 71242; load averages: 4.38, 3.96, 3.57 up 112+03:14:36 00:33:41
244 processes: 4 running, 240 sleeping
CPU: 8.2% user, 5.9% nice, 12.8% system, 0.0% interrupt, 73.0% idle
Mem: 3038M Active, 24G Inact, 3170M Wired, 1598M Buf, 484M Free
Swap: 4096M Total, 3843M Used, 253M Free, 93% Inuse
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
73908 mysql 65 20 0 8948M 2571M select 8 26.6H 82.25% mysqld
96273 root 2 20 0 734M 535M select 0 125.1H 0.00% clamd
7743 root 1 20 0 259M 168M select 5 3:06 0.00% perl
57615 apache 147 52 0 226M 102M piperd 3 0:18 1.41% httpd
...
Despite that error in the logs, I don't see anything going wrong - all services appear to be running fine.
As you can see I have lots of Inact memory. How do I find out what is using the swap and why?