Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MySQL Slaves
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jeffgman
n00b
n00b


Joined: 05 Jun 2004
Posts: 40

PostPosted: Wed Nov 16, 2005 4:38 am    Post subject: MySQL Slaves Reply with quote

Where can I set how many slaves should start and run with MySQL? Currently I am only running one database, and it is only connected locally, so I don't need so many slaves for MySQL.

Thanks,
Jeff
Back to top
View user's profile Send private message
tuxmin
l33t
l33t


Joined: 24 Apr 2004
Posts: 838
Location: Heidelberg

PostPosted: Wed Nov 16, 2005 10:41 am    Post subject: Reply with quote

What do you mean? The number of replica slaves or the maximum client connects?

Alex!!!
_________________
ALT-F4
Back to top
View user's profile Send private message
jeffgman
n00b
n00b


Joined: 05 Jun 2004
Posts: 40

PostPosted: Wed Nov 16, 2005 2:14 pm    Post subject: Reply with quote

tuxmin wrote:
What do you mean? The number of replica slaves or the maximum client connects?

Alex!!!


The number of slaves that shows up when I do a "ps ax". I don't need that many slaves running at one particular time. Waste of resources, in my opinion.

Jeff
Back to top
View user's profile Send private message
tuxmin
l33t
l33t


Joined: 24 Apr 2004
Posts: 838
Location: Heidelberg

PostPosted: Wed Nov 16, 2005 2:22 pm    Post subject: Reply with quote

These are only threads and don't use the resources ps makes you believe.
However, you can use the --one-thread option to disable them. But don't try this on a production server.


Hth, Alex!!
_________________
ALT-F4
Back to top
View user's profile Send private message
jeffgman
n00b
n00b


Joined: 05 Jun 2004
Posts: 40

PostPosted: Wed Nov 16, 2005 2:29 pm    Post subject: Reply with quote

tuxmin wrote:
These are only threads and don't use the resources ps makes you believe.
However, you can use the --one-thread option to disable them. But don't try this on a production server.


Hth, Alex!!


Okay, if they are not using any resources, then I will just leave them as is.

Thanks for the help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum