Solved

"The Citrix server has reached its concurrent application limit for this application" affecting one user

Posted on 2012-03-21
7
5,847 Views
Last Modified: 2012-03-26
Hi Guys,

I have an interesting issue where one user gets the "The Citrix server has reached its concurrent application...." when trying to run an application. The app published is a desktop and the screen goes black as if its going to start but then presents the error popup.

The environment I manage is running a 6 x server Citrix setup with the following:
1x - CAG
1x - Web Interface
1x - Data Collector
3x - XenApp Servers

We are running XenApp 6.5.

I have recreated a new profile (newuser1) for the user to get them going and this new profile is working OK.

I would like to however get to the bottom of it so I can prevent it from happening in future.

I have looked in the Event Viewer for the Web Interface and the Data Collector but can't find anything relating to this profile lets call it user1.

I tested profile "user1" on my own machine and could replicate the problem. I tested my own profile on the "user1"'s PC and it works OK so this leads me to believe its not an individual PC that's at fault.

When the "user1" signs on and the error message appears, I don't see "user1" even appear at all under the "Connected Users" for the application under the "Citrix App Center".

This is only affecting one user, and I have about 35 other users that are working OK.

Can anyone lead me in the right direction?

Cheers.
0
Comment
Question by:vasboz
  • 4
  • 3
7 Comments
 
LVL 23

Expert Comment

by:Ayman Bakr
Comment Utility
Most probably you have set limits on the number of instances that a user can start for the published desktop.

This message clearly indicates that the user facing the issue has an instance already opened; but it doesn't show in the Citrix console because it is in the down state.

If you check the RDS management console you will be able to see that the user already has a session and perhaps one or more processes are already hanging for him (maybe TSTheme.exe). You need to kill these processes to force the logoff for the user.
0
 

Author Comment

by:vasboz
Comment Utility
Hi Mutawadi,

Yes there are limits set, this is "Allow only one instance of application for each user" which is OK and what we prefer.

Looking under the Citrix App Center however I cannot see any disconnected, or connected sessions under the Session State column relating to "User1".

Looking under the RDS Manager within "Sessions" I can also not locate "User1".

Also, looking in the Task Manager for each of the servers I can't see any rogue processes hung belonging to "User1".
0
 
LVL 23

Accepted Solution

by:
Ayman Bakr earned 500 total points
Comment Utility
What about if the user 'user1' starts any other application - say publish notepad. Does it launch?

If that launches, but the intended application doesn't; then there is no doubt that the process is hanging and somehow is hidden that it is not apparent in any console.

I have faced several users who have one of their applications' process hanging on several servers (despite the fact that we have set the limit to one instance because they click several times on the icon before the application start on any one of the servers). Even after terminating the application and logging the user off from all the servers from the AppCenter the application refuses to start - at which point I discovered that it is hanging on their Citrix plugin. The only way to stop it at that moment was to launch task manager on the client's PC and end the processes belonging to-  the Citrix plugin.

How often do you restart your servers? It looks like you don't do that practice. It is best practice to start doing it - at least such cases would be almost eliminated since any hanging process would die with the restart.
0
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

Author Comment

by:vasboz
Comment Utility
Hi Mutawadi,

Publishing notepad works -OK. I re-tested with the Smeg Desktop application and it is still appearing as though it launches, with the full screen black (seamless experience) and then shows the concurrent connection server error...

I have also experienced similar to what you've mentioned about users clicking on the icon several times.

I have scheduled in a restart for our servers outside of business hours which I'll perform in 5 hours time.

I do restart the servers but I only do that once every two weeks.

I will report back after that whether it is working.

My only issue with "restarting" the server, if this does fix the issue, is that it doesn't explain what caused the issue in order to mitigate this in future...


Also in response to the plugin being corrupt comment in your last post, I have tried "User1"'s profile from my machine with the same result, but using a different profile it works fine, eliminating the thought that its the plug-in that has crashed.
0
 
LVL 23

Expert Comment

by:Ayman Bakr
Comment Utility
I agree with you on all what you mentioned.

However, since notepad works fine; it is very clear that the issue is having the process of the application for that user hanging somewhere in the background - but the real issue is where to locate it?

I will be awaiting to see the results after restarting the servers.
0
 

Author Comment

by:vasboz
Comment Utility
Hi Mutawadi,

Following the restart, I can now confirm that the user account "User1" which had the fault is now working A-OK.

Seems the restart did it good.

Cheers.
0
 
LVL 23

Expert Comment

by:Ayman Bakr
Comment Utility
Happy to help ;)
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

772 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

14 Experts available now in Live!

Get 1:1 Help Now