I've seen the same problem with one of our customers. I found out it was related to the background policy update procedure in Windows. When I executed gpudate the Terminal Servers froze immediately. The workaround was to disable background updating of policies. Unfortenately I didn't find a more constructive solution.
Hope this helps.
Hi,
Are you running UPHClean? Also, have you tried disabling your antivirus software to see if it makes a difference?
Mike Smith: Hi, Are you running UPHClean? Also, have you tried disabling your antivirus software to see if it makes a difference?
Yeah this client is running UPHClean. I think we've tried almost everything, including disabling anti-virus.
The freezes happend quite regularly, but not with a fixed interval. This is also common for background group policy updates, they happen in a set interval with a random offset. Combining this knowledge with the output from filemon, where writes to the registry files were shown at about the same time of the freeze, led me to beleive that the group policy update proces had something to do with it. I was able to verify this by running gpupdate manually and see if the Terminal Server froze or not. It did.
Disabling background group policy processing on the Terminal Servers was a workaround our client could live with, because they do not change policies very often and are migrating to Windows 2008 very soon.
It sounds like you need to do some SMB tuning. The easy way is to use the Total Control Templates (TCT) from Login Consultants (you need to register in order to download):
http://www.loginconsultants.com/index.php?option=com_docman&task=cat_view&gid=20&Itemid=149
For background information, have a look at these articles:
http://www.brianmadden.com/blogs/guestbloggers/archive/2007/02/19/updated-lanmanserver-and-lanmanworkstation-tuning.aspx
http://www.loginconsultants.com/index.php?option=com_content&task=view&id=121&Itemid=107
And review this post for some good information too:
http://www.brianmadden.com/forums/t/18432.aspx
Alan Osborne
President (MCSE, CCNA, VCP, CCA)
VCIT Consulting - Citrix/Terminal Services Remote Desktop Solutions for SMB
VCIT website My Blog
Hi Alan,
Thanks for replying. As it was some time ago that I encountered the problem at hand, unfortunately I can't remember specifics. What I do know is that at first we thought it had something to do with SMB performance. I've read the article on brianmadden.com before and I think it's very useful. So we applied the theory mentioned by measuring the applicable performance counters, such as server work items. After analysing the results we're led to believe the problem had nothing to do with SMB performance, because the counters did not show any values to suspect problems in the SMB area.
Thererfore we searched further and came to the apparent relation with the group policy update process.
Why do you think the group policy update process relates to a problem with SMB performance, e.g. why do you think SMB tuning will help solve the specific problem mentioned with gpupdate? I'm curious, because I fail to see the relation (in this case) and it could be important for solving this problem.
Kind regards,
Lex de Visser
Actually, it wasn't me that suggested a GP issue - someone else.
Have you looked at Disk Queue and Processor Queue length counters in perfmon yet? What about paging counters?
A RAID controller with WB caching is ALWAYS preferred. If you identify the disk sub-system as the bottleneck, you might want to consider getting a new disk controller (if possible).
I just noticed that the log dump you provided is strange. All of the "WriteFile C:\Documents and Settings\NetworkService\NTUSER.DAT" operations are for the NetworkService profile. I wonder if some service that runs under that account is causing the problem. Another possibility is that the user hive for that account is corrupt or AV software is interfering.