The Room of Doom is still causing memory allocation and database locking problems. Unfortunately our host, DreamHost, isn't being much help in the way of fixing this. The company appears to want to take a reactive rather than preventative approach.
One solution we at DP have considered is to upgrade our Room of Doom software from Gallery2 to Gallery3. But it isn't a simple, drop-in procedure, and something with our database is preventing the automatic importation into Gallery3 from happening. So we are trying a different approach: we are upgrading our image processing software suite.
ImageMagick, which we are currently using for the Room of Doom, is great, but the version of it which DreamHost provides is woefully out-of-date. As a matter of fact, it is four years out of date, and we believe it is probably buggy to boot... and that these bugs are the cause of the image processing requests never finishing on photo uploads and thus the database threads being locked indefinitely, eventually exhausting our supply of connections.
Therefore we have replaced the host-provided copy of ImageMagick with a fresh, just-released-this-month copy from the ImageMagick developers themselves. I have configured, compiled, and installed the software suite and the Room of Doom is now configured to use it. Hopefully this will be the end of our "too much memory used" and locked database errors. -Nz17
[
Link ]