Thank you Bastian for the recommendation to look into the swappiness parameter. I had previously been curious whether I could integrate the *mlock* tool to tell kernel explicitly which processes to not swap out (e.g. olsrd, wpa_supplicant).
I also just discovered a Nanostation M mesh node running r38347 which had recently suffered memory exhaustion, although it thankfully remained in a controllable/recoverable state. This device had 3Mbytes of compressed swap available, and I'm quoting relevant portions of dmesg below for the list's reference. It appears that an initial page allocation failure occurred at 315650.430000, causing subsequent failures in the mac80211 TX buffer, etc. dmesg shows nothing immediately preceding timestamp 315650.430000 to suggest a specific cause. I am assuming incidents like these are occurring due to an ill-behaved process (or processes) attempting to allocate several MBytes for itself, failing that, and also causing memory errors for random resident processes in consequence. The only recovery I know for these incidents is to just reboot. [315650.430000] ksoftirqd/0: page allocation failure: order:0, mode:0x4020 [315650.430000] Call Trace:[<8027a0b8>] 0x8027a0b8 [315650.430000] [<8027a0b8>] 0x8027a0b8 [315650.430000] [<800b041c>] 0x800b041c [315650.430000] [<800b2680>] 0x800b2680 [315650.430000] [<800931b4>] 0x800931b4 [315650.430000] [<800d69a4>] 0x800d69a4 [315650.430000] [<8027b574>] 0x8027b574 [315650.430000] [<800d7134>] 0x800d7134 [315650.430000] [<80d2020c>] 0x80d2020c [315650.430000] [<801e8d90>] 0x801e8d90 [315650.430000] [<80d202b8>] 0x80d202b8 [315650.430000] [<80d21608>] 0x80d21608 [315650.430000] [<80de087c>] 0x80de087c [315650.430000] [<800a4d1c>] 0x800a4d1c [315650.430000] [<801f3e1c>] 0x801f3e1c [315650.430000] [<80207648>] 0x80207648 [315650.430000] [<800b2be8>] 0x800b2be8 [315650.430000] [<8020793c>] 0x8020793c [315650.430000] [<800d6790>] 0x800d6790 [315650.430000] [<801ef644>] 0x801ef644 [315650.430000] [<800929c8>] 0x800929c8 [315650.430000] [<80077340>] 0x80077340 [315650.430000] [<8027d8cc>] 0x8027d8cc [315650.430000] [<800955b0>] 0x800955b0 [315650.430000] [<80077468>] 0x80077468 [315650.430000] [<800773f0>] 0x800773f0 [315650.430000] [<800773f0>] 0x800773f0 [315650.430000] [<8008a940>] 0x8008a940 [315650.430000] [<80064b90>] 0x80064b90 [315650.430000] [<8008a8b8>] 0x8008a8b8 [315650.430000] [<80064b80>] 0x80064b80 [315650.430000] [315650.430000] Mem-Info: [315650.430000] Normal per-cpu: [315650.430000] CPU 0: hi: 0, btch: 1 usd: 0 [315650.430000] active_anon:325 inactive_anon:475 isolated_anon:0 [315650.430000] active_file:1421 inactive_file:1233 isolated_file:0 [315650.430000] unevictable:0 dirty:0 writeback:0 unstable:0 [315650.430000] free:68 slab_reclaimable:385 slab_unreclaimable:2131 [315650.430000] mapped:574 shmem:48 pagetables:72 bounce:0 [315650.430000] Normal free:272kB min:720kB low:900kB high:1080kB active_anon:1300kB inactive_anon:1900kB active_file:5684kB inactive_file:4932kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:32512kB mlocked:0kB dirty:0kB writeback:0kB mapped:2296kB shmem:192kB slab_reclaimable:1540kB slab_unreclaimable:8524kB kernel_stack:344kB pagetables:288kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:1 all_unreclaimable? no [315650.430000] lowmem_reserve[]: 0 0 [315650.430000] Normal: 2*4kB 21*8kB 0*16kB 1*32kB 1*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 272kB [315650.430000] 2715 total pagecache pages [315650.430000] 13 pages in swap cache [315650.430000] Swap cache stats: add 41, delete 28, find 3/7 [315650.430000] Free swap = 3004kB [315650.430000] Total swap = 3068kB [315650.430000] 8192 pages RAM [315650.430000] 876 pages reserved [315650.430000] 2389 pages shared [315650.430000] 5924 pages non-shared [315650.430000] SLUB: Unable to allocate memory on node -1 (gfp=0x20) [315650.430000] cache: kmalloc-4096, object size: 4096, buffer size: 4096, default order: 3, min order: 0 [315650.430000] node 0: slabs: 0, objs: 0, free: 0 [315650.700000] ieee80211 phy0: failed to reallocate TX buffer [315650.700000] ksoftirqd/0: page allocation failure: order:0, mode:0x4020 [315650.700000] Call Trace:[<8027a0b8>] 0x8027a0b8 [315650.700000] [<8027a0b8>] 0x8027a0b8 [315650.700000] [<800b041c>] 0x800b041c [315650.700000] [<800b2680>] 0x800b2680 [315650.700000] [<800d69a4>] 0x800d69a4 [315650.700000] [<8027b574>] 0x8027b574 [315650.700000] [<800d7134>] 0x800d7134 [315650.700000] [<801e8d90>] 0x801e8d90 [315650.700000] [<801a63fc>] 0x801a63fc [315650.700000] [<80d202b8>] 0x80d202b8 [315650.700000] [<8019f544>] 0x8019f544 [315650.700000] [<80d21608>] 0x80d21608 [315650.700000] [<80de087c>] 0x80de087c [315650.700000] [<800a4d1c>] 0x800a4d1c [315650.700000] [<801f3e1c>] 0x801f3e1c [315650.700000] [<80debb94>] 0x80debb94 [315650.700000] [<80207648>] 0x80207648 [315650.700000] [<8020793c>] 0x8020793c [315650.700000] [<80debd58>] 0x80debd58 [315650.700000] [<801ef644>] 0x801ef644 [315650.700000] [<80077340>] 0x80077340 [315650.700000] [<8027d8cc>] 0x8027d8cc [315650.700000] [<800955b0>] 0x800955b0 [315650.700000] [<80077468>] 0x80077468 [315650.700000] [<800773f0>] 0x800773f0 [315650.700000] [<800773f0>] 0x800773f0 [315650.700000] [<8008a940>] 0x8008a940 [315650.700000] [<80064b90>] 0x80064b90 [315650.700000] [<8008a8b8>] 0x8008a8b8 [315650.700000] [<80064b80>] 0x80064b80 [315650.700000] [315650.700000] Mem-Info: [315650.700000] Normal per-cpu: [315650.700000] CPU 0: hi: 0, btch: 1 usd: 0 [315650.700000] active_anon:325 inactive_anon:475 isolated_anon:0 [315650.700000] active_file:1421 inactive_file:1233 isolated_file:0 [315650.700000] unevictable:0 dirty:0 writeback:0 unstable:0 [315650.700000] free:68 slab_reclaimable:385 slab_unreclaimable:2131 [315650.700000] mapped:574 shmem:48 pagetables:72 bounce:0 [315650.700000] Normal free:272kB min:720kB low:900kB high:1080kB active_anon:1300kB inactive_anon:1900kB active_file:5684kB inactive_file:4932kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:32512kB mlocked:0kB dirty:0kB writeback:0kB mapped:2296kB shmem:192kB slab_reclaimable:1540kB slab_unreclaimable:8524kB kernel_stack:344kB pagetables:288kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:1 all_unreclaimable? no [315650.700000] lowmem_reserve[]: 0 0 [315650.700000] Normal: 2*4kB 21*8kB 0*16kB 1*32kB 1*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 272kB [315650.700000] 2715 total pagecache pages [315650.700000] 13 pages in swap cache [315650.700000] Swap cache stats: add 41, delete 28, find 3/7 [315650.700000] Free swap = 3004kB [315650.700000] Total swap = 3068kB [315650.700000] 8192 pages RAM [315650.700000] 876 pages reserved [315650.700000] 2389 pages shared [315650.700000] 5924 pages non-shared [315650.700000] SLUB: Unable to allocate memory on node -1 (gfp=0x20) [315650.700000] cache: kmalloc-4096, object size: 4096, buffer size: 4096, default order: 3, min order: 0 [315650.700000] node 0: slabs: 0, objs: 0, free: 0 [315650.960000] ieee80211 phy0: failed to reallocate TX buffer [315650.960000] ksoftirqd/0: page allocation failure: order:0, mode:0x4020 [315650.960000] Call Trace:[<8027a0b8>] 0x8027a0b8 [315650.960000] [<8027a0b8>] 0x8027a0b8 [315650.960000] [<800b041c>] 0x800b041c [315650.960000] [<800b2680>] 0x800b2680 [315650.960000] [<800d69a4>] 0x800d69a4 [315650.960000] [<8027b574>] 0x8027b574 [315650.960000] [<801e853c>] 0x801e853c [315650.960000] [<81bb80c0>] 0x81bb80c0 [315650.960000] [<800d804c>] 0x800d804c [315650.960000] [<80de51f4>] 0x80de51f4 [315650.960000] [<801e7c44>] 0x801e7c44 [315650.960000] [<800a4d1c>] 0x800a4d1c [315650.960000] [<81bb80c0>] 0x81bb80c0 [315650.960000] [<80de65b0>] 0x80de65b0 [315650.960000] [<80de4628>] 0x80de4628 [315650.960000] [<80076ec8>] 0x80076ec8 [315650.960000] [<80077340>] 0x80077340 [315650.960000] [<8027d8cc>] 0x8027d8cc [315650.960000] [<800955b0>] 0x800955b0 [315650.960000] [<80077468>] 0x80077468 [315650.960000] [<800773f0>] 0x800773f0 [315650.960000] [<800773f0>] 0x800773f0 [315650.960000] [<8008a940>] 0x8008a940 [315650.960000] [<80064b90>] 0x80064b90 [315650.960000] [<8008a8b8>] 0x8008a8b8 [315650.960000] [<80064b80>] 0x80064b80 [315650.960000] [315650.960000] Mem-Info: [315650.960000] Normal per-cpu: [315650.960000] CPU 0: hi: 0, btch: 1 usd: 0 [315650.960000] active_anon:325 inactive_anon:475 isolated_anon:0 [315650.960000] active_file:1421 inactive_file:1233 isolated_file:0 [315650.960000] unevictable:0 dirty:0 writeback:0 unstable:0 [315650.960000] free:68 slab_reclaimable:385 slab_unreclaimable:2131 [315650.960000] mapped:574 shmem:48 pagetables:72 bounce:0 [315650.960000] Normal free:272kB min:720kB low:900kB high:1080kB active_anon:1300kB inactive_anon:1900kB active_file:5684kB inactive_file:4932kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:32512kB mlocked:0kB dirty:0kB writeback:0kB mapped:2296kB shmem:192kB slab_reclaimable:1540kB slab_unreclaimable:8524kB kernel_stack:344kB pagetables:288kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:1 all_unreclaimable? no [315650.960000] lowmem_reserve[]: 0 0 [315650.960000] Normal: 2*4kB 21*8kB 0*16kB 1*32kB 1*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 272kB [315650.960000] 2715 total pagecache pages [315650.960000] 13 pages in swap cache [315650.960000] Swap cache stats: add 41, delete 28, find 3/7 [315650.960000] Free swap = 3004kB [315650.960000] Total swap = 3068kB [315650.960000] 8192 pages RAM [315650.960000] 876 pages reserved [315650.960000] 2389 pages shared [315650.960000] 5924 pages non-shared [315650.960000] SLUB: Unable to allocate memory on node -1 (gfp=0x20) [315650.960000] cache: kmalloc-4096, object size: 4096, buffer size: 4096, default order: 3, min order: 0 [315650.960000] node 0: slabs: 0, objs: 0, free: 0 [315651.210000] ath: skbuff alloc of size 1926 failed [315651.210000] ksoftirqd/0: page allocation failure: order:0, mode:0x4020 [315651.210000] Call Trace:[<8027a0b8>] 0x8027a0b8 [315651.210000] [<8027a0b8>] 0x8027a0b8 [315651.210000] [<800b041c>] 0x800b041c [315651.210000] [<800b2680>] 0x800b2680 [315651.210000] [<800d69a4>] 0x800d69a4 [315651.210000] [<8027b574>] 0x8027b574 [315651.210000] [<80072c14>] 0x80072c14 [315651.210000] [<801e853c>] 0x801e853c [315651.210000] [<81bb80c0>] 0x81bb80c0 [315651.210000] [<800d804c>] 0x800d804c [315651.210000] [<80de51f4>] 0x80de51f4 [315651.210000] [<801e7c44>] 0x801e7c44 [315651.210000] [<8027a2a0>] 0x8027a2a0 [315651.210000] [<81bb80c0>] 0x81bb80c0 [315651.210000] [<80de65b0>] 0x80de65b0 [315651.210000] [<80de4628>] 0x80de4628 [315651.210000] [<80076ec8>] 0x80076ec8 [315651.210000] [<80077340>] 0x80077340 [315651.210000] [<8027d8cc>] 0x8027d8cc [315651.210000] [<800955b0>] 0x800955b0 [315651.210000] [<80077468>] 0x80077468 [315651.210000] [<800773f0>] 0x800773f0 [315651.210000] [<800773f0>] 0x800773f0 [315651.210000] [<8008a940>] 0x8008a940 [315651.210000] [<80064b90>] 0x80064b90 [315651.210000] [<8008a8b8>] 0x8008a8b8 [315651.210000] [<80064b80>] 0x80064b80 [315651.210000] [315651.210000] Mem-Info: [315651.210000] Normal per-cpu: [315651.210000] CPU 0: hi: 0, btch: 1 usd: 0 [315651.210000] active_anon:325 inactive_anon:475 isolated_anon:0 [315651.210000] active_file:1421 inactive_file:1233 isolated_file:0 [315651.210000] unevictable:0 dirty:0 writeback:0 unstable:0 [315651.210000] free:68 slab_reclaimable:385 slab_unreclaimable:2131 [315651.210000] mapped:574 shmem:48 pagetables:72 bounce:0 [315651.210000] Normal free:272kB min:720kB low:900kB high:1080kB active_anon:1300kB inactive_anon:1900kB active_file:5684kB inactive_file:4932kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:32512kB mlocked:0kB dirty:0kB writeback:0kB mapped:2296kB shmem:192kB slab_reclaimable:1540kB slab_unreclaimable:8524kB kernel_stack:344kB pagetables:288kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:1 all_unreclaimable? no [315651.210000] lowmem_reserve[]: 0 0 [315651.210000] Normal: 2*4kB 21*8kB 0*16kB 1*32kB 1*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 272kB [315651.210000] 2715 total pagecache pages [315651.210000] 13 pages in swap cache [315651.210000] Swap cache stats: add 41, delete 28, find 3/7 [315651.210000] Free swap = 3004kB [315651.210000] Total swap = 3068kB [315651.210000] 8192 pages RAM [315651.210000] 876 pages reserved [315651.210000] 2389 pages shared [315651.210000] 5924 pages non-shared [315651.210000] SLUB: Unable to allocate memory on node -1 (gfp=0x20) [315651.210000] cache: kmalloc-4096, object size: 4096, buffer size: 4096, default order: 3, min order: 0 [315651.210000] node 0: slabs: 0, objs: 0, free: 0 [315651.470000] ath: skbuff alloc of size 1926 failed [315651.470000] ksoftirqd/0: page allocation failure: order:0, mode:0x4020 [315651.470000] Call Trace:[<8027a0b8>] 0x8027a0b8 [315651.470000] [<8027a0b8>] 0x8027a0b8 [315651.470000] [<800b041c>] 0x800b041c [315651.470000] [<800b2680>] 0x800b2680 [315651.470000] [<800d69a4>] 0x800d69a4 [315651.470000] [<8027b574>] 0x8027b574 [315651.470000] [<80072c14>] 0x80072c14 [315651.470000] [<801e853c>] 0x801e853c [315651.470000] [<81bb80c0>] 0x81bb80c0 [315651.470000] [<800d804c>] 0x800d804c [315651.470000] [<80de51f4>] 0x80de51f4 [315651.470000] [<801e7c44>] 0x801e7c44 [315651.470000] [<8027a2a0>] 0x8027a2a0 [315651.470000] [<81bb80c0>] 0x81bb80c0 [315651.470000] [<80de65b0>] 0x80de65b0 [315651.470000] [<80de4628>] 0x80de4628 [315651.470000] [<80076ec8>] 0x80076ec8 [315651.470000] [<80077340>] 0x80077340 [315651.470000] [<8027d8cc>] 0x8027d8cc [315651.470000] [<800955b0>] 0x800955b0 [315651.470000] [<80077468>] 0x80077468 [315651.470000] [<800773f0>] 0x800773f0 [315651.470000] [<800773f0>] 0x800773f0 [315651.470000] [<8008a940>] 0x8008a940 [315651.470000] [<80064b90>] 0x80064b90 [315651.470000] [<8008a8b8>] 0x8008a8b8 [315651.470000] [<80064b80>] 0x80064b80 [315651.470000] [315651.470000] Mem-Info: [315651.470000] Normal per-cpu: [315651.470000] CPU 0: hi: 0, btch: 1 usd: 0 [315651.470000] active_anon:325 inactive_anon:475 isolated_anon:0 [315651.470000] active_file:1421 inactive_file:1233 isolated_file:0 [315651.470000] unevictable:0 dirty:0 writeback:0 unstable:0 [315651.470000] free:68 slab_reclaimable:385 slab_unreclaimable:2131 [315651.470000] mapped:574 shmem:48 pagetables:72 bounce:0 [315651.470000] Normal free:272kB min:720kB low:900kB high:1080kB active_anon:1300kB inactive_anon:1900kB active_file:5684kB inactive_file:4932kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:32512kB mlocked:0kB dirty:0kB writeback:0kB mapped:2296kB shmem:192kB slab_reclaimable:1540kB slab_unreclaimable:8524kB kernel_stack:344kB pagetables:288kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:1 all_unreclaimable? no [315651.470000] lowmem_reserve[]: 0 0 [315651.470000] Normal: 2*4kB 21*8kB 0*16kB 1*32kB 1*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 272kB [315651.470000] 2715 total pagecache pages [315651.470000] 13 pages in swap cache [315651.470000] Swap cache stats: add 41, delete 28, find 3/7 [315651.470000] Free swap = 3004kB [315651.470000] Total swap = 3068kB [315651.470000] 8192 pages RAM [315651.470000] 876 pages reserved [315651.470000] 2389 pages shared [315651.470000] 5924 pages non-shared [315651.470000] SLUB: Unable to allocate memory on node -1 (gfp=0x20) [315651.470000] cache: kmalloc-4096, object size: 4096, buffer size: 4096, default order: 3, min order: 0 [315651.470000] node 0: slabs: 0, objs: 0, free: 0 [315651.720000] ath: skbuff alloc of size 1926 failed [315651.730000] ksoftirqd/0: page allocation failure: order:0, mode:0x4020 [315651.730000] Call Trace:[<8027a0b8>] 0x8027a0b8 [315651.730000] [<8027a0b8>] 0x8027a0b8 [315651.730000] [<800b041c>] 0x800b041c [315651.730000] [<800b2680>] 0x800b2680 [315651.730000] [<800d69a4>] 0x800d69a4 [315651.730000] [<8019ee50>] 0x8019ee50 [315651.730000] [<8027b574>] 0x8027b574 [315651.730000] [<80072c24>] 0x80072c24 [315651.730000] [<801e853c>] 0x801e853c [315651.730000] [<81bb80c0>] 0x81bb80c0 [315651.730000] [<800d804c>] 0x800d804c [315651.730000] [<80de51f4>] 0x80de51f4 [315651.730000] [<801e7c44>] 0x801e7c44 [315651.730000] [<8027a2a0>] 0x8027a2a0 [315651.730000] [<81bb80c0>] 0x81bb80c0 [315651.730000] [<80de65b0>] 0x80de65b0 [315651.730000] [<80de4628>] 0x80de4628 [315651.730000] [<80076ec8>] 0x80076ec8 [315651.730000] [<80077340>] 0x80077340 [315651.730000] [<8027d8cc>] 0x8027d8cc [315651.730000] [<800955b0>] 0x800955b0 [315651.730000] [<80077468>] 0x80077468 [315651.730000] [<800773f0>] 0x800773f0 [315651.730000] [<800773f0>] 0x800773f0 [315651.730000] [<8008a940>] 0x8008a940 [315651.730000] [<80064b90>] 0x80064b90 [315651.730000] [<8008a8b8>] 0x8008a8b8 [315651.730000] [<80064b80>] 0x80064b80 [315651.730000] [315651.730000] Mem-Info: [315651.730000] Normal per-cpu: [315651.730000] CPU 0: hi: 0, btch: 1 usd: 0 [315651.730000] active_anon:325 inactive_anon:475 isolated_anon:0 [315651.730000] active_file:1421 inactive_file:1233 isolated_file:0 [315651.730000] unevictable:0 dirty:0 writeback:0 unstable:0 [315651.730000] free:68 slab_reclaimable:385 slab_unreclaimable:2131 [315651.730000] mapped:574 shmem:48 pagetables:72 bounce:0 [315651.730000] Normal free:272kB min:720kB low:900kB high:1080kB active_anon:1300kB inactive_anon:1900kB active_file:5684kB inactive_file:4932kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:32512kB mlocked:0kB dirty:0kB writeback:0kB mapped:2296kB shmem:192kB slab_reclaimable:1540kB slab_unreclaimable:8524kB kernel_stack:344kB pagetables:288kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:1 all_unreclaimable? no [315651.730000] lowmem_reserve[]: 0 0 [315651.730000] Normal: 2*4kB 21*8kB 0*16kB 1*32kB 1*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 272kB [315651.730000] 2715 total pagecache pages [315651.730000] 13 pages in swap cache [315651.730000] Swap cache stats: add 41, delete 28, find 3/7 [315651.730000] Free swap = 3004kB [315651.730000] Total swap = 3068kB [315651.730000] 8192 pages RAM [315651.730000] 876 pages reserved [315651.730000] 2389 pages shared [315651.730000] 5924 pages non-shared [315651.730000] SLUB: Unable to allocate memory on node -1 (gfp=0x20) [315651.730000] cache: kmalloc-4096, object size: 4096, buffer size: 4096, default order: 3, min order: 0 [315651.730000] node 0: slabs: 0, objs: 0, free: 0 ... [315653.020000] ath: skbuff alloc of size 1926 failed [315653.030000] ath: skbuff alloc of size 1926 failed [315653.030000] ath: skbuff alloc of size 1926 failed [315653.040000] ath: skbuff alloc of size 1926 failed [315653.040000] ath: skbuff alloc of size 1926 failed [315653.050000] ath: skbuff alloc of size 1926 failed [315653.050000] ath: skbuff alloc of size 1926 failed [315653.060000] ath: skbuff alloc of size 1926 failed [315653.060000] ath: skbuff alloc of size 1926 failed [315653.070000] ath: skbuff alloc of size 1926 failed [315653.070000] ath: skbuff alloc of size 1926 failed ... [315653.370000] ieee80211 phy0: failed to reallocate TX buffer [316015.390000] ath: phy0: Failed to stop TX DMA, queues=0x004! [316016.620000] ath: phy0: Failed to stop TX DMA, queues=0x004! [316017.640000] ath: phy0: Failed to stop TX DMA, queues=0x004! ... On Sat, Nov 9, 2013 at 12:38 PM, Bastian Bittorf <bitt...@bluebottle.com>wrote: > * Ben West <b...@gowasabi.net> [09.11.2013 19:22]: > > anecdotal experience that some processes don't behave well when paged to > > swap. I'm running AR7240 devices with 32MB RAM (i.e. UBNT M gear) as > mesh > > nodes, and I've found that services like olsrd, coovachilli, and > > wpa_supplicant seem to behave erratically if they're swapped out and then > > we have zram active on all nodes but tweaked the 'swappiness' value > to 0 - the default is 65. the higher the number, the more likely the > kernel swaps out. if set to 0 zram is only used if the is no other > possibility. ofcourse: if swapping begins, the box freezes for some > seconds but it does not die. > > the kernel likes to swap out processes which are not in use, e.g. > uhttpd or dropbear. olsrd or other active processes are very unlikely > to be swapped - the kernel is smart somehow 8-) > > bye, bastian > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > -- Ben West http://gowasabi.net b...@gowasabi.net 314-246-9434
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel