Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Feb : Thread or connection count problem for win.2003 server

www.cryer.info
Managed Newsgroup Archive

Thread or connection count problem for win.2003 server

Subject:Thread or connection count problem for win.2003 server
Posted by:"mustafa korkmaz" (sekendizpa..@yahoo.com)
Date:12 Feb 2007 01:51:15

I want to more clearly explain my problem again....
I developed online multi player game and chat server and client side program
in delphi 5 enterprise.I have used indy 9.0.14 components.
Server side programs runing on win.2003 server web edition.
Each server programs listening different port.
And each program accept only 900 connections.(restrictred from client side program)
So there are six server programs and three of them are running on different computer.
So there are two computers and three server programs run on each of them.
900*3=2700  so 2700 users are connected to first computer and 2700 users are connected to second
computer.
This system is working very well.

I want to run six program on one computer that has more strong hardware.
And I tried this on hp server computer that have 2 xeon processor(each of them is dual core 3 ghz), 2GB ram,
win.2003 server web edition(SP1 installed).So 2700+2700=5400 users have connected to this new computer in the same time.
But I meet big problem for me.
Because some times clients are being wait 5 seconds for receive other client's messages.
Some times client server communication has being freeze.
But after 5-6 seconds alot of messages have being come suddenly one by one.
I looked threads count from task manager. There was 6600 threads.
But cpu usage is only %40. And there was 1,3 Gb available ram.(of 2 GB)
And there was no any communication problems.(ping,remote desktop,...)

And I have tried to run only three program instead of six program.(2700 conections)
And my three server programs have worked together very well. And theads count was 3200.

Is there any restriction on win2003 server for thread or tcp connections count?
Or indy version problem?
What must I do?

"mustafa korkmaz" <sekendizpasa@yahoo.com> wrote:
>
>My tcp client server application is being written in Delphi 5 enterprise. My indy component version is 9.0.14
>My server program was running very well on single cpu machine(win. 2003 server).
>But this server program has problems while running on double cpu machine.(two processor xeon 3 Ghz dual-core)
>Some times my client programs wait  5-6 seconds for receive tcp packets.When this freeze become there is not any communication problem.
>What must I do? Is this problem about delphi 5 compiler?
>Which version of delphi sport multi processor?

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive