Hot answers tagged

4

MemAvailable is included in /proc/meminfo since version 3.14 of the kernel; it was added by commit 34e431b0a. That's the determining factor in the output variations you show. The commit message indicates how to estimate available memory without MemAvailable: Currently, the amount of memory that is available for a new workload, without pushing the system ...


2

Your PHP interpreter is set to terminate any script which requires more than 132MB of memory. Your script is trying to allocate more than 161MB of memory. The problem is quite simple, and so are the solutions. You can either: Get your PHP interpreter to allocate more. The reason why your host is advising against that is that if he didn't, he'd end up ...


1

Resource limits are generally controlled through ulimit (user-based) or sysctl (system-based). For example, the kernel.shmmax parameter, set by sysctl defines the maximum size in bytes of a single shared memory segment that a Linux process can allocate in its virtual address space. ulimit is used to set the limits of normal user processes. These values ...


1

From man bashbuiltins: ulimit [-HSTabcdefilmnpqrstuvx [limit]] Provides control over the resources available to the shell and to processes started by it, on systems that allow such control. Use ulimit -a to show current limits.


1

I understand you're using Hyper-V, but the concepts are similar. Maybe this will set you on the right track. Your issue is likely due to virtual memory ballooning, a technique the hypervisor uses to optimize memory. See this link for a description I observed your exact same symptoms with my VMs in vSphere. A 4G machine with nothing running on it would ...


1

So the quick answer : depending on your linux distro, try either : top -M OR, after starting top, type capital E (then W to write the config). One of those should work for nearly everybody (except Solaris, of course, where you'd be lucky to have top at all). bonus tip : every time you start a top instance on a new install, type ExyzW to save colours and ...



Only top voted, non community-wiki answers of a minimum length are eligible