BugNET

Open source issue tracking & project management
Welcome to BugNET Register | Login |

BugNET Forums

 
  Forum  Support  Installation pr...  Long pauses on when accessing application after a break
Previous Previous
 
Next Next
New Post 11/18/2008 7:25 AM
Unresolved
User is offline nmg196
7 posts
No Ranking


Long pauses on when accessing application after a break 
Hi, I seem to be having some long (15-20 second) pauses when going to my BugNet installations' home page if I haven't accessed it in a while. If I haven't used the site for an hour or so, it seems to take AGES for the home page to come up. There are no errors on the Log Viewer page - just some Application Start messages. Could there be a configuration problem, or perhaps it's trying to use a service or server which isn't available? The odd thing is, I'm not getting any errors - it simply seems to take a long time to start. Is this normal? No other websites hosted on the same machine seem to have this problem. Thanks, Nick...
 
New Post 11/18/2008 10:47 AM
User is offline admin
658 posts
bugnetproject.com
1st Level Poster




Re: Long pauses on when accessing application after a break 

 nmg196 wrote
Hi, I seem to be having some long (15-20 second) pauses when going to my BugNet installations' home page if I haven't accessed it in a while. If I haven't used the site for an hour or so, it seems to take AGES for the home page to come up. There are no errors on the Log Viewer page - just some Application Start messages. Could there be a configuration problem, or perhaps it's trying to use a service or server which isn't available? The odd thing is, I'm not getting any errors - it simply seems to take a long time to start. Is this normal? No other websites hosted on the same machine seem to have this problem. Thanks, Nick...

 

This is normal for asp.net and happens when an asp.net application first starts(initializing the framework, just in time compilation for code, worker process starting).  When the web.config is edited or the app domain is recycled (windows 2003) this may happen on the first load again.  It is nothing to worry about.


Davin Dubeau
BugNET - Core Developer

 
New Post 11/19/2008 6:10 AM
User is offline nmg196
7 posts
No Ranking


Re: Long pauses on when accessing application after a break 
Well I'm an ASP.NET developer myself and the longest load time I usually see is just the 3-5 second pause when it recompiles. I can't imagine that it's really spending 20 seconds just recompiling BugNet as it seems to be a relatively simple project. When I've got more time, I'll see if I can trace the application start process and make sure that there isn't something causing an unneccessary delay. While I think about it, there seems to be a bug in Global.asax.cs too... There is a line in Application_Start (line 41) which says: if (HttpContext.Current.Request.Url.LocalPath.ToLower().EndsWith("install.aspx")) return; According to the debugger HttpContext.Current is null in Application_Start as there is no connected user yet. I've had to comment this line out to get the application working or else I just an error message when I try and look at the site. Oddly, once the application has started, you an uncomment this line and it works OK (implying that it's only the very FIRST time that application_start is called that there's a problem. I'm really impressed with the application so far though! Far better than any other open source I've seen. Thanks! Nick...
 
New Post 11/24/2008 12:56 PM
User is offline admin
658 posts
bugnetproject.com
1st Level Poster




Re: Long pauses on when accessing application after a break 

Are you using IIS7?


Davin Dubeau
BugNET - Core Developer

 
New Post 12/3/2008 8:20 AM
User is offline nmg196
7 posts
No Ranking


Re: Long pauses on when accessing application after a break 
Sorry for the delay - I'm using IIS7 on my development machine but I'm also hosting the deployed app on IIS6. I think they both have this issue. Nick...
 
Previous Previous
 
Next Next
  Forum  Support  Installation pr...  Long pauses on when accessing application after a break

Forum Policy

These Discussion Forums are dedicated to the discussion of the BugNET issue tracker.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:
1. No Advertising.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Site Moderators have the final word on approving/removing a thread or post or comment.
5. English language posting only, please.