Ask a questionAsk a question
 

AnswerWebAccess warm up

  • Wednesday, October 07, 2009 8:37 AMwuwu Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello,
    my question is:
    Every day in the morning, the first access to TFS over WebAccess takes very long. 30 secounds or longer. If the first access is done, the site open after that very quickly.
    Are there some options to warm up the App Pool are something like that, that the first access in the morning is faster?


    Thanks, Horst --------------------------------------------------------- MOSS 2007: 2 WFE's, 1 App (CA), 2 SQL 2005 Server - Mirror, 1 TFS 2008

Answers

  • Thursday, October 08, 2009 3:54 AMHongye SunMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Thanks for your post.

    The slowness is because IIS is configured to recycle and shutdown the app pool worker process after a certain minutes idle. You can change the settings in IIS.

    IIS doesn't provide any settings to warm up the app pool, but you can use schedule task to achieve it. Use bat file to open IE to navigate to the TFS Web Access's home page at every morning.

    Hope it helps.

     

    Hongye Sun [MSFT]

    MSDN Subscriber Support in Forum

    If you have any feedback on our support, please contact msdnmg at microsoft.com

     


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.

All Replies

  • Thursday, October 08, 2009 3:54 AMHongye SunMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Thanks for your post.

    The slowness is because IIS is configured to recycle and shutdown the app pool worker process after a certain minutes idle. You can change the settings in IIS.

    IIS doesn't provide any settings to warm up the app pool, but you can use schedule task to achieve it. Use bat file to open IE to navigate to the TFS Web Access's home page at every morning.

    Hope it helps.

     

    Hongye Sun [MSFT]

    MSDN Subscriber Support in Forum

    If you have any feedback on our support, please contact msdnmg at microsoft.com

     


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Tuesday, October 20, 2009 1:43 AMHongye SunMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Wuwu,

    Is this issue resolved? Please feel free to let me know if you need futher assistance from me.

    Have a nice day.

     

    Hongye Sun [MSFT]
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg @ microsoft.com


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Monday, October 26, 2009 9:53 AMwuwu Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello Honqye,

    i was on vocaution last week. Sorry that i have not answered your question.
    I have tried this, to open the start page from tfs web access with a batch file.
    The problem is not solved because i must type in my credentials and logon to the tfs.
    After i have done this, the web access is warmed up and work in a good time.

    thanks, best regards,
    Horst


    Thanks, Horst --------------------------------------------------------- MOSS 2007: 2 WFE's, 1 App (CA), 2 SQL 2005 Server - Mirror, 1 TFS 2008
  • Tuesday, October 27, 2009 10:14 AMHongye SunMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi wuwu,

    If WIWA uses windows integrated authentication and you use your account to run the scheduled the task, it will login automatically.

    If it is form authentication, you can warm up TFS AT by running some code by TFS SDK. Here is an example:
    http://msdn.microsoft.com/en-us/library/bb286958.aspx

    Hope it helps.

     

    Hongye Sun [MSFT]
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg @ microsoft.com


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Tuesday, October 27, 2009 2:46 PMwuwu Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Hongye,

    the IIS Pool runs with integrated authentication or where can i check this seeting? WIWA?


    Thanks, Horst --------------------------------------------------------- MOSS 2007: 2 WFE's, 1 App (CA), 2 SQL 2005 Server - Mirror, 1 TFS 2008
  • Wednesday, October 28, 2009 3:21 PMHongye SunMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Please check this post:
    http://social.msdn.microsoft.com/Forums/en-US/tfswebaccess/thread/36cf20fe-2931-4b32-a06c-fc1f9461587e

    Hongye Sun [MSFT]
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg @ microsoft.com

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.