HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   Why memory used is so high? (http://www.howtoforge.com/forums/showthread.php?t=51320)

newbie14 8th February 2011 14:02

Why memory used is so high?
 
Dear All,
Below is my top command results on db server. I am very curios to know why when it shows that mysqld is just using 1.4% of the memory but total memory used is 32733428k? I would like to know why is this happening?Anything wrong happing to my server is it?


Code:

top - 14:25:21 up 5 days, 22:39,  2 users,  load average: 5.65, 6.51, 6.20
Tasks: 285 total,  1 running, 283 sleeping,  1 stopped,  0 zombie
Cpu(s):  2.6%us,  0.5%sy,  0.0%ni, 95.6%id,  0.1%wa,  0.3%hi,  0.8%si,  0.0%st
Mem:  33009800k total, 32733428k used,  276372k free,  248604k buffers
Swap: 35061752k total,      60k used, 35061692k free, 29783956k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND           
 3519 mysql    20  0  930m 444m 4216 S 133.9  1.4  1005:26 mysqld           
  31 root      15  -5    0    0    0 S 15.8  0.0  9:36.84 ksoftirqd/9       
    1 root      20  0  4080  852  608 S  0.0  0.0  0:03.91 init             
    2 root      15  -5    0    0    0 S  0.0  0.0  0:00.00 kthreadd


falko 9th February 2011 16:53

Linux tries to use as much memory as possible to be faster. That's normal and nothing to worry about. Otherwise it's have to read more from the hard drive which would slow down the system.

newbie14 9th February 2011 16:58

Dear Falko,
When you say linux here means the kernel is using it is it? I am sorry I am new so a kind of lost too.


All times are GMT +2. The time now is 11:02.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.