Re: service soemtime will get slower -- what to watch



Hi,

How many open connections there are?
I bet that after a couple of days you have a BIG number of connections open
and that is the problem you are seeing.

Can you use a poll method instead? The client connect to the server in
regular intervals and send/receive messages?
What about using UDP?
IIRC all the IM systems use UDP for this same reason

--
Ignacio Machin
http://www.laceupsolutions.com
Mobile & warehouse Solutions.
"Ryan Liu" <rliu@xxxxxxxxxxxxx> wrote in message
news:Oz3tQ1PSIHA.5976@xxxxxxxxxxxxxxxxxxxxxxx

"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@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

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.




.



Relevant Pages

  • Re: Network intermittently dropping the connection to shared files on server
    ... what we were using with our SBS2000 server with no problems. ... It's a small Server plus 4 Client W/S set up in one office. ... All users that have current connections to the shared files are ... We have a small network < 5 clients connected to a new Dell ...
    (microsoft.public.windows.server.sbs)
  • Re: TCP server stop receiving new connections
    ... reset the event mask of your listening socket each time you ... I have a strange problem in my class library used by all our client ... server applications. ... incomming connections, but keeps current connections. ...
    (microsoft.public.win32.programmer.networks)
  • Re: RTC remoting > Explained in 11 minutes
    ... transport components for connections between clients and servers. ... server response but also server request (to client) -> client response) ... handed off to the different attached plugin command handlers which have ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Network intermittently dropping the connection to shared files on server
    ... ISA Server detected routes through adapter Loopback that do not correlate ... It's a small Server plus 4 Client W/S set up in one office. ... All users that have current connections to the shared files are ... We have a small network < 5 clients connected to a new Dell ...
    (microsoft.public.windows.server.sbs)
  • Re: Network load balancing problem
    ... When affinity is set to Single, NLB uses the client IP address only to ... determine which server will accept the connection. ... connections from a given client IP address will always go to the same ...
    (microsoft.public.win2000.advanced_server)