Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Citrix timesout after inactivity

Status
Not open for further replies.

farlerj

Technical User
Dec 29, 2004
3
US
I have several clients who are being timed out from Citrix sessions after inactivity. Time varies from 2 minutes to 20 minutes. They are Windows XP users and are on different Citrix servers. Does not appear to be a server issue, because other users on server do not experience the problem. When they move their mouse after inactivity, it requires them to reconnect. Any one have any ideas. I am currently testing a change in the appsrv.ini file for mouse and keyboard timeout setting. Changing it from 0 to 300. Has anyone else experienced this problem or have any solution?
 
I have seen this with a proxy server, where the Keep Alive packets are not getting to and from the client properly. Our solution was to configure Web Interface to not use a Proxy Server and the issue went away. Traffic was going through the proxy and being routed incorrectly and never making from the server to the clietn causing the connectionto be dropped after 10 minutes (or 15, can't remember). Could you perform a sniffer trace of the traffic to see what is being dropped where?
Try a tracert from the client to the server and one from the server to the client to see the path of the traffic.

Mike Brown
 
You can check the timeout settings by going to Citrix Connection Configuration on your Citrix server and click on ICA-TCP for Citrix ICA. Then click on advanced and there you can set timeouts or disable them for inactivity etc.

I was having the same problem with some clients and changing the setting here seems to have solved it.

Darren
 
After you check the ICA-TCP settings and it still doesn't fix your problem. You can try this fix. I requires adding a key to the registry on the Citrix server.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Citrix

Add a new REG_DWORD named IcaEnableKeepAlive with a value set to 1.

Add a second REG_DWORD named IcakeepAliveInterval with a value set to 48.

I was receiving complaints daily from end-users about the exact issues you are reporting. After adding these keys to the servers, I did not see the problem again.

I don't have the article number on hand for a better reference.

This fix can be found directly from Microsoft or Citrix.

You might want to check thethin.net as well. Another excellent site just like this one with lots of great information.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top