Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how many mysql processes on linux

Status
Not open for further replies.

grimwyre

MIS
Jan 31, 2002
68
GB
How many mysql processes are started by default when mysql is started on linux?
 
I am starting it with the mysql.server script and it is starting a mysqld process which spawns another mysqld process immediately which also spawns a mysqld process. This carries on until there are 11 processes running.
 
Those are threads, not processes. They are listed in the process tables like that because of the funky way linux handles and reports threads. Note that the memory reported used is the total amount used by all threads, and not each individual thread.

Reducing the numver of threads can significantly impact performance, but if you are really bothered by it you can reduce the number by editing your my.cnf

Code:
[mysqld]
set-variable = max_connections = 10
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top