You know, my big sister could really beat the crap out of her. I mean, really really.

Dawn ,'Storyteller'


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


Trudy Booth - Aug 26, 2003 4:55:42 am PDT #4837 of 10000
Greece's financial crisis threatens to take down all of Western civilization - a civilization they themselves founded. A rather tragic irony - which is something they also invented. - Jon Stewart

Cookie cookie cookie starts with "C"!

sorry


Rob - Aug 26, 2003 8:03:48 am PDT #4838 of 10000

I am 99.5% sure it was the quote generator.

But since we don't know *why* the quote generator caused the problem, we'll probably cause the same problem with the next feature implemented.

It would really pay to get to the bottom of this.

I'd be happy to look at the source code. I can probably even run it on my system at home, since I just installed MySQL and PHP for another reason.


Lee - Aug 26, 2003 8:17:40 am PDT #4839 of 10000
The feeling you get when your brain finally lets your heart get in its pants.

Trudy Booth - Aug 26, 2003 8:18:03 am PDT #4840 of 10000
Greece's financial crisis threatens to take down all of Western civilization - a civilization they themselves founded. A rather tragic irony - which is something they also invented. - Jon Stewart

Kristen - Aug 26, 2003 8:34:28 am PDT #4841 of 10000

Anyone who wants to do some investigating into this phenomenon off the server in their own time is more than welcome to. Insights will certainly be appreciated.


Noumenon - Aug 26, 2003 9:08:42 am PDT #4842 of 10000
No other candidate is asking the hard questions, like "Did geophysicists assassinate Jim Henson?" or "Why is there hydrogen in America's water supply?" --defective yeti

> If you want the list, either e-mail me, or I can post it again: basically, it says "CVS repository; Move search out of beta (

The list is at Am-Chau Yarkona "Buffistas Building a Better Board" Jun 26, 2003 6:41:51 am PDT. Isn't CVS a done deal? I thought that Rob got it set up and ready to use, based on ita "Buffistas Building a Better Board" May 9, 2003 4:05:12 pm PDT. Would the CVS let us, for example, roll back the change we made by adding explicit closes to all the functions, without touching the other changes we made since then? That would be handy at times like this.

Anyone who wants to do some investigating into this phenomenon off the server in their own time is more than welcome to.

Jess PMoon, Liese S, and I think Michelle T were looking at the SQL code. Rob, ita asked them to drop her a line at her profile address so she'd know where to send it, or maybe you could ask one of those three to forward you a copy.


Rob - Aug 26, 2003 9:45:29 am PDT #4843 of 10000

Is PHP installed as a module or a CGI wrapper on our host?

eta, what version of PHP is running on our host?


§ ita § - Aug 26, 2003 11:05:44 am PDT #4844 of 10000
Well not canonically, no, but this is transformative fiction.

All the config info you could ever want, insent, Rob.


Rob - Aug 27, 2003 1:56:11 pm PDT #4845 of 10000

I spent a lot of time investigating PHP and MySQL last night and learned a lot. I wanted to share some of it with everyone because I think some of the things were doing to limit connections to the database might put even more load on the server. I'd like to recommend that folks not change their reading habits a lot until we figure out exactly what's causing the excess load.

I now have a tiny little Phoenix board running on my Mac at home for testing. I've been digging into the source code of PHP and MySQL (gotta love open source) and I'm starting to understand how this all fits together.

I now suspect that the problem isn't so much too many connections, as too many MySQL threads running at the same time. Each thread uses exactly one connection, but we're allowed to have up 128 of them cached. Recently ita checked and we had 58 threads in the cache, only three of them running, but 26 of them holding a connection. I don't think the cached threads are every deleted, so eventually we'll max out the cache.

Now this new server has a 5 minute idle timeout (as opposed to the 8 hour default), so that might explain why only 26 of the cached threads have a connection. But the threads themselves consume a lot of resources, so they might actually be what's causing the server problem, more than the connections themselves.

I'm looking to see if they can limit our use of threads without affecting other MySQL users on the server. I think there might be a way to tell Apache to limit the buffista.org domain to fewer concurrent threads, which would limit the MySQL threads as well.


Kristen - Aug 27, 2003 2:00:02 pm PDT #4846 of 10000

I give up.