Skip to main content
Inspiring
August 9, 2010
Answered

Response Lag

  • August 9, 2010
  • 1 reply
  • 1318 views

First, let me just apologize about the vagueness of this post.

We have a CF8 server on Web Server 2008 running IIS connecting to a remote Oracle server.  Every 90 minutes, for a period of about 20 minutes, the server's response times explode to anywhere from 40-70 seconds or longer, where the response times are usually well under 10 seconds.  This is only true for CFM pages.  HTML pages respond quickly and the database doesn't seem to be the issue, as response times are normal on the other servers and through separate database testing.

I have checked the scheduled tasks on the problem server.  None happen every 90 minutes, and the problem continues when the hourly and two hourly ones are paused or stopped (we have not tried deleting them).  The server monitor doesn't indicate an abnormally high number of requests, and the logs don't seem to show a particularly or unusually high number of errors or emails being sent out during the spikes.

Both the sysadmin and I have been looking into this for a while and have tried everything we think is obvious, but apparently we're missing something.

Does anyone have suggestions for other things to check?  Or an idea of causes?

Thank you.

    This topic has been closed for replies.
    Correct answer Adam Cameron.

    Client sessions are stored in the system registry.

    Where should I go from here?

    CHANGE THAT SETTING AS SOON AS YOU CAN.

    There is no way a production site should be using the registry to store client variables.

    Depending on your client var usage, either set up the appropriate tables in a DB and use that, or use cookies.  Personally I try to avoid using client vars, but I always store in the DB.

    But don't use the registry.  It can screw your server.

    --

    Adam

    1 reply

    Charlie Arehart
    Community Expert
    Community Expert
    August 10, 2010

    Are you sure it's 90 minutes? Could it be instead every 67 minutes? That's a specific and important mark: it's the default time for "client variable purge" to take place. (of course, you may well have changed it to happen every 90 minutes instead). See the CF Admin, Client Variables page, and its "purge interval" setting. I won't elaborate on this until you confirm if it may be the issue.

    I'll note as well that the clock for this starts with the start of CF (so 67 minus into the run it will do the first purge, repeating every 67 minutes thereafter). You can confirm the exact time that the purge happens by viewing the \runtime\logs

    /charlie

    Providing CF troubleshooting services at carehart.org/consulting

    charlie@carehart.org

    /Charlie (troubleshooter, carehart. org)
    kodemonkiAuthor
    Inspiring
    August 10, 2010

    From 5:09 this morning it has taken approximately 97 minutes, 91 minutes, 89 minutes, and most recently, 95 minutes.  I checked our purge intervals and they are indeed 67 minutes, and our runtime log confirms this, so unfortunately, that is not the problem.

    Thank you.