Error: The Citrix MetaFrame server is not available, please try again later

Citrix states in their article: CTX108553

Document ID: CTX108553, Created on: Jan 3, 2006, Updated: Apr 26, 2006

Products: Citrix Presentation Server 4.0 for Microsoft Windows 2000, Citrix Presentation Server 4.0 for Microsoft Windows 2003, Citrix MetaFrame XP 1.0 for Microsoft Windows 2000, Citrix MetaFrame XP 1.0 for Microsoft Windows 2003, Citrix MetaFrame Presentation Server 3.0 for Microsoft Windows 2000, Citrix MetaFrame Presentation Server 3.0 for Microsoft Windows 2003

Environment

• Citrix Presentation Server 4.0

• Windows 2000 or Windows 2003

Symptoms

When a user attempts to connection to a Citrix Presentation Server they receive the below error message:

“Cannot connect to the Citrix MetaFrame server. The Citrix MetaFrame server is not available, please try again later.”

Additional symptoms may include:

1. The following error in the server’s system event log:

Source: SRV
Type: Error
Event ID: 2020
Description:
The server was unable to allocate from the system paged pool because the pool was empty.

2. Users may receive the following error message when trying to log on through an ICA or RDP session:

“Windows cannot log you on because the profile cannot be loaded. Contact your network administrator

DETAIL – Insufficient system resources exist to complete the requested service.”

This error can be caused for a variety of reasons; the best way to identify whether the problem is the exact issue described by this document is to perform a CDF trace on the MF_Driver_Wdica module.

You will need to perform the below steps in order to use CDF tracing to identify this issue:

1. Start CDF trace on MF_Driver_Wdica.

2. Attempt to connect to the problem server through ICA, confirm that the error above occurs.

3. Stop the CDF trace.

4. Open and analyze the CDF trace, if the below trace message is found, the problem is the same problem described in this document:

wdica ChangeOutputSystemToReducer: Couldnt allocate 393744 bytes - status c0000017

Cause

This is due to a failure of Wdica.sys, the driver responsible for communication between a Citrix Presentation Server and an ICA client, when it attempts to allocate memory for the buffers used in compression.

Starting with the release of Citrix Presentation Server 4.0, Wdica.sys allocates from the system’s paged pool. This has shown to increase single server scalability, and in most cases it will, as Wdica.sys was previously allocating from an area known as the non-paged pool, which has a smaller maximum size than the paged pool. The maximum size of each pool is shown in the table below.

Operating System

Maximum Non-Paged Pool Size

Maximum

Paged

Pool Size

Windows 2000

256 MB

491.875 MB

Windows 2003

256 MB

650 MB

Windows 2003 64-bit

128 GB

128 GB

Resolution

There are two possible causes for this problem:

• An improperly sized maximum paged pool

• A memory leak or other high paged pool memory consumption by a problematic application

In many cases, the reason a machine runs out of paged pool memory is that the system is not configured to use the maximum available paged pool size. The maximum paged pool size is calculated at boot and cannot be recalculated without rebooting the system. This problem occurs more frequently on a Windows 2000 Terminal server because Windows 2000 holds every loaded registry hive (including user profile hives) in paged pool memory. This means that with each additional user who logs on to the Windows 2000 Terminal server, the available paged pool memory is decreased not only by the amount used by the launched application, but also by the size of the user’s profile registry hives. In Windows 2003 the Configuration Manager (registry) does not use paged pool to load the user profiles, but instead only consumes memory for the hives being used at any one time.

See the below Microsoft article to maximize the available paged pool memory:

Server is unable to allocate memory from the system paged pool

It is important to note that by maximizing paged pool memory, you are decreasing the amount of another resource, system PTEs, so it is better to take a more scientific approach to setting the size of the system’s paged pool memory. The below Microsoft document explains this in detail:

How to Configure the Paged Address Pool and System Page Table Entry Memory Areas

Note that the Microsoft document above references attaching a kernel debugger to the machine. You can bypass this step by substituting the LiveKd utility from Sysinternals. You can run this utility live on the server console without modifying or hooking a kernel debugger to the target computer’s serial port and halting normal operation of the server. You need to launch a new instance of LiveKd each time you want to see an updated snap shot of kernel memory usage.

It is also important that the possibility of a problematic application consuming memory without ever releasing it properly (memory leak) is ruled out.

You can use poolmon.exe to view current paged pool consumption:

How to Use Memory Pool Monitor (Poolmon.exe) to Troubleshoot Kernel Mode Memory Leaks

