Subject: "RE: Thanks. Both of you seem to be on it." Previous topic | Next topic
Printer-friendly copy Email this topic to a friend CF Website
Top Non-CF Discussion "What Does RL Stand For?" Topic #975
Show all folders

IsildurTue 30-Jan-07 10:45 AM
Member since 04th Mar 2003
5969 posts
Click to send email to this author Click to send private message to this author Click to view this author's profile Click to add this author to your buddy list
#983, "RE: Thanks. Both of you seem to be on it."


          

Are all the sockets active? It's surprising that your server would completely bog down as you approach the limit unless it's an OS issue.

Are you polling them in a tight loop? If so, that's probably a bad idea. If you're not already, try using something like select(), which blocks until some number of your sockets are ready for reading. When it returns, you service those sockets that are ready, then call select() again.

Check out the man page. (I'm assuming OSX comes with man pages.)

  

Alert | IP Printer Friendly copy | Reply | Reply with quote

TopicSockets. CF limit on connections? [View all] , TheDude, Fri 26-Jan-07 09:09 PM
Reply RE: Sockets. CF limit on connections?, Isildur, 28-Jan-07 05:24 PM, #1
     Reply I thought every socket was a file descriptor on Solaris, Theerkla, 28-Jan-07 07:20 PM, #2
          Reply RE: I thought every socket was a file descriptor on Sol..., Isildur, 28-Jan-07 07:41 PM, #3
               Reply Thanks. Both of you seem to be on it., TheDude, 30-Jan-07 12:52 AM, #4
                    Reply Probably aren't going to get that info about CF, Tac, 30-Jan-07 09:12 AM, #5
                    Reply Not really.., Marcus_, 30-Jan-07 11:12 AM, #7
                         Reply RE: Not really.., Isildur, 30-Jan-07 06:53 PM, #8
                              Reply But that would be multiplaying, which is wrong and agai..., Marcus_, 05-Feb-07 07:12 AM, #9
                    Reply RE: Thanks. Both of you seem to be on it., Isildur, 30-Jan-07 10:45 AM #6
Top Non-CF Discussion "What Does RL Stand For?" Topic #975 Previous topic | Next topic