Greetings,
As you all may know, I have been working the last couple weeks to try to figure out what is causing the lag issue.
I thought I made a breakthrough when I came across this article:
http://www.bennadel.com/blog/154-Col...Spider-III.htm
Basically, when users come to the websites, session variables are created to store common elements such as host name and geo data. Session (cookie data) is stored in two places - on users personal computers and on the server. The problem started occurring because cookies are disabled in web crawlers. So each time a web crawler was crawling a webpage, the server would attempt to initiate new session variables. Over a couple hours,
the memory and CPU usage would increase dramatically.
So the solution to this problem was to differentiate web crawlers from regular users. I updated the code on all websites in the application.cfm file. When a web crawler is detected, I disabled session management. When a regular user is detected, I enabled session management. Thus, session information is only created for regular users now.
We also put an additional 1 GB of RAM on the server.
The lags seems to have disappeared, but with closer investigation, it still looks like memory increases over time. I will explain more momentarily...
Sincerely,
Travis Walters