<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">> I carefully checked the memory info and found most of the memory was consumed by page cache and inode cache<br>
> It will fail the server to accept any request. I know it can be released by using the command of echo 3 > /proc/sys/drop_caches.<br>
> But does anybody have better solution to address this issue?<br>
<br>
Hi,<br>
<br>
You can set sysctl vm.vfs_cache_pressure=100<br>
( This tunes how likely the kernel will keep dentry/inode caches. )<br>
<br>
Note that ideally the inodes should fit in memory.<br>
If it is not in memory you will hit your disk with a lot of extra reads.<br>
This will slow things down considerably.<br>
<br>
Cheers,<br>
Robert van Leeuwen</div>
</body>
</html>