Memory cached & bash problem
Hello.
i have problem when i run this command to ssh to get free ram , Code:
echo 3 > /proc/sys/vm/drop_caches i'm try to use kill command like this to stop this bash but can not stop kill -9 56565 or killall -9 56565 OR killall -9 bash there is nothing need to stop this bash on top using high CPU, so please if any one can help me ? Thank you |
It is not needed to "free" RAM this way. If an application needs RAM, the cache will be automatically dropped and the RAM will be assigned to that application. In fact, freeing RAM this way can even decrease performance.
|
my nodes used for hosting vpSs and when i need to see the Free -m i see it's like 100 MB only and my node have 16 GB ram , the cached memory is 8 GB . and also the problem now is how to stop/kill this bash on top using all this CPU !!!
|
Quote:
Cheers, Tink |
Quote:
|
Quote:
|
Yes problem happend inside vpSs . and it's not problem now to know this info . i'm looking to get help for my orginal post if any one can help me to fix the issue please reply
|
Quote:
EDIT: what Steve Miller doesn't make clear is that unchanged (= not dirty) file system cache pages do not need to be flushed -- the memory they use is available immediately when required for other purposes. |
i'm not talking now about what cach doing i'm talking about how to fix this issue i have
|
You wouldn't have an issue if you wouldn't drop the cache, which is an completely unneeded action.
|
Quote:
your attempt to fix a non-issue brought you here. |
1 Attachment(s)
See the attach file , this day number 3 and i still see this bash take 99% to 100 % kill id not working with this top bash
|
All times are GMT -5. The time now is 05:26 AM. |