<!-- MHonArc v2.4.4 --> <!--X-Subject: Re: [MUD-Dev] Massive Connections --> <!--X-From-R13: Yriva Epbgg Zbaqba <ybaqbaNpf.hgx.rqh> --> <!--X-Date: Wed, 19 Apr 2000 19:52:15 -0700 --> <!--X-Message-Id: Pine.GSO.4.10.10004192243220.22210-100000#nala,cs.utk.edu --> <!--X-Content-Type: text/plain --> <!--X-Reference: 38FE3D73.8220267F#mail,uccs.edu --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, Re: [MUD-Dev] Massive Connections</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:london#cs,utk.edu"> </head> <body background="/backgrounds/paperback.gif" bgcolor="#ffffff" text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000"> <font size="+4" color="#804040"> <strong><em>MUD-Dev<br>mailing list archive</em></strong> </font> <br> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] <br clear=all><hr> <!--X-Body-Begin--> <!--X-User-Header--> <!--X-User-Header-End--> <!--X-TopPNI--> Date: [ <a href="msg00481.html">Previous</a> | <a href="msg00484.html">Next</a> ] Thread: [ <a href="msg00481.html">Previous</a> | <a href="msg00484.html">Next</a> ] Index: [ <A HREF="author.html#00483">Author</A> | <A HREF="#00483">Date</A> | <A HREF="thread.html#00483">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>Re: [MUD-Dev] Massive Connections</H1> <HR> <!--X-Subject-Header-End--> <!--X-Head-of-Message--> <UL> <LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI> <LI><em>Subject</em>: Re: [MUD-Dev] Massive Connections</LI> <LI><em>From</em>: Kevin Scott London <<A HREF="mailto:london#cs,utk.edu">london#cs,utk.edu</A>></LI> <LI><em>Date</em>: Wed, 19 Apr 2000 22:48:14 -0400 (EDT)</LI> <LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI> <LI><em>Sender</em>: <A HREF="mailto:mud-dev-admin#kanga,nu">mud-dev-admin#kanga,nu</A></LI> </UL> <!--X-Head-of-Message-End--> <!--X-Head-Body-Sep-Begin--> <HR> <!--X-Head-Body-Sep-End--> <!--X-Body-of-Message--> <PRE> On Wed, 19 Apr 2000, Christopher Kohnert wrote: > Can anyone point me at some information regarding the ability to support > massive numbers simultaneous connections (read: 1000+). I've looked at > the various documents in the library (like the c10k one), but they > really aren't all that helpful. Does a server of this magnitude simply > require massive amounts of memory, or am I doing something terribly > wrong? Any suggestions as to how I can increase the number of > simultaneous (active) connections? I say 'active' here because I can > easily connect to many sockets if they aren't actually sending or > receiving any data, so it is my guess that the OS (in this case Linux) > is doing some buffering of sorts which eats up all my memory. I > couldn't get past 500 or so on a machine with 256 megs of RAM. Am I > wrong in thinking that the poor machine should be able to handle many > more than that? > > Thanks, > Chris It could be several things, but each connection requires an open descriptor which can be limited by the system. So depending on which OS you are on in this case linux, in tcsh it has a built in command called limit you will see something similar to: openfiles 1024 or perhaps descriptors 64 on another system. There are system limits which you can usually find out by setting it to unlimited, for example: limit openfiles unlimited Then type limit. So if you are forgetting to close descriptors, or exceed the limit then you would see that kind of behavior. Just guessing though, as it could be several factors. Kevin London : Kevin London Internet: london#cs,utk.edu : Research Associate, Department of Computer Science : Ayres 216 Phone: (423) 974-5790 : University of Tennessee, Knoxville _______________________________________________ MUD-Dev mailing list MUD-Dev#kanga,nu <A HREF="http://www.kanga.nu/lists/listinfo/mud-dev">http://www.kanga.nu/lists/listinfo/mud-dev</A> </PRE> <!--X-Body-of-Message-End--> <!--X-MsgBody-End--> <!--X-Follow-Ups--> <HR> <ul compact><li><strong>Follow-Ups</strong>: <ul> <li><strong><A NAME="00484" HREF="msg00484.html">Re: [MUD-Dev] Massive Connections</A></strong> <ul compact><li><em>From:</em> Christopher Kohnert <cjkohner#mail,uccs.edu></li></ul> </UL></LI></UL> <!--X-Follow-Ups-End--> <!--X-References--> <UL><LI><STRONG>References</STRONG>: <UL> <LI><STRONG><A NAME="00481" HREF="msg00481.html">[MUD-Dev] Massive Connections</A></STRONG> <UL><LI><EM>From:</EM> Christopher Kohnert <cjkohner#mail,uccs.edu></LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00481.html">[MUD-Dev] Massive Connections</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00484.html">Re: [MUD-Dev] Massive Connections</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00481.html">[MUD-Dev] Massive Connections</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00484.html">Re: [MUD-Dev] Massive Connections</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00483"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00483"><STRONG>Thread</STRONG></A></LI> </UL> </LI> </UL> <!--X-BotPNI-End--> <!--X-User-Footer--> <!--X-User-Footer-End--> <ul><li>Thread context: <BLOCKQUOTE><UL> <LI><strong><A NAME="00467" HREF="msg00467.html">[MUD-Dev] Database back ends</A></strong>, dwacks <a href="mailto:dwacks#saleslogix,com">dwacks#saleslogix,com</a>, Wed 19 Apr 2000, 18:55 GMT <UL> <LI><strong><A NAME="00474" HREF="msg00474.html">Re: [MUD-Dev] Database back ends</A></strong>, Greg Underwood <a href="mailto:gunderwood#donet,com">gunderwood#donet,com</a>, Wed 19 Apr 2000, 22:53 GMT <UL> <LI><strong><A NAME="00477" HREF="msg00477.html">Re: [MUD-Dev] Database back ends</A></strong>, Quiet <a href="mailto:colborne#gte,net">colborne#gte,net</a>, Wed 19 Apr 2000, 23:15 GMT </LI> <LI><strong><A NAME="00481" HREF="msg00481.html">[MUD-Dev] Massive Connections</A></strong>, Christopher Kohnert <a href="mailto:cjkohner#mail,uccs.edu">cjkohner#mail,uccs.edu</a>, Thu 20 Apr 2000, 01:34 GMT <UL> <LI><strong><A NAME="00483" HREF="msg00483.html">Re: [MUD-Dev] Massive Connections</A></strong>, Kevin Scott London <a href="mailto:london#cs,utk.edu">london#cs,utk.edu</a>, Thu 20 Apr 2000, 02:52 GMT <UL> <LI><strong><A NAME="00484" HREF="msg00484.html">Re: [MUD-Dev] Massive Connections</A></strong>, Christopher Kohnert <a href="mailto:cjkohner#mail,uccs.edu">cjkohner#mail,uccs.edu</a>, Thu 20 Apr 2000, 03:30 GMT </LI> </UL> </LI> </UL> </LI> </UL> </LI> <LI><strong><A NAME="00478" HREF="msg00478.html">Re: [MUD-Dev] Database back ends</A></strong>, Kevin Littlejohn <a href="mailto:darius#connect,com.au">darius#connect,com.au</a>, Wed 19 Apr 2000, 23:15 GMT </LI> </UL> </LI> <LI><strong><A NAME="00468" HREF="msg00468.html">[MUD-Dev] defeating twinking through game mechanics</A></strong>, S. Patrick Gallaty <a href="mailto:choke#sirius,com">choke#sirius,com</a>, Wed 19 Apr 2000, 18:55 GMT <UL> <li><Possible follow-up(s)><br> <LI><strong><A NAME="00480" HREF="msg00480.html">Re: [MUD-Dev] defeating twinking through game mechanics</A></strong>, jolson <a href="mailto:jolson#micron,net">jolson#micron,net</a>, Thu 20 Apr 2000, 00:09 GMT </LI> </UL> </LI> </UL></BLOCKQUOTE> </ul> <hr> <center> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] </center> <hr> </body> </html>