| View previous topic :: View next topic |
| Author |
Message |
Randy Vose Guest
|
Posted: Fri Jan 28, 2005 6:36 am Post subject: Indy 9 TIdTcpServer Connection Limit? |
|
|
I've written an image server application using Indy 9's TIdTcpServer.
Everything works extremely well, except that the application will
occasionally just stop processing TCP requests -- usually when 380 to 400
users have connected. The server machine is a dual processor XEON with 1GB
memory running Win2k Server.
Can anyone tell me of there is some kind of connection limit I may be
bumping up against, either within Indy or Windows? The memory usage of the
my app is no where near the physical 1GB memory of the machine and there are
no other apps on the box competing for server resources.
I thought I'd read something online a long time ago about modifying Delphi's
linker settings to reduce the heap size allocated to threads as a means of
getting more connections, but I can't find that article.
It very much seems like I'm blowing out something with TCP/IP based on the
number of connections. However, the app itself doesn't crash as the GUI
still responds and allows me to close it. Basically the app just stops
doing anything with TCP requests.
Any suggestions or tips would be greatly appreciated.
Thanks for your time,
Randy
|
|
| Back to top |
|
 |
Atle Smelvær Guest
|
Posted: Fri Jan 28, 2005 5:19 pm Post subject: Re: Indy 9 TIdTcpServer Connection Limit? |
|
|
Use IOCP.. Then you can have 5000 connections if you want to :)
-Atle
|
|
| Back to top |
|
 |
Martin James Guest
|
Posted: Sun Jan 30, 2005 12:37 am Post subject: Re: Indy 9 TIdTcpServer Connection Limit? |
|
|
"Atle Smelvær" <zinvob (AT) sdf (DOT) lonestar.org> wrote
| Quote: | Use IOCP.. Then you can have 5000 connections if you want to :)
|
You can have 50,000 connections is you want to, though you have to
add/change a couple registry settings & reboot.to increase the no. of
sockets available.
Rgds,
Martin
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Sun Jan 30, 2005 8:00 am Post subject: Re: Indy 9 TIdTcpServer Connection Limit? |
|
|
"Martin James" <mjames_falcon (AT) dial (DOT) pipex.com> wrote
| Quote: | You can have 50,000 connections is you want to, though you have
to add/change a couple registry settings & reboot.to increase the no.
of sockets available.
|
That approach does not work on all systems.
Gambit
|
|
| Back to top |
|
 |
Martin James Guest
|
Posted: Tue Feb 01, 2005 2:28 am Post subject: Re: Indy 9 TIdTcpServer Connection Limit? |
|
|
| Quote: |
You can have 50,000 connections is you want to, though you have
to add/change a couple registry settings & reboot.to increase the no.
of sockets available.
That approach does not work on all systems.
|
Very likely :)
Works on W2K Pro.
Rgds,
Martin
|
|
| Back to top |
|
 |
Atle Smelvær Guest
|
Posted: Tue Feb 01, 2005 6:59 pm Post subject: Re: Indy 9 TIdTcpServer Connection Limit? |
|
|
What is the registry settings you have to change?
-Atle
|
|
| Back to top |
|
 |
|