Tag Info

Hot answers tagged

23

OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME 146851887 146851887 12% 0.19K 6992947 21 27971788K dentry You say it's not because of disk caching, but clearly it is. My bet is that you have code that makes lots of fetches for files that do not exist and you get a ton of negative caching. Linux will remove these entries if it's ...


4

Did you run out of physical memory or did you run out of backing store? If the latter, swap would have let your system continue to operate normally even without any data being written to it! "[I]s there a reason I might not want to enable swap if I don't need it for normal operation?" Yes. Having swap available is necessary for the OS to make efficient use ...


4

It might be some internal kernel structures and filesystem/directory related stuff, still. This is also perfectly normal even though confusing; try to see what is the output from slabtopand cat /proc/meminfo.


3

If you have VMware Tools installed inside the VM then you can find this out with vmware-toolbox-cmd stat balloon More info here: http://www.vmware.com/pdf/vmware-tools-cli.pdf (And, well, you must have VMware Tools installed, otherwise ballooning won't work)


3

You don't need to do this. Linux will drop all caches if it needs the RAM for other purposes. See http://www.linuxatemyram.com/ and Why is Linux reporting "free" memory strangely? for more information.


2

I found at least one scenario where you can have too much ram. Admittedly this is a software limitation, not a hardware limitation. Java applications (like ElasticSearch) suffer when using more than 32GB of ram due to compressed object offsets. Additional Information: http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/heap-sizing.html


2

Ugh, Java. :( First I'll give you the short answer: Yes, I think this could be a valid reason to run without a page file, knowing of course that you'll no longer be able to generate system crash dumps, and your machine will crash or destabilize to the point where you wish it would have crashed if you run out of memory. However, you just have to weigh the ...


1

Is it safe to assume that the fault lies somewhere in my server configuration and has nothing to do with the code itself? No. The problem is most likely your code. Or your database. Or the interaction between the two.


1

The reason your shell seems to hang when you run sudo /etc/cron.daily/apt is the call to random_sleep(). If you comment it out (on my Ubuntu 14.04, it was line 425), you can at least confirm that the script works when you run it interactively.


1

I was looking for more clear description about buffer and i found in "Professional Linux® Kernel Architecture 2008" Chapter 16: Page and Buffer Cache Interaction Setting up a link between pages and buffers serves little purpose if there are no benefits for other parts of the kernel. As already noted, some transfer operations to and from block devices may ...


1

I think the key is that you need to know what memory your process is going to need. If you're using EC2 that means you've picked an instance size that will cover some workload; often I've seen that workload is only one process/service. Adding a bunch of swap is cheap but you need to know when/why it's using that swap. Too often I see answers here that say; ...


1

Your heap settings configure 4gigs not 2 - that's what the Xms4096m -Xmx4096m are telling you. Perm size adds another 200 megs. your New size (the amount that young gen grabs onto in a single operation) is very high - usually this number is between 64m and 256m - giving generation space to roam up and down the young heap. So the fact that you see 3.9g ...


1

Can't you just see how much vmmemsty.sys is using?



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