To identify which component is consuming memory reference the following Microsoft document:

How to Find Pool Tags That Are Used By Third-Party Drivers

More Information:

For information on how to collect a CDF trace, see:

CTX104578 - Using Citrix Diagnostic Facility and the Access Suite Console for Tracing

CTX108380 - How to Make a Real Time CDF Trace Using the CDF Viewer (CdfView.exe)

For information on how to analyze a CDF trace, see:

CTX106233 - Common Diagnostics Facility Viewer (CDF Viewer)

For information on how to use Sysinternals’ LiveKd utility:

Sysinternals' LiveKd

You may also see the above error on MetaFrame XP if you applied the following hotfixes:

• Hotfix XE104R01W2K010 - For MetaFrame XP 1.0 for Windows 2000 Server

• Hotfix XE104R01W2K3012 - For MetaFrame XP 1.0 for Windows Server 2003

And has been corrected with the below hotfixes:

• Hotfix XE104R02W2K3011 - For MetaFrame XP 1.0 for Windows Server 2003

• Hotfix XE104R02W2K011 - For MetaFrame XP 1.0 for Windows 2000 Server

As well as MetaFrame Presentation Server 3.0 if you applied the following
hotfixes:

• Hotfix Rollup Pack MPSE300W2KR04 - For Metaframe Presentation Server 3.0 for Windows 2000 Server

• Hotfix Rollup Pack MPSE300W2K3R04 - For Metaframe Presentation Server 3.0 for Windows Server 2003

And has been corrected with the below hotfixes:

• Hotfix MPSE300R04W2K3030 - For Metaframe Presentation Server 3.0 for Windows Server 2003

• Hotfix MPSE300R04W2K026 - For Metaframe Presentation Server 3.0 for Windows 2000 Server



Primary links

Custom Search

Who's new

  • Rullydery
  • eagenorce
  • rittaarier
  • swasseZex
  • gaterfoko

Who's online

There are currently 0 users and 4 guests online.

KrissysCorner.com RuthSwensonLaw.com CreativeLizardProductions.com

DISCLAIMER:

None of this has anything to do with us, someone else is responsible for the entire thing, and we have no idea who or why. We do not know anything about it. It may be alien life forms for all we know: we haven't a clue. You cannot blame us for anything that may result from your visit. That was entirely your own personal choice, made by you of your own volition, and without our knowledge. We do not, after all, have any control over you and cannot by any stretch of the imagination be expected to accept or acknowledge, be it legally or morally, any accountability for decisions made by you on an independent basis, utilizing your own free will, and without our intervention. We are therefore in no way, shape, or form answerable to anyone for any consequences arising from the aforementioned or indeed any other actions, similar or otherwise, because it was not us that did, or did not do anything. It is not even remotely our fault, and we are in no way prepared or willing to accept any liability, not even slightly, ever. We are, in fact completely and utterly blameless, in that it is definitely not our concern, and no blame can possibly be laid at our doorstep, even if we had one, the possession of which we hereby reserve as being entirely our own free choice. The onus is not on us at all, and furthermore, never has been. The entire matter is wholly beyond our control, and completely out of our hands, each of which are washed scrupulously clean of the whole business. We are not accountable for anything at all, and we hereby categorically deny all responsibility for all that has ever, or will ever happen. Our innocence is therefore wholly beyond doubt and absolutely unimpeachable, and so cannot, under even the remotest or unlikeliest circumstances, be brought into question. By clicking either on a link on this site, clicking on a link that leads to this site, or by arriving at this site by natural or supernatural means, you are in effect accepting responsibility for the fact that it is all entirely your own fault, down to the most miniscule detail, and that you are wholly accountable for whatever outcome may arise as a consequence of the aforementioned action or actions insofar as they were undertaken personally by you on an entirely voluntary basis and without any persuasion, coercion or influence from any party or parties other than yourself. Don't come sniveling to us, we are only figments of your imagination. I also agree that if I am ever with a contributor to this website during mealtimes I agree to pay for any super-sizing of their meal, or at least a nice dessert or one of those foo-foo drinks with an umbrella or a monkey. By admitting to have seen the worthless spineless drivel on this website (also known as content)

I Agree Wholeheartedly and Without Reservation to the above. (Except maybe for that part about the monkey.)

All Your Base Are Belong To Us.

Soylent Green Is People!

Never make a bet with a Sicilian when Death is on the Line!

No. Really, I do agree.