Re: service soemtime will get slower -- what to watch
- From: "Ryan Liu" <rliu@xxxxxxxxxxxxx>
- Date: Fri, 28 Dec 2007 10:55:37 +0800
"Ignacio Machin ( .NET/ C# MVP )" <machin TA laceupsolutions.com> 写入消息 news:%23g%23KERMSIHA.5360@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
"Ryan Liu" <rliu@xxxxxxxxxxxxx> wrote in message news:OoKqNhJSIHA.5164@xxxxxxxxxxxxxxxxxxxxxxxHi,
I use C# wrote an Client/Server application. In production environment, will be 130 clients (Windows XP) connect to a Server (Windows 2000/2003 Server) thought TCP/IP socket in a local 100M LAN. "Server" is running as a Windows service. The is one thread running for one clinet in the server.
How you know how many clients are running at a given time?
Do you close your connections after you transfer data?
Sometime the user tells me the Sever will be slow after it runs for 1-2 days.
It sound like you are not closing the connections. Do a netstat -an and see how many open connections you have.
The connectoins will be closed probably at the end of day, when all the
operators go home. Otherwise, yes, they remain open since operators are
continously work on it. I am using a statefull connection.
Thanks,
--
Ignacio Machin
http://www.laceupsolutions.com
Mobile & warehouse Solutions.
.
- Follow-Ups:
- Re: service soemtime will get slower -- what to watch
- From: Ignacio Machin \( .NET/ C# MVP \)
- Re: service soemtime will get slower -- what to watch
- References:
- service soemtime will get slower -- what to watch
- From: Ryan Liu
- Re: service soemtime will get slower -- what to watch
- From: Ignacio Machin \( .NET/ C# MVP \)
- service soemtime will get slower -- what to watch
- Prev by Date: Re: Problem with CGI and .NET
- Next by Date: how can hide the form in the alt+tab tasklist
- Previous by thread: Re: service soemtime will get slower -- what to watch
- Next by thread: Re: service soemtime will get slower -- what to watch
- Index(es):
Relevant Pages
|