![](https://seccdn.libravatar.org/avatar/9435667f7160374bc34a8600b686aecd.jpg?s=120&d=mm&r=g)
11.12.2018 14:37, Carlos E. R. пишет:
Ah, got /proc/meminfo in another way:
minas-tirith:~ # cat /proc/meminfo > meminfo minas-tirith:~ # cat meminfo MemTotal: 3934240 kB MemFree: 106524 kB MemAvailable: 24012 kB
Your system has no free memory to do anything useful. So any attempt to start any new program will result in attempt to free something, then system must recall pages it just freed from disk again and to do it it needs to to find free memory again ... you get an idea.
Buffers: 1596 kB Cached: 278208 kB SwapCached: 97988 kB Active: 2949780 kB Inactive: 618720 kB Active(anon): 2945904 kB Inactive(anon): 589672 kB Active(file): 3876 kB Inactive(file): 29048 kB
Most memory is consumed by some application(s) allocating (and actually using) large amount of memory. It is simply impossible that all loaded application binaries amount to just 33MB. On my system with rather static load active+inactive file is 4.8GB, and I have just Chromium + Thunderbird + Deluge + several terminal windows as part of user session. Again - it means that any attempt to do anything will require loading binaries from disk. This alone would account for high wait time observed earlier. What is your swappiness settings?
Unevictable: 80 kB Mlocked: 80 kB SwapTotal: 6289412 kB SwapFree: 4813752 kB Dirty: 104 kB Writeback: 0 kB AnonPages: 3282560 kB Mapped: 88652 kB Shmem: 246612 kB Slab: 108992 kB SReclaimable: 42936 kB SUnreclaim: 66056 kB KernelStack: 13696 kB PageTables: 79240 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 8256532 kB Committed_AS: 13514900 kB VmallocTotal: 34359738367 kB VmallocUsed: 0 kB VmallocChunk: 0 kB HardwareCorrupted: 0 kB AnonHugePages: 399360 kB ShmemHugePages: 0 kB ShmemPmdMapped: 0 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB DirectMap4k: 644416 kB DirectMap2M: 3450880 kB minas-tirith:~ #
Ok, I wait for suggestions on what to do next.
Your system is overloaded. Either do not run programs that consume such amount of RAM or add RAM. Tweaking swappiness may help to prevent pushing programs out of memory.