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
LVL 1
CahitEyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

fosiul01Commented:
nop ,

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
0
hemmiCommented:
If you want to know the amount of used or free memory, you must always read the line

-/+ buffers/cache:

of the free command.
0
CahitEyAuthor Commented:
i know i could see the memory usage but i just want to know if there is a way for defrag
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

fosiul01Commented:
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
0
CahitEyAuthor Commented:
i know it is a php site :D
but i do not know which module is encountring this :(
0
fosiul01Commented:
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
0
hemmiCommented:
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.
0
CahitEyAuthor Commented:
Fosiul01 i have not seen your comment sorry;
please check this  :
http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Apache/Q_25866731.html
0
hemmiCommented:
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.
0
fosiul01Commented:
@hemmi

You really did not get my point for objection. its nothing to do with 500 points for the question last year i had loads of points!!!  .. its because i am confused why he accepted your solution

the question was : can you defrag the memory ?

the answer is NO you cant . which i said to him from my first post to last !!

if i look at  your post.. none of your post saying  that you cant defrag the memory except the last one ID:30700678(you agreed that there is not any defra tool but i already said that so many time in my post : ID:30699035 , ID:30699844 ) then you added some extra theoretical bit which to me did not make too much  sense related to this question. which actually referring the same thing as i said " no you cant defrag"


hence I wanted to know from author what he understood  from your solution.

anyway @author told in his comments ID:30701086 that he did not see my comments .. which made sense..


right now i don't mind closing this questions by accepting your solution as i know he actually did not see my post ..


hope it does make sense
 

 Thanks


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CahitEyAuthor Commented:
Thanks for detailed description
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.