Post Reply 
Limit of 65000 folders
05-09-2019, 08:17 (This post was last modified: 05-09-2019 08:17 by simoncn.)
Post: #9
RE: Limit of 65000 folders
Apologies for the forum issues. My hosting provider updated PHP to a newer version and this caused forum searches to stop working. I tried to fix this by updating to a later version of the forum software but something went wrong with the update and the forum was left in a semi-working state. After trying unsuccessfully to find a quick fix for this, I decided that the best way forward was to revert to a recent backup of the forum and redo the update using a different procedure. While all this was happening, I needed to take the forum offline, hence the 403 errors.

The 65000 folder limit is based on memory resource issues. When MinimServer was first released in 2012, a key feature was its ability to run on low-end devices, including some NAS devices with only 128MB of RAM for the operating system and all applications. As MinimServer holds key data structures in RAM for good performance, these structures needed to be as compact as possible and (without going into too much technical detail) this led to the 65000 folder limit. As the design point was to handle a library of 100,000 files (not folders), this number seemed sufficient and indeed has been sufficient for all users until now.

Things have moved on since then, with all current NAS devices having at least 256MB of RAM and some MinimServer users having very large libraries, so I will look again at how I can redesign the internal structures of MinimServer to remove the 65000 folder limit. One option is to allow up to 65000 folders for each content directory. As MinimServer can have up to 8 content directories, this would increase the limit to over 500,000 folders. Another option (which would consume more memory for small and medium-sized libraries) is to change the internal data structres of MinimServer to allow an unlimited number of folders.

This change will not happen immediately, so you need a workaround for now. Your suggestion of using a second Mac with a different hostname would work well. With this setup, there is no need to change port numbers because the MinimServer instances are differentiated by hostname, unlike the situation where multiple instances are running on the same machine.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Limit of 65000 folders - Alekz - 10-01-2013, 22:54
RE: Limit of 65000 folders - simoncn - 10-01-2013, 23:14
RE: Limit of 65000 folders - Alekz - 11-01-2013, 00:17
RE: Limit of 65000 folders - Alekz - 11-01-2013, 01:30
RE: Limit of 65000 folders - simoncn - 11-01-2013, 07:13
RE: Limit of 65000 folders - bbrip - 12-01-2013, 17:58
RE: Limit of 65000 folders - Alekz - 12-01-2013, 23:21
RE: Limit of 65000 folders - AndrewS - 04-09-2019, 22:08
RE: Limit of 65000 folders - simoncn - 05-09-2019 08:17
RE: Limit of 65000 folders - AndrewS - 05-09-2019, 08:57
RE: Limit of 65000 folders - jarome - 27-05-2020, 23:39
RE: Limit of 65000 folders - simoncn - 05-09-2019, 09:31
RE: Limit of 65000 folders - AndrewS - 05-09-2019, 23:24
RE: Limit of 65000 folders - Donuk - 08-04-2020, 08:29
RE: Limit of 65000 folders - simoncn - 08-04-2020, 09:14
RE: Limit of 65000 folders - simoncn - 15-04-2020, 22:23
RE: Limit of 65000 folders - simoncn - 16-04-2020, 11:01
RE: Limit of 65000 folders - simoncn - 17-04-2020, 09:35
RE: Limit of 65000 folders - simbun - 19-04-2020, 09:57
RE: Limit of 65000 folders - DavidHB - 19-04-2020, 14:24
RE: Limit of 65000 folders - simbun - 20-04-2020, 14:50
RE: Limit of 65000 folders - DavidHB - 20-04-2020, 18:12
RE: Limit of 65000 folders - simoncn - 07-09-2020, 09:01
RE: Limit of 65000 folders - DavidL - 07-09-2020, 14:44
RE: Limit of 65000 folders - simoncn - 07-09-2020, 15:19
RE: Limit of 65000 folders - simoncn - 15-02-2021, 13:57
RE: Limit of 65000 folders - simoncn - 17-02-2021, 16:33
RE: Limit of 65000 folders - simoncn - 18-02-2021, 11:55

Forum Jump:


User(s) browsing this thread: 1 Guest(s)