lcrocker@nupedia.com wrote:
Brion VIBBER wrote: I've tweaked it so if it can't select the database, it will try again with a spankin' new connection (via mysql_connect()) and make a note in the logfile. So, with any luck, this should at least work around the problem.
I doubt such a band-aid will help; this looks like a symptom of a more fundamental problem, though I don't know what it might be.
Well, there's definitely _some_ root cause which I wish I could identify, too. But, with any luck, the band-aid will keep the site usable until we ferret it out.
I'm afraid I'm not much of a MySQL/PHP guru either (I'd never seen or used the language before I wrote this software), so I'm not familiar with its capacity problems. I'm pretty confident that they can be fixed, or else there's no way a site like Slashdot could use them, but I'm not sure where to tweak first. I'll have to investigate.
Slashdot's problems with mysql are notorious. :)
-- brion vibber (brion @ pobox.com)