Re: get_swap_pager(x) failed

From: blubee blubeeme <gurenchan_at_gmail.com>
Date: Tue, 12 Dec 2017 23:58:17 +0800
On Tue, Dec 12, 2017 at 3:34 PM, blubee blubeeme <gurenchan_at_gmail.com>
wrote:

> I am seeing tons of these messages while running tail -f /var/log/messages
> ============
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(25): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(22): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(20): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(18): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(11): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(9): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(32): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(25): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(20): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(18): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(9): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(20): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(18): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(9): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(20): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(18): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(9): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(20): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(18): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(9): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(20): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(18): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(9): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(20): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(18): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(9): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(18): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(9): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(20): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(18): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(9): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(20): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(18): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(9): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(8): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(6): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(9): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(32): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(20): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(18): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(9): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(20): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(18): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(9): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(20): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(18): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(9): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(20): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(18): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(9): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(20): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(18): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(9): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(20): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(18): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(9): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(21): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(19): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(32): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(20): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(18): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(9): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(9): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(20): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(18): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(9): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(20): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(18): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(9): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(20): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(18): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(9): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(3): failed
> Dec 12 15:11:41 blubee kernel: swap_pager_getswapspace(20): failed
> ==========
>
> running top and sorting by size I have this output:
> ===========
> last pid: 15976;  load averages:  0.62,  0.92,  0.94
>
>
>                                             up 1+03:41:32  15:31:28
> 119 processes: 1 running, 117 sleeping, 1 stopped
> CPU:  1.5% user,  1.8% nice,  1.5% system,  0.4% interrupt, 94.8% idle
> Mem: 3442M Active, 293M Inact, 4901M Laundry, 22G Wired, 1057M Free
> ARC: 18G Total, 1488M MFU, 15G MRU, 4003K Anon, 178M Header, 1171M Other
>      16G Compressed, 23G Uncompressed, 1.41:1 Ratio
> Swap: 2048M Total, 2028M Used, 20M Free, 99% Inuse, 36K In
>
>   PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME    WCPU
> COMMAND
>  1118 blubee        1  20    0 24756M   102M select  3 122:30   2.62% Xorg
> 15960 blubee        1  20    0 22693M   248M select  0   0:01   0.65% urxvt
>  2369 blubee        1  20    0 11411M 10152K select  5   0:02   0.00% urxvt
> 13251 blubee        1  20    0 11405M   245M select  0   0:03   0.00% urxvt
>  1545 blubee        1  20    0 11405M   244M select  3   0:03   0.00% urxvt
>  4182 blubee        1  20    0 11405M   248M select  1   0:12   0.00% urxvt
>  3826 blubee        1  20    0 11405M   246M select  6   0:03   0.00% urxvt
>  1165 blubee        1  20    0 11401M 15244K select  1   0:03   0.00% urxvt
> 15316 blubee       63  20    0  2067M   630M select  5  15:39   0.02%
> firefox
>  1419 blubee       18  20    0  1989M   263M uwait   4   5:29   0.00%
> chrome
> 15392 blubee       37  20    0  1934M   572M select  7   7:47   1.41%
> firefox
> 15320 blubee       40  20    0  1829M   440M select  6   3:30   0.00%
> firefox
> 15323 blubee       37  20    0  1797M   418M select  7   1:05   0.02%
> firefox
>  1543 blubee       17  25    5  1695M   794M uwait   1  38:13   0.93%
> chrome
>  1370 blubee        6  23    0  1482M   982M select  6  57:09   7.78%
> chrome
>  1368 blubee       30  22    0  1307M   468M select  4  78:18   7.79%
> chrome
>  2338 blubee       14  20    0  1137M   334M uwait   3  10:38   0.52%
> chrome
>  2481 blubee       21  26    5  1090M   345M uwait   6   7:14  16.00%
> chrome
>  3646 blubee       13  25    5   889M   294M uwait   2   0:20   0.00%
> chrome
>  2679 blubee       13  25    5   840M   268M uwait   4   9:24   1.30%
> chrome
>  2707 blubee       14  25    5   835M   127M uwait   2   3:07   0.02%
> chrome
>  3661 blubee       13  25    5   796M   244M uwait   7   0:20   0.06%
> chrome
>  2755 blubee       14  25    5   770M 84492K uwait   0   0:39   0.02%
> chrome
>  1661 blubee       15  20    0   766M   166M uwait   5   1:06   0.00%
> chrome
>  1418 blubee       13  20    0   753M   147M uwait   5   1:24   0.00%
> chrome
>  3850 blubee       13  25    5   747M   176M uwait   5   1:58   0.05%
> chrome
> 13392 blubee       13  25    5   746M   161M uwait   1   0:30   0.00%
> chrome
> 13329 blubee       13  25    5   741M   146M uwait   0   0:18   0.00%
> chrome
>  2352 blubee       13  25    5   727M 98888K uwait   0   2:34   0.00%
> chrome
> 13389 blubee       13  25    5   726M   169M uwait   1   0:10   0.00%
> chrome
>  3600 blubee       14  25    5   713M   124M uwait   0   0:22   0.00%
> chrome
>  1415 blubee       12  20    0   704M   127M uwait   2   0:17   0.01%
> chrome
> 13346 blubee       13  25    5   688M   123M uwait   4   0:06   0.00%
> chrome
> 13368 blubee       13  25    5   686M   142M uwait   7   0:09   0.00%
> chrome
> 15394 blubee       13  25    5   685M   161M uwait   7   0:44   0.00%
> chrome
>  2501 blubee       13  25    5   684M 83776K uwait   3   0:11   0.00%
> chrome
>  1662 blubee       13  20    0   684M   128M uwait   5   0:31   0.01%
> chrome
>  3586 blubee       13  25    5   677M 89896K uwait   5   0:21   0.01%
> chrome
> 13327 blubee       13  25    5   673M   129M uwait   4   0:05   0.00%
> chrome
>  3961 blubee       13  25    5   670M   118M uwait   1   0:05   0.00%
> chrome
> 15956 blubee       13  20    0   670M   169M uwait   6   0:03   0.00%
> chrome
> 13359 blubee       13  25    5   667M   129M uwait   7   0:14   0.01%
> chrome
> 13274 blubee       13  25    5   663M   118M uwait   5   0:11   0.00%
> chrome
>  3848 blubee       13  25    5   662M   115M uwait   6   0:03   0.00%
> chrome
>  4166 blubee       13  25    5   661M   118M uwait   7   0:18   0.00%
> chrome
>  1673 blubee       13  25    5   659M   128M uwait   1  17:48   1.19%
> chrome
> 13387 blubee       12  25    5   658M   123M uwait   1   0:08   0.00%
> chrome
>  1417 blubee       14  20    0   658M   107M uwait   0   0:15   0.01%
> chrome
>  1416 blubee       13  20    0   642M   106M uwait   4   0:12   0.00%
> chrome
>  3587 blubee       13  25    5   642M 93292K uwait   3   0:12   0.00%
> chrome
> 13364 blubee       13  25    5   626M 96468K uwait   7   0:02   0.00%
> chrome
>  3851 blubee       13  25    5   625M 94508K uwait   4   0:01   0.00%
> chrome
> 13540 blubee       12  25    5   618M 94384K uwait   3   0:03   0.00%
> chrome
>  1231 blubee       12  20    0   576M 44900K uwait   7   0:01   0.00%
> chrome
>  1159 blubee        5  20    0   149M 56876K select  6   1:05   0.00%
> ibus-engine-chewing
>
> ===========
>
> What's with all the swap errors? I am running ZFS and I have 16GB of ram,
> how could I be having swap space errors?
>

Well I added 4GB of extra swap in /var/tmp/swap0
then added that to my /etc/fstab: md99                    none    swap
sw,file=/var/tmp/swap0,late     0       0

and those errors went away.
Received on Tue Dec 12 2017 - 14:58:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC