[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Citrix sessions getting disconnected much more frequently

Posted on 2014-08-20
Medium Priority
Last Modified: 2014-08-31
We have a new Citrix server that is a VM.  I noticed that a lot of users have disconnected Sessions.  I have the "idle time user log off" set to 14400000 milliseconds, 4 hours.  I realize it could be the users, but I've got them very educated on proper log off.  

so my question is, Could something be causing the increase in disconnects?
Question by:J.R. Sitman
LVL 26

Assisted Solution

by:Sekar Chinnakannu
Sekar Chinnakannu earned 1000 total points
ID: 40275361
no it wont cause the issue in disconnects. May be users opened multiple sessions and they close only few session and few they wont close cause the issue.  Also can you please explain question with more detail.
LVL 23

Expert Comment

ID: 40275544
What could happen (but then your users would be complaining) is that their sessions gets interrupted hence giving you the disconnected sessions.
Also, is your question that you would like the sessions to be logged off properly or quicker or do you want to know why the users have disconnected sessions??
And what are you publishing, a desktop or applications? If you are publishing an application it is quite commonly that these sessions (because you actually do setup a session) aren't logged off properly due top processes still running in the background that Citrix doesn't notice.
LVL 26

Accepted Solution

Tony J earned 1000 total points
ID: 40275593
You say this is a new server and that you have users well educated which suggests that you have other servers that are not exhibiting the same thing?

You don't mention versions which would really be helpful as it gives us something to go on. Is this XenApp, XenDesktop? 6.x. 7.x, 5,x?

Anyway - it may well be that the existing servers were tuned but the new one wasn't which tends to be the case I come across in these kind of scenarios.

Firstly I recommend a read of this: http://blogs.citrix.com/2014/01/02/new-citrix-best-practices/ as it will debunk a few common misconceptions;

Follow it with the Citrix XenApp and XenDesktop best practices guide: http://support.citrix.com/article/CTX132799

And finally, although it's a bit out of date now, this best practices guide from VMware is also worth a read: http://www.vmware.com/files/pdf/solutions/vmware-citrix-xenapp-best-practices-EN.pdf

With regards to the XenApp & XenDesktop best practices guide, I prefer - where possible - to configure the settings via GPO using GPP as it makes it much simpler to back the changes out. But in the first instance, I'd check and compare with your existing server(s) to see which, if any, of the settings have been configured. Generally the network reliability options make a tremendous difference to reducing disconnects.
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.


Author Comment

by:J.R. Sitman
ID: 40276262
The users aren't complaining because if they get disconnected they'll just log back on.  However, I don't know if something is disconnecting them.  Which I think is the case.  It could be the users are disconnecting incorrectly, but it just seems odd the increase of disconnects on the new server.

It would be great to have the users logged off properly and it would also be nice to know why there are disconnected sessions.

I'm publishing a desktop.

@Tony1044, it is Xenapp 6.5.  I do see some disconnects on the older server, but I'm seeing a lot on the new server.  
I will read the articles.
LVL 13

Expert Comment

by:Mark Galvin
ID: 40278439
When you say 'It would be great to have the users logged off properly ' - are the users logging off and the sessions being left by the server in a discounnted state. OR are the users being disconnected without logging off?

I have seen this before when using 2 phyiscal and 1 VM XenApp 6.5 server. The issue in my case as a badly configured VM Network and this was causing the drops.

Author Comment

by:J.R. Sitman
ID: 40278900
I don't know if the users are being disconnected.  That is the reason for my post, to see if it is something configured incorrectly.  I have had time to read the best practices.  I'll get to it this weekend.

Author Closing Comment

by:J.R. Sitman
ID: 40295491
Multiple user sessions was part of the problem.  Also the best practices, were helpful.


Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Citrix XenDesktop 7.6 Citrix Policies Graphics
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question