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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Citrix disconnects a few times a day 1

Status
Not open for further replies.

ohif

IS-IT--Management
Jun 11, 2003
78
US
Citrix clients at a remote site have been getting disconnected from the server at least once or twice a day. They are connecting over a wireless connection which is stable. They get disconnected at different times so it isn't the wireless. Sometimes it will just disconnect in the middle of running a important report. Does anyone have any ideas?
 
These regkey's should stabilise things a bit more:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"TcpMaxDataRetransmissions"=dword:0000000a

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Citrix]
"IcaEnableKeepAlive"=dword:00000001
"IcaKeepAliveInterval"=dword:0000003c

[KEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"KeepAliveTime"=dword:0000ea60
"KeepAliveInterval"=dword:000003e8

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters]
"MaxCmds"=dword:000000ff
"MaxThreads"=dword:000000ff
"MaxCollectionCount"=dword:0000ffff

Then make sure there is no hardware in between (routers/firewalls/switches) that have idle connection time configured.

Free citrixprinting support
 
Thanks alot for the info but are you sure it would be idle time? Sometimes it just happens out of the blue while working. Or While doing a report. Do you have any other ideas if that doesn't work?
 
Citrix sessions are dropped, because something happens that interupts the constant stream of small ica packages.
Either network instability (some regkey's mentioned above take care of that) or devices that cannot handle ica traffic well, and think nothings going on on the line, and just simply drop it. Therefore check idle time on all devices.

If after this, you still have trouble, you're problems are probably very deeply nested.

Free citrixprinting support
 
We had this same problem. Here's how we fixed it...

Open the "Citrix Connection Configuration" and go to the properties of the ICA connection. Click Advanced, and then check the 3 "No Timeout" boxes. Do this on each MetaFrame server.

ChrisP
 
I found the "No timeout" boxes and they were already checked. I haven't put the reg keys in yet. Are the keys for the server or the client machine?
 
Related to XS4Citrix's reply; we attempted to use a wireless connection with Citrix, and it was a nightmare. The latency fluctations wreaked havoc with users' ICA connections.

You might want to set up a performance monitor to see what is happening at the time of disconnects. In our case, users would be working away at ~100ms or so, then spike to 700ms, 900ms, then back down...it was nuts. We canceled the wireless & put in a T1 and all were happy in the land.

Generally speaking, wireless is unpredictable. Maybe you have a better setup, but I have 3 customers with it on different providers and latency was/is erratic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top