I'm writing server software that handles (and test clients that
initiate) thousands of simultaneous socket connections. When I test,
I generally do this:
... in the terminal window for the server and the client (and I often
do them on the same box), before running the test server (C++) and
the test client (Perl, but I also use iTunes as a test client when I
test with an MP3 stream). Yet, often when I do this, my machine
(1.5ghz PowerBook G4, 10.4.6, 1.25GB RAM) gets all wonky ... I can't
launch new processes or kill old ones, I can't check email, launch
Safari, etc. I basically get the spinning beach ball everywhere and
it all goes pear-shaped.
... so I figure i'm not doing it right. Is ulimit -n / -s not
enough? Can I do something else to allow for the thousands of
descriptors i'll be creating / using?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden