DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Folder performance

You are not authorized to post a reply.

Growing Member

    We have a site with a number of portals with a large number of folders and files.

    Performance is not optimal. More folders and files makes it slower.

    Suggestions? Hints?

    Senior Member

      One of the ways I mitigate the performance and management issues with folders in the Portal directory is to replace key folders with folder providers (e.g., Amazon). This has greatly improved performance and decreased management times with each of the websites I've done this with. You can even do this with existing folders.

      Regarding the management aspect... Backups and restores especially are far less time-consuming and much more manageable in all aspects. It also helps with more enterprise situations when key/strategic files/folders are on an external API-based system like Amazon.

        We have seen the same on several installations.
        Stefan posted a similar question in the DNNConnect FB group (march 13) related to CKEditor file browser and our conclusion is that is it's a core issue.

        Growing Member

        Growing Member

          I remember reading your FB post. AFAICR, Sebastian did not respond?

          Time to dig some further in the routines that handles permissions & folders.

          Growing Member

            Ernst Peter,

            This is something that has plagued the installation for quite a while, there are a few things that can impact the overall performance

            * Number of Folders
            * Number of Permissions Applied to Folder
            * Number of User folders with no content
            * Server Size
            * Lack of DB Management
            * Use of Auto-Sync File System can exaggerate errors.

            Often times I find that rebuilding the indexes on the tables related to the files, folders, permissions can help improve performance, as most often times individuals do not do any regular index management. However, long-term this is something that needs to be addressed.
            Mitchel Sellers
            Technology Advisory Group Leader
            CEO @ IowaComputerGurus, Inc. a DNN & .NET Solutions Provider
            Technical Blog: MitchelSellers.com

            Growing Member

              Mitch, Thank you for your feedback. All the things you mention are already taken care of. Decent database maintenance, mega sized server, well defined DNN scheduled tasks, cleanup routines, no auto-sync, etc.

              One thing different from normal is that all files are stored as “secure” files (.resources).

              We have removed a lot of files and folders that the client will need no earlier than the end of this year, performance is now back to normal.

              We will try to recreate the problem locally in a dev environment and do some debugging

              Veteran Member

                AFAIK, Ingo improved performance of browsing images in latest version of his original CK editor provider.
                In general, the files and folder management has performance issues, caused by suboprimal indexes and many database calls.
                On sites with many registered users, a major performance decrease is caused by nested user folders (and folder permissions) created for every user upon login, even if he never uploads a single file. IMO this could be fixed by creating user folder only when needed and "fake" permissions in the API (I never saw permissions for user folders been modified by an admin).
                You are not authorized to post a reply.

                These Forums are dedicated to the discussion of DNN Platform.

                For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

                1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
                2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
                3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
                4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
                5. No Flaming or Trolling.
                6. No Profanity, Racism, or Prejudice.
                7. Site Moderators have the final word on approving / removing a thread or post or comment.
                8. English language posting only, please.

                Would you like to help us?

                Awesome! Simply post in the forums using the link below and we'll get you started.

                Get Involved