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

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1928
  • Last Modified:

Throttle processes per user in Citrix

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?
4 Solutions
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.
Ayman BakrSenior ConsultantCommented:
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.
Tiras25Author Commented:
The load evaluator.  Is it part of Citrix or a 3rd party tool?  Is it free?
Ayman BakrSenior ConsultantCommented:
It is very much part of XenApp!!!

You will find it in your App Center.
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now