Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm running Ubuntu server 12.04 on a computer at home, granted it's a netbook so there's not a lot of performance to squeeze out of it, but I'm still wondering about the memory usage I'm seeing from /usr/sbin/mysqld.

When I run htop and sort by memory usage, I get 16 processes on top, all of them running from the mysqluser and pointing at the command /usr/sbin/mysqld. Combined, these processes use about 55% of my total memory. Is this normal? The load average looks pretty low otherwise, and the CPUs and swap don't seem to be used much.

share|improve this question
    
%55 or %60 arent units of measure . you should that how many memory mysql uses . and what is doing server ? "game or web site" . when you writed we can help you –  user84277 Oct 15 '12 at 14:08
    
Can you please post a copy/past of htop? (VIRT and TIME+ are the important columns). And 16 childs is not that many ;) –  Rinzwind Oct 15 '12 at 14:12
    
VIRT says 310M on all of the mysqld processes, and TIME+ is 0 on all but three, who say 2:07.49, 4:57.87 and 7:14.24 respectively. Total memory available is 1 GB, sorry about that. I'd like to add that I'm not assuming that this is weird, I'm just looking to learn more about how mysqld operates and if this is normal, for example using a lot of RAM to be able to access databases quickly. –  bigbadonk420 Oct 15 '12 at 14:33
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.