caching - centos os - apache httpd takes all my ram and cache -


i have 2 sites on machine getting unresponsive/slow.

i checked on vps (virtual dedicated server) used

#free -m , got this

             total       used       free     shared    buffers     cached mem:           992        926         66          0          3         24 -/+ buffers/cache:        898         94 swap:           63          0         63 

i read http://www.linuxatemyram.com/ , im pretty sure not case because cached 24mb, if flush cache with

sync; echo 3 > /proc/sys/vm/drop_caches 

i still see usage way high

             total       used       free     shared    buffers     cached mem:           992        903         88          0          0          9 -/+ buffers/cache:        893         98 swap:           63         28         35 

but when stop httpd service with

# service httpd stop

stopping httpd:                                            [  ok  ] 

then used #free -m again , got:

             total       used       free     shared    buffers     cached mem:           992        210        782          0         13         99 -/+ buffers/cache:         97        894 swap:           63         39         24 

i havent had problem before , didnt add features httpd eating ram/cache.

any advice or tips appreciated, ¿what should for/ do?


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -