Newsgroups : Borland : borland.public.delphi.internet.winsock : 2007 Feb : Re: multi processor problem
| Subject: | Re: multi processor problem |
| Posted by: | "mustafa korkmaz" (sekendizpa..@yahoo.com) |
| Date: | 11 Feb 2007 12:23:53 |
Indy creates new thread for every new Tcp connection..All threads are being created by indy.(Tidtcpserver)
There are 5 server programs.Every server program has 1000 conections.Total connections are 5000.
2 server programs are working together very well.
"Francois PIETTE [ICS - MidWare]" <francois.piette@overbyte.be> wrote:
>Usually, having one thread per client is not a good idea when you have to
>support a large number of clients...
>
>--
>francois.piette@overbyte.be
>The author for the freeware multi-tier middleware MidWare
>The author of the freeware Internet Component Suite (ICS)
>http://www.overbyte.be
>
>
>"mustafa korkmaz" <sekendizpasa@yahoo.com> a écrit dans le message de news:
>45cf5ad1$1@newsgroups.borland.com...
>>
>> I think my problem is not related multi processor.
>> I run 5 server program.And 5000 users is connected.
>> I looked threads count from task manager. There was 6600 threads. But cpu
>> usage is ony %40. And there was 1,5 Gb available ram.(of 2 GB)
>> When I closed 3 server programs there was no problem.And theads count was
>> 3200.
>> Is there any restriction on win2003 server for thread or tcp connections
>> count?
>> 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?
none