Citrix sessions getting disconnected much more frequently

Posted on 2014-08-20
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:jrsitman
    LVL 24

    Assisted Solution

    by:Sekar Chinnakannu
    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

    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 25

    Accepted Solution

    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: as it will debunk a few common misconceptions;

    Follow it with the Citrix XenApp and XenDesktop best practices guide:

    And finally, although it's a bit out of date now, this best practices guide from VMware is also worth a read:

    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.

    Author Comment

    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
    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

    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

    Multiple user sessions was part of the problem.  Also the best practices, were helpful.


    Featured Post

    NetScaler Deployment Guides and Resources

    Citrix NetScaler is certified to support many of the most commonly deployed enterprise applications. Deployment guides provide in-depth recommendations on configuring NetScaler to meet specific application requirements.

    Join & Write a Comment

    Suggested Solutions

    #Citrix #XenApp #Citrix XenApp #Citrix Concurrent License #Citrix Licensing #Citrix Policies
    Citrix XenDesktop 7.6 Citrix Policies Disable Peripherals
    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…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    754 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

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now