[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now


Citrix server can't take it for 30 minutes it after a BSOD

Posted on 2011-09-19
Medium Priority
Last Modified: 2013-11-21
We have a Citrix 4.5 farm with over a dozen Win 2003 x64 servers with 12Gb of ram, each with dual quadcore xeon 3Ghz
It doesnt happen often, but each we have a BSOD on one of them during office hours we seem to face the same problem each time.

By the time the 50 to 60 users who were on that server, realize their session is gone (5 minutes or so) they try to start their applications again. Ofcourse by that time the crashed server has booted up already and accepting new connections.
The citrix loadbalancer then sends all these users which dont have a session yet, to that one server which is empty. (or still with less resources in use in comparison to the others in the farm)
And this one citrix server, freshly booted gets all these new users all at once, and he cant take it anymore for 20-30 minutes.
End-users think something is wrong on their end, click the application again. The first session isnt known yet in the sessions list, so gets another session, again on that one server which already busy enough, making it worse.

It helps putting that one server 'offline' in the farm, but I have to be fast doing that and most of the times I realize what happened it's already (or near) up to speed again.

Any suggestions how to best deal with this?
Question by:warddhooghe
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 26

Expert Comment

by:Tony J
ID: 36565652
Well I'd be looking into why they BSoD of course - chances are, given it's x64 it'll be a driver. Most likely a printer driver.

But why not apply a startup script via GPO to run a simple .cmd file to disable logins?

In the .cmd file, add the following:

@echo off
change logon /disable

That way, on restart, the server will automagically disallow user logons.

Author Comment

ID: 36566085
thanks for your suggestion, but that would not work out well with our weekly reboots
LVL 26

Assisted Solution

by:Tony J
Tony J earned 1000 total points
ID: 36566098
Well it could be made to:

Get hold of sleep.exe and change it to:

@echo off
change logon /disable
sleep 15
change logon /enable

That way, it would give you however long you require to remediate things, whilst on an automated reboot, automatically allowing logons again after xx minutes.

You'd need to examine the sleep.exe parameters for the exact times you required.

Author Comment

ID: 36566137
fyi: we take good care of driver and firmware updates and only use the Citrix printer drivers to avoid these kind of problems.
The reboots arent always due to BSOD. Yesterdays for example, was due to power distribution problems.
LVL 15

Accepted Solution

joharder earned 1000 total points
ID: 36567125
Be sure to incorporate the load throttling rule within the load evaluator that's applied to your servers.  Load throttling causes each logon to intentionally artificially inflate the impact of multiple user logons so that a new server brought into service doesn't bear the load of all the new connections.  When you do add this rule, the default setting is high, but in your case, you may wish to set to very high.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
Citrix XenDesktop 7.6 Citrix Policies Graphics
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

649 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