[THIN] Re: Citrix is slow loading Desktop

  • From: "Ryan Lambert" <rlambert@xxxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Tue, 29 Apr 2003 16:51:21 -0400

Doug,

You can put Windows 2000 into verbose mode to debug log on / log off
events by doing the following.

Go to...

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Sy
stem subkey. Add a new value entry called VerboseStatus, of type
REG_DWORD, with a value of 1.

HKEY_LOCAL_MACHINE\SOFTWARE \Microsoft\Windows
NT\CurrentVersion\Winlogon subkey. Add a new value entry called
UserEnvDebugLevel of type REG_DWORD, and give the entry a value of
10002.

This will generate a userenv.log in %systemroot%\Debug\UserMode. Sifting
through the mass of junk in it, I was looking at timestamps for
everything. I noticed that the logonck.exe program, which is executed
just before net.exe (which will fully put you into your desktop) was
hanging for about the same amount of time the Desktop was a blank, blue
screen. Offhand I wasn't sure, but doing a quick search produced some
results that logonck.exe belonged to a program called ServerBoss, which
regulates the amount of logins a particular user can have on any
monitored server. (http://www.serverboss.com/)

There is an option within ServerBoss to run it in debugging mode, which
will display a realtime display of the steps it is taking to log you on.
During the debugging within ServerBoss, we were able to find an error
that it could not locate one of the servers. So we removed ServerBoss
from the server, and it no longer hangs for user logins.

Hope that clears it up some.

-----Original Message-----
From: Stratton, Doug MSER:EX [mailto:Doug.M.Stratton@xxxxxxxxxxxxxxx]=20
Sent: Tuesday, April 29, 2003 4:36 PM
To: 'thin@xxxxxxxxxxxxx'
Subject: [THIN] Re: Citrix is slow loading Desktop


I have a question or two.

I understand what you did to enable verbose logging but
What do you mean by "pinpoint logonck.exe (the hanging process) as
ServerBoss"
        logonck.exe was running (what is that)
        it was where the delays were occurring?
        what is Serverboss
What do you mean "putting it in debug mode"  what is it?
How did you put it in debug mode.

Thanks

-----Original Message-----
From: Ryan Lambert [mailto:rlambert@xxxxxxxxxxxxxxx]=20
Sent: Tue, April 29, 03 1:34 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Citrix is slow loading Desktop



FYI,

Fixed it by enabling verbose logging for logon/log off events in the
registry.

Output was...

USERENV(bf8.cd0) 16:02:56:781 LibMain: Process Name:
M:\WINNT\System32\logonck.exe

USERENV(c38.c30) 16:03:24:890 LibMain: Process Name:
M:\WINNT\system32\net.exe

We were able to pinpoint logonck.exe (the hanging process) as
ServerBoss,
and after putting it in debug mode we realized that - Whoops, we'd taken
down a Citrix Server and it was hanging on it trying to locate sessions.

Thanks for your help,
Ryan



-----Original Message-----
From: Ryan Lambert=3D20
Sent: Tuesday, April 29, 2003 3:40 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Citrix is slow loading Desktop


Ron,

Thanks for your reply.

I tried each of these options, and none of them produced a different
result.
I also uninstalled MS Hotfix 329170 to see if perhaps it was having
problems
loading/unloading roaming profiles. That didn't seem to work, either...
but
I suppose that would also affect RDP connections.

At this point I'm at a loss.

-----Original Message-----
From: Ron Oglesby [mailto:roglesby@xxxxxxxxxxxx]=3D3D20
Sent: Tuesday, April 29, 2003 2:05 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Citrix is slow loading Desktop


Start disabling client devices and options one at a time.

Start with printers, then move onto disk drives, com/lpt ports, etc.

Also try disabling the client time zone mapping etc.

after each change login with an effected user from an effected
workstation
and see what gives.

Also make sure your even viewer logs are client. No cltmgr errors, not
license errors etc.

Ron Oglesby
Senior Technical Architect
=3D3D3D20
RapidApp
Office 312.372.7188
Mobile 815.325.7618
email roglesby@xxxxxxxxxxxx
=3D3D3D20

-----Original Message-----
From: Ryan Lambert [mailto:rlambert@xxxxxxxxxxxxxxx]=3D3D3D20
Sent: Tuesday, April 29, 2003 12:08 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Citrix is slow loading Desktop

Recently, we have noticed severe degradation when logging in to Citrix
via
the network. Whenever a user logs in, it takes about 15-20 seconds for
the
Desktop to actually load. This happens on both Wyse Winterms and PCs
with
the newest ICA Client. We are currently running MetaFrame XP 1.0 FR2
w/SP2.
We run login scripts/roaming profiles, etc. off of a central server. In
addition to having restarted the main Citrix Server and the central
server
where profiles/farm database, etc. are stored... this is what we have
tried
so far:

=3D3D3D20

-          Removing login scripts/profile directories from profile

-          Disabling AntiVirus

-          Stop Spooler Service and log on

-          Check hard disk space / fragmentation

-          Check CPU usage /  Mem. usage

-          Empty all .dmp files from user profiles / hard disk

-          Clear Temporary Internet File cache(s)

-          Check network latency / packet loss

-          Verified Load Balancing is working

-          Reindex Database / Optimize

-          Check inbound/outbound traffic logs to rule out
DDoS/Compromise.

=3D3D3D20

Also note, that when logging into these machines over the network via
RDP,
the login time is near instantaneous... so it appears to be an issue
directly related to Citrix. Interestingly enough, the Master browser
locked
up a few days ago, and I believe this is around when the issues began...
but
I cannot seem to pinpoint any problems in the Windows 2000 Event Logs,
or
within Metaframe itself.

=3D3D3D20

Does anyone have any suggestions as to tracking this down?

=3D3D3D20

TIA,

Ryan

=3D3D3D20


********************************************************
This Week's Sponsor - Emergent Online
EOL's Universal Printer new Features include:
Network Printing, Pagestreaming, 2400 DPI.
No Client Software Required!
http://www.go-eol.com/
**********************************************************

For Archives, to Unsubscribe, Subscribe or=3D3D3D20
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm
********************************************************
This Week's Sponsor - Emergent Online
EOL's Universal Printer new Features include:
Network Printing, Pagestreaming, 2400 DPI.
No Client Software Required!
http://www.go-eol.com/
**********************************************************

For Archives, to Unsubscribe, Subscribe or=3D3D20
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm
********************************************************
This Week's Sponsor - Emergent Online
EOL's Universal Printer new Features include:
Network Printing, Pagestreaming, 2400 DPI.
No Client Software Required!
http://www.go-eol.com/
**********************************************************

For Archives, to Unsubscribe, Subscribe or=3D20
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm
********************************************************
This Week's Sponsor - Emergent Online
EOL's Universal Printer new Features include:
Network Printing, Pagestreaming, 2400 DPI.
No Client Software Required!
http://www.go-eol.com/
**********************************************************

For Archives, to Unsubscribe, Subscribe or=20
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm
********************************************************
This Week's Sponsor - Emergent Online
EOL's Universal Printer new Features include:
Network Printing, Pagestreaming, 2400 DPI.
No Client Software Required!
http://www.go-eol.com/
**********************************************************

For Archives, to Unsubscribe, Subscribe or=20
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm
********************************************************
This Week's Sponsor - Emergent Online
EOL's Universal Printer new Features include:
Network Printing, Pagestreaming, 2400 DPI.
No Client Software Required!
http://www.go-eol.com/
**********************************************************

For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

Other related posts: