I'm curious regarding the Zenphoto application's "[b][i]cashing[/i][/b]" of images vs. the OS/MySQL cashing process. I have discovered that if I attempt to start the [b]Album[/b]==>[b]Image order[/b] utility, then swap space utilization jumps from 100% free to maxed-out as the system attempts to load the images in the displayed panel. For example, there are 81 images stored in the ./albums/[i]sub-directory[/i] and are of the order of 2.1M to 1.9M. Is the system trying to load all of these JPG files into memory? This should be less than 2.1M * 81 files = 170.1M max. This is significantly short of the 1G that I have allocated. Ultimately, the MySQL daemon crashes, reporting [i]out of swap space[/i].
This may be more of a MySQL configuration problem than Zenphoto. Regardless, I plan to install some MySQL DB monitoring systems, but it would be good to have some insight regarding the Zenphoto process.
Once the entire complement of 81 image files are FTP's to the albums directory, does the Zenphoto system try to load, i.e., "cash" the entire complement of image files, before internally generating and [i]cashing[/i] thumbnail images? Are such cashed images stored in the MySQL database per se, or only a [b]pointer[/b] to the actual file in the albums directory, and then rendered through a resizing filter when retrieved?