On Sun, 24 Feb 2019 16:47:33 -0800
Tom <[email protected]> wrote:
> Hello, I've had something strange happen to be a couple time snow. On
> my Linux desktop when I completely exhaust all my 16G of RAM the
> system instead of properly activating OOM it will completely lock up
> to the point I can't even Cntrl-Alt-Fx to a terminal to fix things.
> Sometimes I can kick the system back into working by forcing a OOM
> killer via SysRq but shouldn't this automatically kick in way before
> the system becomes unresponsive? I can't even SSH in ounce it's
> reached this state. Oddly it still responds to pings though.
>
> Normally it's heavy multitasking I'm doing when this occurs although
> with how bloated web2.0 browsers are nowadays those are usually the
> biggest memory hogs.
>
> I've tried adding a swap and reducing vm.swappiness to 14, but that
> didn't seem to have any change. the system still locks up ounce ram is
> full.
>
> Linux localhost.lan 4.15.7-gentoo-r1 #4 SMP PREEMPT Wed Dec 26
> 04:01:39 PST 2018 x86_64 Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
> GenuineIntel GNU/Linux
>
> $ sysctl vm
> vm.admin_reserve_kbytes = 8192
> vm.block_dump = 0
> vm.compact_unevictable_allowed = 1
> vm.dirty_background_bytes = 0
> vm.dirty_background_ratio = 10
> vm.dirty_bytes = 0
> vm.dirty_expire_centisecs = 3000
> vm.dirty_ratio = 20
> vm.dirty_writeback_centisecs = 500
> vm.dirtytime_expire_seconds = 43200
> vm.drop_caches = 0
> vm.extfrag_threshold = 500
> vm.hugepages_treat_as_movable = 0
> vm.hugetlb_shm_group = 0
> vm.laptop_mode = 0
> vm.legacy_va_layout = 0
> vm.lowmem_reserve_ratio = 256 256 32
> vm.max_map_count = 65530
> vm.min_free_kbytes = 67584
> vm.min_slab_ratio = 5
> vm.min_unmapped_ratio = 1
> vm.mmap_min_addr = 4096
> sysctl: permission denied on key 'vm.mmap_rnd_bits'
> sysctl: permission denied on key 'vm.mmap_rnd_compat_bits'
> vm.nr_hugepages = 0
> vm.nr_hugepages_mempolicy = 0
> vm.nr_overcommit_hugepages = 0
> vm.numa_stat = 1
> vm.numa_zonelist_order = Node
> vm.oom_dump_tasks = 1
> vm.oom_kill_allocating_task = 0
> vm.overcommit_kbytes = 0
> vm.overcommit_memory = 0
> vm.overcommit_ratio = 50
> vm.page-cluster = 3
> vm.panic_on_oom = 0
> vm.percpu_pagelist_fraction = 0
> vm.stat_interval = 1
> sysctl: permission denied on key 'vm.stat_refresh'
> vm.swappiness = 14
> vm.user_reserve_kbytes = 131072
> vm.vfs_cache_pressure = 100
> vm.watermark_scale_factor = 10
> vm.zone_reclaim_mode = 0
>
I've also tried turning off overcommit, but that just put the system
into an unstable state until I rebooted.
--
_______________________________________
/ Let others praise ancient times; I am \
| glad I was born in these. |
| |
\ -- Ovid (43 B.C. - A.D. 18) /
---------------------------------------
\
\
/\ /\
//\\_//\\ ____
\_ _/ / /
/ * * \ /^^^]
\_\O/_/ [ ]
/ \_ [ /
\ \_ / /
[ [ / \/ _/
_[ [ \ /_/
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug