-
1. Re: Response Lag
Charlie Arehart Aug 10, 2010 8:22 AM (in response to kodemonki)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
-
2. Re: Response Lag
kodemonki Aug 10, 2010 8:41 AM (in response to Charlie Arehart)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.
-
3. Re: Response Lag
kodemonki Aug 10, 2010 1:40 PM (in response to Charlie Arehart)Actually, you may have something there . . .
I was initially only looking at the *start* times for these spikes, not the times in between them, which average between 70 and 80 minutes. I changed the purge interval to 1 hour and 40 minutes and lo and behold, it took almost exactly 1 hour and 40 minutes for the spikes to reappear.
Client sessions are stored in the system registry.
Where should I go from here?
-
4. Re: Response Lag
kodemonki Aug 11, 2010 5:28 AM (in response to Charlie Arehart)When I changed it to 1:40 I noticed the lag time increased significantly from twenty minutes, so I brought it back down to 67. Now there's about a half an hour of good time, and an hour where the server is almost unusable.
-
5. Re: Response Lag
Adam Cameron. Aug 11, 2010 5:55 AM (in response to kodemonki)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
-
6. Re: Response Lag
kodemonki Aug 11, 2010 8:02 AM (in response to Adam Cameron.)Made that change. No problems in the last two hours. I'll still keep an eye on it though!
Thanks!



