By default, an IIS application pool (or “AppPool”) recycles on a regular time interval of 1740 minutes or 29 hours.
Users may notice that after such recycle, sync does not run until TFS4JIRA configurator page is opened. Please follow the below 3 4 configuration corrections in order to minimize this situation.
Add IIS feature called. Application Initialization
As of IIS 8 Application Initialization is part of the IIS feature set. For IIS 7 and 7.5 there's a separate download available via Web Platform Installer. Using IIS 8 Application Initialization is an optional install component in Windows or the Windows Server Role Manager:Open IIS MANAGER (command: inetmgr)
Go to Application Pool section
right-click TFS4JIRA application pool (default name: TFS4JIRA Sync App Pool)
choose ADVANCED SETTINGS
please set: Start Mode to AlwaysRunning
please set: Idle Time-out (minutes) to 0
click OK to confirm changes
Expand Sites and Default Web SIte (please note: this is default TFS4JIRA installation site, you may have a different configuration)
Right-click TFS4JIRA application (default name: tfs-jira-synchronizer)
go to MANAGE APPLICATION → ADVANCED SETTINGS
please set: Preload Enabled to True
As a final step please restart your site (site where TFS4JIRA application is installed)
Getting started with Application Initialization
As of IIS 8 Application Initialization is part of the IIS feature set. For IIS 7 and 7.5 there's a separate download available via Web Platform Installer. Using IIS 8 Application Initialization is an optional install component in Windows or the Windows Server Role Manager:
WORKAROUND (optional when above failed)
That situation where Synchronizer stops processing after application pool recycle is the standard behavior of IIS 7.0, not an error or issue. The site only comes into memory on first access and that usually takes longer than subsequent access.
...
Please of course remember to enter your synchronizer address and port.
DISABLE APPLICATION POOL AUTOMATIC RECYCLING
Open IIS MANAGER (command: inetmgr)
Go to Application Pool section
Right-click TFS4JIRA application pool
Choose Recycling …
Clear any fixed intervals setup