More in this section
Forums / Set-up & Installation / Files provider in SiteFinity 3.7

Files provider in SiteFinity 3.7

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Zack
    Zack avatar
    1 posts
    15 Dec 2011
    16 Dec 2011
    Link to this post
    I've just started supporting a SiteFinity site hosted on GoDaddy, and we are running into the ceiling of our database(200MB). Users are getting disconnect and not responding errors trying to post new pages. I've been trying to work with GoDaddy and the end users of SiteFinity to keep the website going. I've been trying to get them setup to use FTP and link to them, and now I just found out about,

    The version of SiteFinity we are using looks like Sitefinity 3.7.2096.2:1, from the home page source. I'm unsure if this is SF 3.7 SP3 or not.

    I'm hoping running some SQL SHRINKDATABASE and SHRINKFILE commands along with enabling the files provider will help keep this site running in the short to medium term.

    Any help or suggestions would be much appreciated,

    It looks like I am running SiteFinity 3.7 SP3, standard.
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    01 Feb 2016
    20 Dec 2011
    Link to this post
    Hello Zack,

    From the description of the problem it seems that the it is not only isolated to the database size. It seems that the project is running out of memory (users getting logged out) and is recycled. To prevent the logout on recycle add a machine key configuration to the webconfig. Something similar to bellow:
    <machineKey validationKey="2F85FD457B32DDE6B41351A7E1539F660D77847788D4145828FD9F50729D1AC3B9CBCC308D5A958F72AF286A0261EDC55182AEE8C44E70C7C26EACF953D17053" decryptionKey="0C546A6FC013E2E551BC0F76F29E03FC715DB512C7D336A18012104B2019C7CD" validation="SHA1" decryption="AES" />

    You can generate machine keys using this tool:

    The reason for the website running out of memory would be if the website is serving very large files. To overcome this, it is recommended that you not only enable the files provider, but also set a small chunk size (default is 50 MB). I would recommend that you set the chunk size to something like 4 MB. Both the files and DB provider can be used with either of bellow configurations (note that with my settings the file will get broken into chunks of 4MB, where the default is 50):

    store in files:
    <libraries defaultGenericProvider="Libraries" streamingProviderName="Files" streamingIsEnabled="True" streamingChunkSize="4194304" >

    store in DB:
    <libraries defaultGenericProvider="Libraries" streamingProviderName="Nolics" streamingIsEnabled="True" streamingChunkSize="4194304" >

    Best wishes,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered