Well, look who just popped open a fresh can of venom.

Xander ,'Empty Places'


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.

To-do list


Jon B. - Oct 21, 2003 7:29:24 pm PDT #5416 of 10000
A turkey in every toilet -- only in America!

But how do we determine that ahead of time?

I dunno? Ask them? I'm just thinking out loud here. There doesn't seem to be an easy answer.


§ ita § - Oct 21, 2003 7:50:57 pm PDT #5417 of 10000
Well not canonically, no, but this is transformative fiction.

I'm not sure, if we're warning them up front that we're a risk to their other customers, what their motivation is.

As for the test:

I was not able to open two mysql connections to our database immediately after the board shut down, and then at 5, 10, and 15 minutes. Once I closed the first commandline client down, I could open the other one.

Rob, Tom, I have the db_status from them.

Kristen, I know there's nothing they'll do for us now, so you might want to mention this to them as free feedback. If their connection closing timeout is longer than fifteen minutes, I doubt it's a good use of their resources.


Rob - Oct 21, 2003 7:59:27 pm PDT #5418 of 10000

I'd like to see the db_status. If nothing else, it will let me calculate about how much we'd spend for MySQL connections via dreamhost.


§ ita § - Oct 21, 2003 8:01:12 pm PDT #5419 of 10000
Well not canonically, no, but this is transformative fiction.

Insent, Rob.

Also to Tom.


Rob - Oct 21, 2003 8:16:14 pm PDT #5420 of 10000

db_status tells us we do 6.84 MySQL connections per second. At that rate, we'd spend $2091.16 a month on extra conueries at Dreamhost.


Astarte - Oct 21, 2003 8:20:58 pm PDT #5421 of 10000
Not having has never been the thing I've regretted most in my life. Not trying is.

See, I just don't see how that could be possible, with the number of members posting.

Am I nuts?


Rob - Oct 21, 2003 8:27:23 pm PDT #5422 of 10000

I can see it being true, since at the request of IH we put in explicit closes for each MySQL connection. Each page can open and close a number of connections. In my testing on my machine, I'd see four or five connections opened and closed per message center view.


Cashmere - Oct 21, 2003 9:55:30 pm PDT #5423 of 10000
Now tagless for your comfort.

I don't know what kind of tweaking went on while I was asleep, but I haven't had a single error message since I came back here around 2:45 a.m. EST.


Cashmere - Oct 21, 2003 10:16:46 pm PDT #5424 of 10000
Now tagless for your comfort.

and I spoke too soon--I did get a few errors. They are appearing less, though. But that could just be the low traffic at this time of night.


Tom Scola - Oct 22, 2003 2:07:33 am PDT #5425 of 10000
Remember that the frontier of the Rebellion is everywhere. And even the smallest act of insurrection pushes our lines forward.

These are the facts as I understand them right now:

  • We are regularly getting refused connections from the mysql server, saying that we have exceeded 'max_user_connections' for our account.

  • According to the mysql server, the value of 'max_user_connections' is set to 100.

  • According to the MySQL manual, when you get too many connection messages, you can use the SHOW PROCESSLIST query to see all of your connections. I have verified this using MySQL on my own system at home.

  • When we connect to the mysql server and do a SHOW PROCESSLIST query, it shows that we only have one connection.

  • When we connect to the mysql server via the command line, the web server is completely locked out. We also cannot make a second connection to the mysql server from the command line.

Therefore, I have come to the following conclusion.

  • Either the mysql server is broken, and is only allowing us one concurrent connection at a time, instead of 100, or whatever number that we are allowed to have, or,

  • The mysql server is broken, and is not reporting the correct information from the SHOW PROCESSLIST query.

The first scenario is much more likely. Further evidence supporting my hypothesis that the error occurs when more than one user hits the web server simultaneously can be found by examining a sample from the access_log and error_log files. Do we have access to them?

In either event, it is my opinion that the mysql server is broken. This is not something we "mention" to them as "feedback", this is something that the ISP needs to fix, or at the very least, provide us a better explanation, using data that we don't have access to.

This, of course, is purely a technical assessment. I have no knowledge of our interpersonal relationship with the ISP.