Too many albums - Linux "too many links" error

jontmke

Joined: 2011-10-31
Posts: 1
Posted: Mon, 2011-10-31 19:44

Hi:

I have hit the file system limit in Linux where it will not let you create any new folders so we can not create any new albums. I figure there are at least three ways to get around this:

1. Find any empty albums and delete them. (Probably made in error.) But this is a short term solution. And how do we find them?

2. Create "super" albums and move albums under that according to date or other criteria. But, how do you search and script or batch that? It is too large to do manually.

3. Create another "Albums" folder and create all new albums under that. But, how do I get gallery 2 to search that folder for lookups? Or default new album creation to that new root folder?

There is probably more ways to do this but I have searched the forums and the documentation and not found what I need.

Thanks for your help,

Jon


Gallery URL = http://XXXXXXX/main.php
Gallery version = 2.3.1 core 1.3.0.1
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.1.6 apache2handler
Webserver = Apache/2.2.3 (CentOS)
Database = mysql 5.0.77-log, lock.system=flock
Toolkits = Exif, Getid3, NetPBM, Thumbnail, Ffmpeg, Dcraw, ImageMagick, Gd, LinkItemToolkit, SquareThumb
Acceleration = none, none
Operating system = Linux 2.6.18 #1 SMP Mon Oct 25 15:50:53 EDT 2010 x86_64
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729; .NET4.0E)
Rows in GalleryAccessMap table = 38
Rows in GalleryAccessSubscriberMap table = 259526
Rows in GalleryUser table = 7
Rows in GalleryItem table = 259522
Rows in GalleryAlbumItem table = 112824
Rows in GalleryCacheMap table = 0