CahitEy
asked on
Linux defrag memory
I am checking my memory with "free" command but it is always increasing my used memory :D
is there anyway for defragment of it
is there anyway for defragment of it
If you want to know the amount of used or free memory, you must always read the line
-/+ buffers/cache:
of the free command.
-/+ buffers/cache:
of the free command.
ASKER
i know i could see the memory usage but i just want to know if there is a way for defrag
no you cant defrag memory uses
may be we can help you to find out which process is eating your memory and further but not defrag
may be we can help you to find out which process is eating your memory and further but not defrag
ASKER
i know it is a php site :D
but i do not know which module is encountring this :(
but i do not know which module is encountring this :(
then it would be Apache issue
php works with apache...
whats the outpu tof
free -m
and
ps -auxf | sort -nr -k 4 | head -10
php works with apache...
whats the outpu tof
free -m
and
ps -auxf | sort -nr -k 4 | head -10
Even if there was a defragmentation tool (there isn't!), it wouldn't change the memory consumption: only the layout of the chunks would change.
However the layout doesn't matter, because the mapping to the real memory chunks is done by hardware anyway. There is no performance penalty. It's handled by the MMU (memory management unit) of the respective processor.
However the layout doesn't matter, because the mapping to the real memory chunks is done by hardware anyway. There is no performance penalty. It's handled by the MMU (memory management unit) of the respective processor.
ASKER
Fosiul01 i have not seen your comment sorry;
please check this :
https://www.experts-exchange.com/questions/25866731/How-could-i-detect-the-resource-usage.html
please check this :
https://www.experts-exchange.com/questions/25866731/How-could-i-detect-the-resource-usage.html
Well, he asked for information on the memory fragmentation. I'm not particularly keen on the points (are they good for anything on the receiving side ???), but that was, what he asked for and he has been answered.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for detailed description
but what you meant by used memory ??
does it show cached ??? cached is always good.
can you show me the out put of
free -m
and tell me which is one bugging you