<!-- MHonArc v2.4.4 --> <!--X-Subject: Re: [MUD-Dev] Massive Connections --> <!--X-From-R13: Quevfgbcure Ybuareg <pwxbuareNznvy.hppf.rqh> --> <!--X-Date: Wed, 19 Apr 2000 20:30:52 -0700 --> <!--X-Message-Id: 38FE5A31.F7B6CC59@mail.uccs.edu --> <!--X-Content-Type: text/plain --> <!--X-Reference: Pine.GSO.4.10.10004192243220.22210-100000@nala.cs.utk.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:cjkohner@mail.uccs.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="msg00483.html">Previous</a> | <a href="msg00492.html">Next</a> ] Thread: [ <a href="msg00483.html">Previous</a> | <a href="msg00486.html">Next</a> ] Index: [ <A HREF="author.html#00484">Author</A> | <A HREF="#00484">Date</A> | <A HREF="thread.html#00484">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>: Christopher Kohnert <<A HREF="mailto:cjkohner#mail,uccs.edu">cjkohner#mail,uccs.edu</A>></LI> <LI><em>Date</em>: Wed, 19 Apr 2000 21:15:29 -0400</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> Kevin Scott London wrote: > > 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 Yeah, I've thought of this. I can easily reach the 1024 default descriptor limit in Linux, with 'inactive' sockets, but with 'active' ones, I can't get past 500ish. So I know it's not the actual number of file descriptors that is the problem, it's simply running out of memory to handle all of them... Quite frustrating. Chris _______________________________________________ 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="00486" HREF="msg00486.html">[MUD-Dev] [Mud-Dev]: Sushi Mud</A></strong> <ul compact><li><em>From:</em> "Todd McKimmey" <rufus@wombatgames.com></li></ul> </UL></LI></UL> <!--X-Follow-Ups-End--> <!--X-References--> <UL><LI><STRONG>References</STRONG>: <UL> <LI><STRONG><A NAME="00483" HREF="msg00483.html">Re: [MUD-Dev] Massive Connections</A></STRONG> <UL><LI><EM>From:</EM> Kevin Scott London <london@cs.utk.edu></LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00483.html">Re: [MUD-Dev] Massive Connections</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00492.html">Re: [MUD-Dev] Alignment (very long)</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00483.html">Re: [MUD-Dev] Massive Connections</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00486.html">[MUD-Dev] [Mud-Dev]: Sushi Mud</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00484"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00484"><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>Re: [MUD-Dev] Database back ends</STRONG>, <EM>(continued)</EM> <ul compact> <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 <UL> <LI><strong><A NAME="00486" HREF="msg00486.html">[MUD-Dev] [Mud-Dev]: Sushi Mud</A></strong>, Todd McKimmey <a href="mailto:rufus@wombatgames.com">rufus@wombatgames.com</a>, Thu 20 Apr 2000, 22:08 GMT </LI> </UL> </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><strong><A NAME="00488" HREF="msg00488.html">Re: [MUD-Dev] defeating twinking through game mechanics</A></strong>, Travis S. Casey <a href="mailto:efindel@io.com">efindel@io.com</a>, Thu 20 Apr 2000, 22:08 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>