Throttle processes per user in Citrix

Posted on 2012-09-19
Last Modified: 2012-10-05
Is there a way to encapsulate the processes per user?  Some users opening a large document and bogging down the whole Citrix server with all other users.  What’s the ideas to prevent this in Citrix?
Question by:Tiras25
    LVL 19

    Assisted Solution

    If you're using edgesight or report center, then you can extract server process report. Which shows average memory/process used by user on that server. There are many such reports, using which you can find the data.
    LVL 23

    Assisted Solution

    by:Ayman Bakr
    You can set a load evaluator and add users per server to limit the number of users connecting to one server. So if the load of servers, for example, jump suddenly with the 21st user then limit the number to 20.

    You can also use a third-party tool for applying CPU quota to your users like the free ThreadMaster:

    They say on their site it is developed for Windows 2000 & 2003; so I don't know if it works for 2008.
    LVL 17

    Author Comment

    The load evaluator.  Is it part of Citrix or a 3rd party tool?  Is it free?
    LVL 23

    Assisted Solution

    by:Ayman Bakr
    It is very much part of XenApp!!!

    You will find it in your App Center.
    LVL 23

    Accepted Solution

    A lot depends on the version of Citrix you are using.  The older versions don't support any real throttling directly, the new versions have cpu throttling built in.  

    A Load Evaluator is a rule in your Citrix environment that assigns a "load value" to each session/application/etc.  The value is calculated value based on parameters you assign, and it ranges from 100-10000 (you can get 20000 or 30000 but those are problem specific).  When a session is established The Load Value is used to determine which machine is the least busy to assign the user to.      

    I forget exactly when it was added but I believe it was PS 4.5 or XA 5. brought in CPU scheduling technology that Citrix purchased from Aurema Technologies.  That is independent of a Load Evaluator.  Effectively it takes your CPU time and divides the time up in "shares" and it spreads the shares out amongst the sessions.  

    With XA 6 & 6.5, you have the option of the Citrix throttling, or the Windows Server has built in scheduling throttling (called Fair Share scheduling if I remember right), but you have to pick either or.. do not do both.

    Since you are describing a specific process bogging down the entire system, you will want to look at the Citrix scheduling.  I would also spend some time with perfmon and process explorer to look at what the process is *actually* doing, and see what is really bogging it down.   Is it *really* the CPU? or is it disk activity, maybe RAM?   Get a good diagnosis before you run too far down the rabbit hole.  


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Citrix XenDesktop, gold image, VMware, vSphere.
    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…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

    733 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

    24 Experts available now in Live!

    Get 1:1 Help Now