1

I have a web site that runs on a standalone Server 2012 R2. I also have SQL Server 2008 R2 Express installed on the same server which provides the backend storage and ASP Membership authentication.

The home page to the web site is a logon page. The entire site is secure. The home page loads plenty fast enough.

The issue is that SQL does not spin up fast enough and the page will eventually error out on first log in attempt.

Clicking the browser back arrow and enter password and login again and all is good and all queries run really fast.

The issue is only waking up SQL.

What is the best practice for preventing this??

6
  • MIght be a long shot but what power plan do you have?
    – Mihai
    Apr 17, 2015 at 15:00
  • Just by the fact I am not sure what you are referring to, I am hopeful this maybe an issue, how can I check it? If you are referring to the server, it is set to always on.
    – htm11h
    Apr 17, 2015 at 15:03
  • Are there specific settings for SQL, I have not found any.
    – htm11h
    Apr 17, 2015 at 15:13
  • Do you mean "first log in after a server reboot", or "first log in attempt for every user on the site all the time"?
    – Bacon Bits
    Apr 17, 2015 at 16:51

1 Answer 1

1

Well, I knew adding more RAM would help, but it has basically eliminated the issues all together. From 2GB to 8GB of RAM and the issue is completely gone. I also changed over to an SSD for better performance. Also had a VM with the same OS and SQL set up. It also runs much better with just 4GB.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.