Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-01-2003, 10:38 PM
|
#1
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
mysql "max spare servers"????
Hello.
I recently installed the newer 4.x series mysql. When started up using safe_mysqld it spawns 10 servers listening for connections. This is too many for the amount of traffic my site gets. 3 would be more like it...however I can't find a reference to change the number of servers started up anywhere in my.cnf or in the mysql docs.
Does anybody know how to change this, as you would do with the max_spare_servers directive in apache?
Just want to keep my system as slim as possible.
Thanks
|
|
|
08-04-2003, 06:42 AM
|
#2
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Original Poster
Rep:
|
*bump*
no one knows?
|
|
|
08-16-2003, 03:16 PM
|
#3
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Original Poster
Rep:
|
*cough* *bump*
Mysql, you know, mysql...
Surely someone must know this.
|
|
|
08-16-2003, 03:38 PM
|
#4
|
Member
Registered: Aug 2003
Distribution: Latest Gentoo; Mandrake 9.1
Posts: 37
Rep:
|
I'm REALLY a newbie, so I don't know if this is what you are searching for, but if you want to mantain the system as slim as possible, as you said, I guess you should tune your mysql server starting it as:
mysqld-safe -O --thread_concurrency var=3
(check the command line syntax...)
Ok, please don't flame me if it doesn't works. And remember to set it back to 10, if you've problems.
I hope to have been of help.
C'ya.
|
|
|
08-16-2003, 06:51 PM
|
#5
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Original Poster
Rep:
|
Well this got me on the right track, but doesn't do anything.
I hit up the man page and the docs, and they said that with the version I use you can just add the option:
"Please note that --set-variable is deprecated since MySQL 4.0, just use --var=option on its own"
so I tried:
mysqld --thread_concurrency=3
it starts, but still with 10 instances.
mysqld -O --thread_concurrency=3
craps out with an error:
"unknown option: --thread_concurrency"
even though it is in the manual.
And dude, don't worry, don't flame people in general, and I certainly won't when you have helped me.
I do appreciate it. And although it is still not working, I have a bit more of a clue, and will keep playing around with it...
|
|
|
08-17-2003, 04:50 AM
|
#6
|
Member
Registered: Aug 2003
Distribution: Latest Gentoo; Mandrake 9.1
Posts: 37
Rep:
|
Mhh, at this point my advice is to try posting a message to the appropriate mailing list. This should be the one:
http://lists.mysql.com/list.php?list=mysql&sub=1
Mozilla should be able to manage also a threaded view.
|
|
|
08-17-2003, 02:25 PM
|
#7
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Original Poster
Rep:
|
OK i'll try the list.
Thanks
|
|
|
All times are GMT -5. The time now is 10:43 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|