|
TheDude | Fri 26-Jan-07 09:09 PM |
Member since 20th Sep 2005
285 posts
| |
|
#975, "Sockets. CF limit on connections?"
|
I am generally curious, how many connections could CF realistically handle, in terms of it's server's socket connections?
I ask because I am doing some load testing on a c++ socket server I'm writing (totoally non-mud related) and am wondering what sort of numbers the mud server could physically theoretically handle before connections started getting blocked (as a comparison); I'm hoping to get an answer independent of what overall program memory might allow, for simplicity's sake.
Also, what platform is CF run on?
|
|
|
|
RE: Sockets. CF limit on connections?,
Isildur,
28-Jan-07 05:24 PM, #1
I thought every socket was a file descriptor on Solaris,
Theerkla,
28-Jan-07 07:20 PM, #2
RE: I thought every socket was a file descriptor on Sol...,
Isildur,
28-Jan-07 07:41 PM, #3
Thanks. Both of you seem to be on it.,
TheDude,
30-Jan-07 12:52 AM, #4
Probably aren't going to get that info about CF,
Tac,
30-Jan-07 09:12 AM, #5
Not really..,
Marcus_,
30-Jan-07 11:12 AM, #7
RE: Not really..,
Isildur,
30-Jan-07 06:53 PM, #8
But that would be multiplaying, which is wrong and agai...,
Marcus_,
05-Feb-07 07:12 AM, #9
RE: Thanks. Both of you seem to be on it.,
Isildur,
30-Jan-07 10:45 AM, #6
| |
  |
Theerkla | Sun 28-Jan-07 07:20 PM |
Member since 04th Mar 2003
1055 posts
| |
|
#979, "I thought every socket was a file descriptor on Solaris"
In response to Reply #1
|
Which would mean there's a configuration setting that limits how many open sockets you can have assuming you haven't altered the defaults.
|
|
|
|
      |
TheDude | Tue 30-Jan-07 12:45 AM |
Member since 20th Sep 2005
285 posts
| |
|
#981, "Thanks. Both of you seem to be on it."
In response to Reply #3
Edited on Tue 30-Jan-07 12:52 AM
|
I'm running on Mac OS X right now. Theerkla's correct- the sockets are file descriptors and there's a setting to up the default from, I believe, 512. Supposedly the default is dynamically upped when more sockets are requested, but I've not gotten my server to handle more than a hard limit of ~500. No worries though, this is plenty for now so I haven't forced the issue.
And yep Isildur, my whole world starts slowing down when I reach the limits so I'm keeping it under 500 until if and when I need to boost my hardware/code to accomodate. It's a CPU cycle bottleneck with some 500 threads going on (i.e. my application/hardware) not a socket issue, per se. So at the end of the day I've got a strong feeling that my code/hardware's going to be the limiting factor, not the socket limitations..as you warned. I'm happy with that.
Thanks!
(still curious how many connections CF could handle though, har).
|
|
|
|
        |
Tac | Tue 30-Jan-07 09:12 AM |
Member since 15th Nov 2005
2050 posts
| |
|
#982, "Probably aren't going to get that info about CF"
In response to Reply #4
|
Since I imagine it could be used in a DoS attack. Not that you would, or that you'd need the info to launch such an attack, but there it is.
|
|
|
|
          | |
            | |
              |
Marcus_ | Mon 05-Feb-07 07:12 AM |
Member since 04th Mar 2003
681 posts
| |
|
#995, "But that would be multiplaying, which is wrong and agai..."
In response to Reply #8
|
|
|
|