Slow performance on new server

Hi experts!!

First I'll comment what I've done. Them I'll say my problem...

We're installing a new terminal server appmode. Our box is a IBM x3200 (Xeon Duo 1,86GHz with 4GB ram) running Windows Server 2003 R2 with all updates....

The environment is this...
We have our main domain called MI and another forest and domain called MONTREAL. We installed the new TS server on MONTREAL domain... We have succesfully established the trust and it's working just fine...

The OLD terminal server is on the main domain (MI) and run Windows Server 2000 AppMode.

BOTH terminal servers have the same applications installed. These applications comunicate with a SQL server.

Now the problems...

When users connect to the old server in the old domain, after about 10 users, the server become to hang applications and become slow but the perfomance monitor show high cpu and memmory usage (the old server is a P4 with 2gb ram). So we asked for another server and got it... BUT...

Now when users logs to the new server... Loading the profile is good... But when they open that application, the server gets really slow and even drop some connections. The funny thing is that when this slow response started, I was logged on the server locally and even there was slow but I checked the task manager and it showed everything ok (memmory and processor not high).


I have read many things about printers and applied a registry tweak on all client machines that only map the default printer to the terminal session. Here is the key:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Terminal Server Client\Default\AddIns\RDPDR]
"RedirectDefaultPrinterOnly"=dword:00000001

This key is working. When the users logs, the only printer being mapped is the default one.



I need help identifying the problem... Some papers say it could be a bad driver... I double checked the firewall and the permissions are good.. Port 3389 is opend for all clients...

SQL server and both terminal server are on different subnets but they are flat to the firewall...
I think it's not problem of the SQL server because we have some users that use the same applications (installed on their machine instead) and they don't have speed issues...


Thanks in advance...

rafaelbnAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

bradleys40Commented:
what paging file have you set on the new server?
0
rafaelbnAuthor Commented:
New server: 2046-4092 (4gb installed ram)

Old server: 768-1536 (2gb installed ram)

Thanks bradleys40
0
bradleys40Commented:
You should set a static paging file of 4092rather than letting windows manage it.
i am not familiar with the IBM x3200 how are the disks configured
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

bradleys40Commented:
there is a site for enhancing performance on terminal server(thats assuming it is not a hardware problem) it is
http://support.microsoft.com/kb/555741
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rafaelbnAuthor Commented:
This new box have 2x160GB SAS at RAID1 config.

What values should I configure at initial and max amount of page file?
0
rafaelbnAuthor Commented:
bradleys40,

The thing is on the new server i'm just testing with 4 users and the server behaves strange...
Is like less users, more processor and ram and better OS = slow
And the old server is more users less ram and processor = fast (only gets slow when there are 15+ users working at the same time)
0
bradleys40Commented:
initial and max should be the same so windows does not have to calculate the paging file required(an un needed overhead) the max is 4095 unless you apply a fix from http://support.microsoft.com/?id=237740

you need to look at the users connection settings to ensure the graphics is set at 256 not 32 bit etc
read the article it will be usefull about configuring users to reduce overhead
are there local drive mappings?
0
Cláudio RodriguesFounder and CEOCommented:
Couple questions here:
1. What if you try to connect from a machine that is on the same LAN as the TS (new one)? Is is as slow?
2. What if you try running another application instead of this particular one (like Word, Excel, etc)?
3. Do you experience performance issues as administrator?


Claudio Rodrigues

Microsoft MVP
Windows Server - Terminal Services
0
rafaelbnAuthor Commented:
bradleys40,
Graphics are set to 16bit. Before I post here, It was 256 and had the same problem...

tsmvp,
In one of my tests before I post, one of our administrators was logged on as administrator at the local LAN. When I was testing with the remote users, the admin also noticed the slow down and after I disconnected the remote user, it came back to normal speed...

I can't try running another app because this server was bought for this thing only...
0
rafaelbnAuthor Commented:
OK guys....

Just came back from the remote site.

I'm testing there with 4 machines.
All of them are XP clients with all updates and logging to the MI (old domain).
In 1 machine I can log normally and work like lightining speed...
But the other 3 machines, no mather what user log's on and no matter what printer is installed, just after I open the application, everything gets slow.

Any ideas?
0
rafaelbnAuthor Commented:
Is that possible that these client machines could cause this kind of issue?
0
bradleys40Commented:
what you need to do is use perfmon on the server and the machines to identify whats going on and where.
0
bradleys40Commented:
in case you have not used perfmon there are several reference sites relating to using perfmon to find performance issues but heres an easy one to get started on
http://www.computerperformance.co.uk/HealthCheck/GettingStarted.htm
0
rafaelbnAuthor Commented:
bradleys40,

It can't be performance... As I said, just when I log with some client machines, I get poor experience...

I've done some tests and could not find the cause of this issue... But I'm almost sure that the problem is on the clients not on the server. That's why i'm asking what could mess up like these from the client perspective..

Thanks!
0
bradleys40Commented:
I did suggest perfmon on the server and the machines
0
rafaelbnAuthor Commented:
bradleys40,

I'll try perfmon on both... ASAP i'll post the results.

Thanks!
0
rafaelbnAuthor Commented:
OK guys...

I was able to isolate the problem. It's not the server... At least I think.
The problem is some kind of issue between Windows Server 2003 R2 and the client that connect to it.
I think it could be something with the printers...

Any ideas?
0
bradleys40Commented:
are they mapped to local printers?
http://technet2.microsoft.com/windowsserver/en/library/884f1b90-11f9-4a7a-a78a-ecc0ca964f8d1033.mspx?mfr=true

I was allways taught with citrix metaframe not to map local printers as the spooler created issues
see
http://www.tomshardware.co.uk/forum/172689-36-connecting-local-printer-terminal-session

2) redirection is attempted, but fails because the server doesn't  
have a driver for the printer
Solution: whatever you do, do not install a 3th party printer  
driver on the Terminal Server, unless it is a Windows Hardware  
Quality Labs (WHQL) signed driver. Many non-WHQL drivers are not  
TS-compatible, and some are known to crash your printer spooler or  
the whole server. In stead, map the printer to a native driver by  
creating a custom ntprintsubs.inf file, as described in KB article  
239088.  
 
0
rafaelbnAuthor Commented:
Bradleys40,

That's excatly my problem.
The thing is my company doesn't have a default printer (aka everytime they need a new printer, they bought the cheapest one at that time). And we don't have a print server (aka most of the printers are TCP or USB ports.)

So, I need help in manually configuring these printers on my server.
(by the way, I formatted the server and installed Windows Server 2003 STD SP2. I was having some problems with our application)

This is what i'm going to do.
All my TS users are separated. I unchecked that checkbox at the user object in AD (enviroment tab, Connect Client Printers at logon. That means every user that needs to print will need to talk to us before printing. Then I'll install (and configure) the correct driver and hopefully that will work fine.

Is that a good aproach?  
0
rafaelbnAuthor Commented:
Bradleys40,

Something funny is happening.
I did everything correct.
Downloaded a driver from HP specific to Windows Server 2003, installed it and on the client renamed the port to LPT03. And it worked! I was able to connect to the TS and the printer session created sucessfully. I also sended a print job from the client (while I was connected) and it printed fine!
BUT, just when I open the application, everyting fell apart...
I'll contact that application support right now and i'll post soon!

Thanks
0
rafaelbnAuthor Commented:
Well...

After extensive testing I was able to identify the problem. Firewall!
We have a Linux BOX between that office and the TS Server. The problem was there...
When I bypassed the firewall everything worked fine!

Thank you all very much for helping me on this!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server OS

From novice to tech pro — start learning today.