Solved

Certain users experiencing slow terminal services sessions

Posted on 2004-08-04
11
649 Views
Last Modified: 2013-11-21
Hi,

We have a Windows 2000 Sp4 terminal server (P4 Xeon 2.6Ghz, 2.5Gb ram, 3 x 36Gb SCSI RAID 5, 1 x 1Gb NIC) with around 30 users connecting in. The terminal server is behind and Windows 2003 / ISA 2000 Server Sp2 with the same spec and is connected to the internet with a 1Mb Down 256Kb Up cable broadband connection.

The only thing running on the terminal server is the front end to a financial services package and microsoft office xp.

Some of our users but not all, frequently have problems with their sessions locking up. The session will freeze for a while or go extremely slow and then may let them work as normal or disconnect them. Even with only maybe five people connected to the terminal server the same problem exists.

Sometimes when their remote session locks up, so does their local pc but this is not always the case.

All remote offices have new P4 pc's running Windows Xp Pro sp1 and have a minimum broadband spec of 512Kb down 256Kb up.

I have spent a lot of time trying to find the answer to this problem but I am getting no where. I have double-checked that the remote office broadband routers are functioning properly which they are and that there are no problems with their broadband lines. The telco's assure me everything is ok.

I would be very happy if anyone can help me with this problem.
0
Comment
Question by:rhedley
  • 4
  • 3
  • 2
  • +2
11 Comments
 
LVL 8

Assisted Solution

by:Jeff Rodgers
Jeff Rodgers earned 100 total points
Comment Utility
I would suspect that the problems could be stemming from Win2k SP4... I run a Citrix Metaframe farm on Win2k.  Whne we installed SP4, remote users started having issues with their connections timing out.

There are several things you can do involving your actual network connections and the registry which may help.

You might want to edit the registry and adjust the settings.  Check out this article, you might find some useful tidbits as to what to edit.

http://terminal.servebeer.com/php/flaky_connections.php

Good Luck
0
 

Expert Comment

by:drcoz
Comment Utility
First thing would be to diagnose if the slowiness is due to the network or to the server.
Your 256 KB upload bandwidth seems very low for more than 10 users (25 KB/ session is low but enought with TSC) and I believe this is where you problem is.  If someone is using a protocol like FTP, that will eat most of your bandwidth.  You could set up a traffic analyzer to see what is going on.
Also try to set up some performance counters on the server (maybe just CPU as your specs are high) to see if any process eats all the CPU's cycles (print job?).
0
 
LVL 9

Assisted Solution

by:jdeclue
jdeclue earned 200 total points
Comment Utility
drcoz, is correct. If you have 4 users connected, with an upstream of 256, that is 64 each and with overhead it will be less. Then you have to add all other connectivity. Are these people accessing file shares, Web etc through the same connection. If so you will most likely finad a conention issue. To determine this you could go to the terminal server and try something as simple as a continous ping to one of the workstations to see what the response is like. Additional you could sniff the network, and if you understand routers etc, or windows 2000 quality of service, you could give the RDP protocol a higher precendence.
0
 
LVL 2

Expert Comment

by:KJHDI12
Comment Utility

The users print to a local printer, right? Check if the slowdowns happen when someone prints something big and eats up all the bandwidth.
0
 

Author Comment

by:rhedley
Comment Utility
Hi,

Thank you all for your comments.

Jeff Rodgers - Thanks I have applied the registry hacks, I will wait and see if it has improved the situation.

drcoz & jdeeclue - I understand about the economics of bandwidth, the problem is getting the boss to pay for more bandwidth. Jumping from a broadband connection to something with a faster upstream is a big financial leap. I think it would be beneficial to reserve bandwidth using QoS for terminal services' rdp protocol. It's not something i've tried before, do you have any examples of how to set this up. Presumably QoS would be controlled by the ISA Server (Win 2003).

KJHDI12 - All users print to their own local printers through terminal services. We use a printing program called Tricerat Screwdrivers (Simplify Printing), which sends the data in a highly compressed format to the clients printer. Obviously as you say if someone prints then more bandwidth is used so that is something else to look at. I can control the amount of bandwidth used for printing on Screwdrivers so I will set it to a low amount.

Regards,

Robert
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 

Accepted Solution

by:
drcoz earned 200 total points
Comment Utility
Robert,
There is a good article to how to set up bandwidth on ISA server there: http://bandwidthcontroller.com/isa-traffic-shaping.html (some links to MS site too from there).
I understand the budget issue but that is probably where your bottleneck is.  Even if you manage your bandwidth, I think that will not be enough.  Another thing you could try would be to lower the bandwidth used by the remote clients (lower the settings, disable sound, enable bitmap caching...) in the remote desktop client properties.  If the remote users are in the same area that your office you might consider to make this server a RAS server and have them connected via dial-in.
good luck,
dr coz
0
 
LVL 9

Expert Comment

by:jdeclue
Comment Utility
The article that dr coz posted is nice and to the point. Setting the QOS should help tremendously, it may slow down a print job or browsing etc. but those slow downs are not nearly as noticable as the terminal server session. Give it a whirl!

J
0
 

Author Comment

by:rhedley
Comment Utility
Thanks I have added a bandwidth rule in for rdp set at a priority of 150.

I have put the rest of the traffic on at a priority of 50.

Is this the correct way to do this?

Regards,

Robert
0
 
LVL 9

Expert Comment

by:jdeclue
Comment Utility
That should do it. Do you have a way to test the connection as a user, from a remote location?

0
 

Author Comment

by:rhedley
Comment Utility
I'm in an another office testing it as we speak. It is very slow. There are 10 other people logged in. So with the other internet traffic to contend with it's going to crawl.

I think the problem is now going to be trying to get the bandwidth increased.

Many thanks for all your help.
0
 
LVL 9

Expert Comment

by:jdeclue
Comment Utility
I am going to assume the ISA server is set up at your office, so unless you can get QOS set up in the remote offices (so it can keep the inbound and outbound traffic off the link), it isn't going to help enough with that much traffic. If you have the ability to set QOS or protocol preference on the remote routers, you could try that as well. Sorry, I had hoped for better.

J
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Have you considered what group policies are backwards and forwards compatible? Windows Active Directory servers and clients use group policy templates to deploy sets of policies within your domain. But, there is a catch to deploying policies. The…
#Citrix #POC #XenDesktop #vCenter #VMware #ESX
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now