• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

MySQLd permantently in "top"

M

manarak

Guest
The MySQLd (version 4) process on my server seems to be permanent, as it is always shown in "top". It consumes 270MB RAM and up to 10% CPU (nothing when there is no load). It seems to run permanently, as it has an uptime as long as the server's uptime.

I think I didn't notice this on my previous server whch was running MySQL version 3.
Has someone else noticed this behavior of MySQLd? Is it normal?
 
I would imagine that if you host sites with much database usage, it may be normal. Sites with busy forums or busy online stores can often have medium to high mysql usage at all times. I don't know if this may apply to your server.
 
Well, the process runs even when there are no clients connected.
 
Yes, of course the process will be in memory, it is the daemonized version of mysql. You say it uses no CPU when there is no load, which would be normal for no usage. My earlier post was referring to the 10%.

I guess I didn't understand your original concern when I read your post earlier.

So the appropriate response would have been - mysqld is the daemon process of mysql which would normally be a full time running process. There are mysql server parameters which can be tuned, please see the following (mysql 4.1 documentation) link:

http://dev.mysql.com/doc/refman/4.1/en/server-parameters.html

You may want to check your current parameter values concerning buffers and cache settings if you are worried about it taking 270MB of ram. Hope this helps!
 
How do you determine which site is using up all the MySQL resources?
 
Back
Top