Question

Photo of Chris McGrath

0

Deploying code in our test environment causes Rock to take forever to load

This is a strange one but I wanted to see if anyone had ever seen this.  We have a few servers we deploy rock to for production, test, demoing, etc.  In most of our environments, when we deploy new code and turn IIS and the Rock application pool back on, loading the site at first takes 30 seconds or so, but once we've started clicking around to the different pages it's pretty responsive.  But on our test server, every time we deploy those same code packages, all requests to Rock will timeout for 30+ minutes, and even after the first page will load the other pages will usually time out the first time we try to get to them. We've checked other files such as the readme.txt in the root of the rock folder and those come up fine; it's only the Rock pages that won't load.

We've watched the server resources when loading Rock for the first time and we see the expected minute or so of high resource usage but for most of the time that Rock is unresponsive the server does not seem to be doing anything at all.

As you can imagine this makes rolling out new code for testing an extremely tedious and discouraging experience!  Any suggestions as to what this might be or how to troubleshoot it would be greatly appreciated.

  • Photo of Chris McGrath

    0

    We have narrowed the problem down to something to do with the latest version of the VMWare Tools. WIth 10.0 installed we experience this problem, but with certain versions around 9.4 everything works properly. We have yet to identify exactly what the problem is but for now we just removed the latest Tools and updated with an old version which has allowed us to get back to updating code without issue.

  • Photo of David Leigh

    0

    Chris,

    Here's a couple of things to try:
    1. Check the error log to see if any additional detail is available (Home / System Settings / Exception List).
    2. Verify your database connection string to make sure you are connecting to the database and server you expect.

    3. Check the Global Settings "Internal Application Root" and "Public Application Root" to make sure they are pointing to your test server ( Home / General Settings / Global Attributes ).
    4. Check your site configuration to make sure that your domains are set correctly ( CMS Configuration / Sites )
    5. Try to further isolate which pages cause timeouts and if the timeouts occur both remotely and when accessing Rock from a browser on the test server itself.

    Hopefully something in there will point you in the right direction.