-
Bug
-
Resolution: Fixed
-
Low
-
3.3
-
None
At the moment the <CONF_HOME>/attachments and <CONF_HOME>/thumbnails directories have two different hierarchy structures, would be good to keep these similar.
If there are enough pages creating thumbnails in Confluence, then the 32000 file limit of ext2/3 will be reached, as mentioned by G2G JP Support in a comment below.
Workarounds
- Use a different filesystem with a higher file limit. ext4 has 64000 by default, and can be increased higher using "dir_nlink"
- Periodically clear out old thumbnail files so that the limit is not reached - since they are dynamically generated, the files will be repopulated as needed
To give a bit more info on how this currently works, Confluence stores its thumbnails under the thumbnails directory under CONF_HOME. Within that directory, each page that contains thumbnails has a directory (with the page ID as the directory name), and within that the thumbnails for that page are kept. The filename pattern is:
CONF_HOME/thumbnails/<page_id>/thumb_<attachment_id>_<attachment_version>
As the original description says, if you have many pages that contain thumbnails, then the thumbnails top-level directory will fill up and bust its filesystem per-directory limits.