For the record, I get the errors when I'm nearly the only awake Buffista, and there are no new posts anywhere.
Buffy ,'Showtime'
Buffistas Building a Better Board
Do you have problems, concerns or recommendations about the technical side of the Phoenix? Air them here. Compliments also welcome.
When you connect to MySQL from the command-line, are you using the same username that you use when you connect from PHP?
Yup, using the same db.
WTF? They're limiting our mysql usage, but they're not giving us any means of monitoring it?
ETA: Does the query "SHOW FULL PROCESSLIST" show anything different?
Nope, Tom.
And being in mysql again gave me the error every time I tried to load a page.
So now I'm out.
OK, we should definitely be submitting this as a bug to the ISP. We specifically need to say that connecting to mysql from the command line will lock out the web site, and that show processlist only shows one connection. If they try to push back again, we need to press them and get them to provide us evidence that we're actually exceeding our allotment of mysql connects, because otherwise, we can't debug the problem.
As a further test, if you connect to mysql from the command line, what happens when you try to connect a second time from the command line, and try to do a show processlist?
As a further test, if you connect to mysql from the command line, what happens when you try to connect a second time from the command line, and try to do a show processlist?
Can't connect the second time. I get the max_connections error at the command line when I try and type in the password.
OK, cool. That's further evidence that the problem is on their end, not ours.
When I get home from work, I want to take the board down for a little while and see how many mysql sessions I can set up from the command line when no one's using the code.
Cereal: Do you know how many pageviews per second b.o averages? From what you say, it looks like the error occurs every time two people hit the site simultaneously.
If that's the case, turning off threadsuck until the issue is resolved might reduce the number of errors.
Is there any way to find out if other websites hosted by the same server we use are having similar problems?