This post has already been read 14088 times!
I was migrating the Web Interface servers this week and came across a massively annoying problem where the servers are really slow to authenticate the users the first time and then they start to run ok after that. There are a lot of articles out there on how to fix this and I tried most but in the end I ended up using a combination of a few fixes to resolve the problem.
NOTE: Do this at your own risk! Please ensure that you have backed up your web servers prior to starting this so you can revert the change if needed.
Part 1 – Disable NetBIOS
According to the following blog (http://virtualizationjedi.com/2011/08/16/speeding-up-web-interface/) NetBIOS is one of the main reasons for slow application enumeration on Citrix Web Interface. It is considered best practive to disable this on the Web Servers that you are running Web Interface on. Please ensure that you disable this on ALL cards that the web server uses.
To disable this you will need to open the advanced properties dialog for the Tcp/IP connection on each network card and set the following.
Once this is complete then restart the server and test the Web Interface site again.
Part 2 – .Net Certificates
Now this is caused but the .Net Framework not remaining resident in memory and the Idle Timeout on the Web Interface App Pool not being set. Citrix have released a fix for this that requires you editing the ASPNET.CONFIG file on the servers hosting the web interface.
The article is located here: http://support.citrix.com/article/ctx117273
or if you prefer here is the text from that article:
- Check in IIS for the ASP.net version that is in use with the Web Interface site.
Modify Aspnet.config in the following directory
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 (If Web Interface uses .Net framework v2.0.50727)
- Add the following lines to your ASPNET.CONFIG or APP.CONFIG file:
<?xml version=”1.0″ encoding=”utf-8″?>
Part 3 – Recompile the .Net Application
This one eluded me for a while. Even after making the above 2 changes I still got problems with slow performance on the Web interface site. That is, until I found out about this.
On the Web Interface Server, after the sites are configured, run the following command:
c:\windows\microsoft.net\framework\v2.0.50727\aspnet_compiler -v /citrix/xenapp
Where “/citrix/xenapp” is the name of your Web interface site. This will re-compile the .Net application and should fix the issues you are having with slow performance.
I did all 3 of the above on the web servers here and it is all looking ok now. Fingers crossed it remains like that!