+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / CMS Admin Keeps Loggin Me Out

CMS Admin Keeps Loggin Me Out

9 posts, 0 answered
  1. Jeremy
    Jeremy avatar
    17 posts
    Registered:
    28 Jul 2010
    30 Nov 2010
    Link to this post
    I just recently deployed a site to a shared hosting provider. When I am managing the site via the admin, it will display the login screen at seemingly random times. For example, if I am editing a page, sometimes when I click to save, or Edit a Generic Content Control it will bring me to the login page.

    I haven't found a pattern that I can reproduce yet. This didn't happen when the site was on the Dev server. I am logged in with the original admin account. I did recently change the account's password, but I don't think that would affect anything since I can immediately log back in.

    I have not applied the license key yet, but I haven't had this experience with other sites. Usually it will just display the trial banner.

    Any ideas?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    30 Nov 2010
    Link to this post
    Hi Jeremy,

    Your host has some limitations on the application pool - limits like CPU usage and memory. You reach the limit and the application pool is recycled, then you are logged out.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Jeremy
    Jeremy avatar
    17 posts
    Registered:
    28 Jul 2010
    30 Nov 2010
    Link to this post
    Thanks for the response Ivan.

    It seems logical, however I am the only user accessing the site. The site is not yet live and is operating under a URL which no one knows about yet. I find it hard to believe that a single user can cause the app pool to reach its recycle limits. Particularly when I've run other Sitefinity instances with this provider. Also, the app seems to recover quickly unlike when the app pool is recycled after being idle.
  4. Jeremy
    Jeremy avatar
    17 posts
    Registered:
    28 Jul 2010
    30 Nov 2010
    Link to this post
    It shouldn't matter if I'm running the app pool in integrated mode should it?
  5. Jeremy
    Jeremy avatar
    17 posts
    Registered:
    28 Jul 2010
    01 Dec 2010
    Link to this post
    It sounds like the host will recycle the pool at 100mb memory usage.
  6. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    01 Dec 2010
    Link to this post
    Hi Jeremy,

    Thank you for getting back to us.

    Can you please make sure that if you are using extensionless pages for example you have set the website to run all managed modules on all requests (web.conig):
    <system.webServer>
        ...
        <modules runAllManagedModulesForAllRequests="true">

    You should also contact your hosting provider to find about your application pool's memory limit.

    Regards,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  7. Jeremy
    Jeremy avatar
    17 posts
    Registered:
    28 Jul 2010
    01 Dec 2010
    Link to this post
    Thanks Radoslav for responding.

    I've made the web.config change you recommended and I will see how that works over the next few hours.

    I'm assuming you are suggesting that I ask my hosting provider to increase the memory limit. Are there any guidelines on what I should have this set to? The site is relatively small right now (about 10 pages or so) but will grow over time (we will be importing a few years worth of blog posts).

    Thanks.
  8. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    01 Dec 2010
    Link to this post
    Hello Jeremy,

    Changing the memory limits and application pool recycle time can be set through IIS and most of the host companies restrict this access.

    In IIS go to Application Pools and select "Recycling" from Edit Application Pool Action.

    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  9. Jeremy
    Jeremy avatar
    17 posts
    Registered:
    28 Jul 2010
    01 Dec 2010
    Link to this post
    Thanks Ivan.

    I know how to make the change. I was hoping for a recommendation on a value to use for memory usage.

    Thanks.
Register for webinar
9 posts, 0 answered