2000Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] Massive Connections -->
<!--X-From-R13: Quevfgbcure Ybuareg <pwxbuareNznvy.hppf.rqh> -->
<!--X-Date: Wed, 19 Apr 2000 20:30:52 &#45;0700 -->
<!--X-Message-Id: 38FE5A31.F7B6CC59@mail.uccs.edu -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: Pine.GSO.4.10.10004192243220.22210&#45;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>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00483.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00492.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00483.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00486.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00484">Author</A>
&nbsp;|&nbsp;<A HREF="#00484">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00484">Thread</A>
&nbsp;]

<!--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 &lt;<A HREF="mailto:cjkohner#mail,uccs.edu">cjkohner#mail,uccs.edu</A>&gt;</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:
&gt; 
&gt; On Wed, 19 Apr 2000, Christopher Kohnert wrote:
&gt; 
&gt; &gt; Can anyone point me at some information regarding the ability to support
&gt; &gt; massive numbers simultaneous connections (read: 1000+).  I've looked at
&gt; &gt; the various documents in the library (like the c10k one), but they
&gt; &gt; really aren't all that helpful.  Does a server of this magnitude simply
&gt; &gt; require massive amounts of memory, or am I doing something terribly
&gt; &gt; wrong?  Any suggestions as to how I can increase the number of
&gt; &gt; simultaneous (active) connections?   I say 'active' here because I can
&gt; &gt; easily connect to many sockets if they aren't actually sending or
&gt; &gt; receiving any data, so it is my guess that the OS (in this case Linux)
&gt; &gt; is doing some buffering of sorts which eats up all my memory.  I
&gt; &gt; couldn't get past 500 or so on a machine with 256 megs of RAM.  Am I
&gt; &gt; wrong in thinking that the poor machine should be able to handle many
&gt; &gt; more than that?
&gt; &gt;
&gt; &gt; Thanks,
&gt; &gt; Chris
&gt; 
&gt; It could be several things, but each connection requires an open
&gt; descriptor which can be limited by the system.  So depending on which OS
&gt; you are on in this case linux, in tcsh it has a built in command called
&gt; limit you will see something similar to:
&gt; openfiles       1024
&gt; or perhaps
&gt; descriptors     64
&gt; on another system.  There are system limits which you can usually find
&gt; out by setting it to unlimited, for example:
&gt; limit openfiles unlimited
&gt; Then type limit.  So if you are forgetting to close descriptors, or exceed
&gt; the limit then you would see that kind of behavior.  Just guessing though,
&gt; as it could be several factors.
&gt; 
&gt; 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" &lt;rufus@wombatgames.com&gt;</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 &lt;london@cs.utk.edu&gt;</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>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>