Re: MySQL Server crashes - spawning too many threads.
Well I'm not sure if my sys admin is blowing me off and I don't have a lot of access to the server... Mytop isn't showing me the queries that are running but it is giving me interesting info. I'm gonna have to see how mytop is configured to start up and play with that one.
I don't see a lot of threads connected and my stats are telling me that too?
I've got thread_cache set to 96. The avg thread connected is 16. Right now I have 94 threads cached but it usually runs between 64-94 threads cached. AND it only runs between 1-3 threads runninng on avg with spikes during busy times.
And yet here is the explaination of why my server was flipped:
The machine isn't crashing. MySQL is spawning too many threads.
So what sort of threads? Actual mysqld threads running? and isn't that controled in the compile? I looked thru my 4.1 mysqld_safe script and saw some interesting stuff about open files that I want to explore but that doesn't seem to be my problem -- or is it?
Meanwhile the sys admin is frothing at the mouth about pconnects & how that's the big problem and my programmers are saying they aren't using them it's hardware. And I'd rather solve my slow query problems! :)
Any thoughts would be appreciated. This isn't covered in any of my optimize books and so far google hasn't brought up anything useful except that I should set interactive_timeout to something low. I set it to 100 and wait_timeout to 15.
Does this sound like hardware to you?? or linux OS or?
erin
Subject
Views
Written By
Posted
3296
July 28, 2005 01:24PM
2085
July 28, 2005 03:27PM
2021
July 28, 2005 04:02PM
Re: MySQL Server crashes - spawning too many threads.
2413
July 28, 2005 05:50PM
1946
July 28, 2005 06:50PM
1981
July 28, 2005 07:37PM
2498
July 30, 2005 11:36AM
1849
August 01, 2005 01:54PM
2783
August 12, 2005 02:54PM
1946
August 18, 2005 11:21AM
1825
August 18, 2005 06:50PM
2111
August 19, 2005 02:56PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.