BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Indy 9 TIdTcpServer Connection Limit?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Randy Vose
Guest





PostPosted: Fri Jan 28, 2005 6:36 am    Post subject: Indy 9 TIdTcpServer Connection Limit? Reply with quote



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





PostPosted: Fri Jan 28, 2005 5:19 pm    Post subject: Re: Indy 9 TIdTcpServer Connection Limit? Reply with quote



Use IOCP.. Then you can have 5000 connections if you want to :)

-Atle


Back to top
Martin James
Guest





PostPosted: Sun Jan 30, 2005 12:37 am    Post subject: Re: Indy 9 TIdTcpServer Connection Limit? Reply with quote




"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





PostPosted: Sun Jan 30, 2005 8:00 am    Post subject: Re: Indy 9 TIdTcpServer Connection Limit? Reply with quote


"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





PostPosted: Tue Feb 01, 2005 2:28 am    Post subject: Re: Indy 9 TIdTcpServer Connection Limit? Reply with quote


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





PostPosted: Tue Feb 01, 2005 6:59 pm    Post subject: Re: Indy 9 TIdTcpServer Connection Limit? Reply with quote

What is the registry settings you have to change?

-Atle


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.