Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIdTCPServer connection limits?
#1
Hello,

So my server is working with quite a complex ACL that allows user groups and permissions to be changed for users in real time without logging off and back on again. The good old 'Apply' button has it's uses but not in something where I may need to restrict something fast..

Anyhow, when running on my Win7 Pro box (2x 4core proccys at 3GHz, 16GB ram) it maxes out with 93 clients connected. After that, i can launch new clients but they fail to connect (or at least if they do connect, they do it fast and disconnect without me noticing).

At this point, the server memory according to task manager is: 137,668K - which doesn't seem a lot when some instances of chrome can use far more than that!

I'm using Delphi 6 (32bit obviously).

Any ideas where i start with this?

Thanks
Reply
#2
(01-26-2025, 08:43 PM)Justin Case Wrote: At this point, the server memory according to task manager is: 137,668K


Hard to diagnose that without knowing exactly what you are actually doing with the connections, what you are allocating (or maybe not deallocating), etc.

(01-26-2025, 08:43 PM)Justin Case Wrote: I'm using Delphi 6 (32bit obviously).

Are you using the version of Indy that shipped with D6, or have you at least upgraded to a modern version of Indy?

Reply
#3
Hi Justin Case,
Delphi 6 is quite old—have you tried running your code in Delphi XE+?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)