[THIN] Re: PS4.0 session freezes

  • From: Andy Friar <Andy.Friar@xxxxxxxxxxx>
  • To: "thin@xxxxxxxxxxxxx" <thin@xxxxxxxxxxxxx>
  • Date: Sat, 15 Jan 2011 08:33:32 +0000

Something we do on reboot

@Echo off
set SearchDir="C:\ProgramData\Microsoft\Group Policy\History"
set tempdir=%TEMP%
set tempfile=%tempdir%\GPOHistory.txt

cd %SearchDir%

dir %SearchDir% /b /ad > %tempfile%

for /F "tokens=*" %%i in (%tempfile%) do rd /S /Q "%%i"

Rgds

Andy


From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of 
Matt Kosht
Sent: 14 January 2011 17:37
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: PS4.0 session freezes


After much delay it was discovered that Client Side Preferences (CSP)  history 
had reached such a size as to impact performance in a large way.  Issue was 
isolated to winlogon.exe take 1 core or more to 100% util.  MS had us apply 
http://support.microsoft.com/kb/974266 which didn't seem to fix the issue 
(moves CSP processing to background vs. foreground). Further digging found that 
winlogon.exe was very busy enumerating C:\Documents and Settings\All 
Users\Application Data\Microsoft\Group Policy\History\ folder contents.  
Affected servers had 5,000 to 6,000 folders and 2,000 to 3,000 files that got 
accessed everytime a refresh happened.  Simply renaming the history folder 
forced it to rebuild to less than 200 files and 500 folders. This resolved the 
issue and from posts I have seen cleaning up this folder on a schedule is the 
long term fix to this as it will only balloon again over time.

-Matt
On Mon, Dec 13, 2010 at 4:23 PM, Matt Kosht 
<matt.kosht@xxxxxxxxx<mailto:matt.kosht@xxxxxxxxx>> wrote:
Yes quite certain. Especially when you consider I get the issue with a LAN 
attached client.
I did run across this KB http://support.microsoft.com/kb/324446 and I did 
confirm I can get the issue in RDP as well as ICA sessions.  The term servers 
use a file server to store redirected My Docs, roaming profiles, and Desktop. 
The issue was noticed after we added redirected Desktops. My unproven hunch is 
our file server is what is causing the freeze ups and hopefully making the 
lanmanserver changes recommended in the KB article on our term and file servers 
resolve the issue.


On Mon, Dec 13, 2010 at 3:14 PM, Pat Coughlin 
<strangedog@xxxxxxxxx<mailto:strangedog@xxxxxxxxx>> wrote:
Almost sounds like a network problem.  Do you have enough bandwidth to
support both the user traffic and what the applications are consuming?

Pat Coughlin
Citrix Goon

On 12/13/10, Matt Kosht <matt.kosht@xxxxxxxxx<mailto:matt.kosht@xxxxxxxxx>> 
wrote:
> I have an older farm that under load will exhibit an issue of the Citrix ICA
> session not accepting input and not changing the display save for the mouse
> moving. This seems to happen on different servers (physical and virtual
> ones), LAN or WAN attached clients, and doesn't seem to be related to the
> performance of the Citrix server itself (disk/cpu/net seem fine from perf
> metrics) I look at).  There are no events in the event log that give me much
> to go on either. Any suggestions on where to look for a root cause to this
> issue?
> -Matt
>
************************************************
For Archives, RSS, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
//www.freelists.org/list/thin
Follow ThinList on Twitter
http://twitter.com/thinlist
************************************************


Other related posts: