<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1561" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=宋体 size=2>Thanks to your good advice . </FONT><FONT face=宋体
size=2>^_^</FONT></DIV>
<DIV><FONT face=宋体 size=2>It seems our server could support 10000 users with no
problem.</FONT></DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<DIV><FONT face=宋体 size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 9pt 宋体">----- Original Message ----- </DIV>
<DIV style="BACKGROUND: #e4e4e4; FONT: 9pt 宋体; font-color: black"><B>From:</B>
<A title=mobilepolice@gmail.com href="mailto:mobilepolice@gmail.com">David
Todd</A> </DIV>
<DIV style="FONT: 9pt 宋体"><B>To:</B> <A title=hybrid@lists.ircd-hybrid.org
href="mailto:hybrid@lists.ircd-hybrid.org">General IRCD-Hybrid Discussion</A>
</DIV>
<DIV style="FONT: 9pt 宋体"><B>Sent:</B> Thursday, September 14, 2006 12:01
PM</DIV>
<DIV style="FONT: 9pt 宋体"><B>Subject:</B> Re: only open one port 6667 or more
ports?</DIV>
<DIV><BR></DIV>I'll be the first to answer this, primarily because I
administrated Aniverse IRC Networks during the period where Hybrid IRCd was
still in in beta and not seen on heavy production.<BR><BR>Operating an IRCd
daemon to cope with 10,000 users is not going to experience performance
troubles with the software. Personally I've had ~14,280 users on the same
IRCd, real users, not spawn bots or anything of that nature used for testing.
<BR><BR>The issue will lie with your kernel's ability to grant a process that
many open files (you have to make sure the configuration can handle it) and
additionally, the network card has to have enough memory to support that many
connections at once. We never surpassed 15 thousand on a single server because
the network card was onboard and it simply couldn't handle any more
connections. <BR><BR>So to recap:<BR><BR>The IRCD, properly configured
(nothing special) with only one port or all ports available will not
experience performance issues assuming you have a decently powerful machine
(1Ghz, 256MB ram or more) <BR><BR>Your kernel does need to be able to support
so many open files by a single process. Some kernels support modifying this
variable via sysctl, others require a rebuild. Depends on your OS.<BR><BR>Your
network card needs to be able to support that number of connections. Remember
it's about four (possibly six with BOPM) connections for every new client
connection, and two steady connections afterwards (one inbound port, one
outbound port) That's alot to demand from a basic onboard card, so make sure
you have something decent. <BR><BR>David<BR><BR>
<DIV><SPAN class=gmail_quote>On 9/13/06, <B
class=gmail_sendername>liushuangjia</B> <<A
href="mailto:steveliu@sohu-inc.com">steveliu@sohu-inc.com</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV bgcolor="#ffffff">
<DIV><SPAN><FONT size=2>I want to use hybird to handle 10000 users.
<BR><BR>I edited the listen{} in the ircd.conf. <BR><BR>port = 6665 .. 6669;
(this could accept connections from four ports). <BR><BR><BR>or <BR><BR>port
= 6667; (this could only accept connections from port 6667). <BR><BR>which
has a higher performance? <BR>Thanks to all! <IMG alt=Razz
src="http://www.forum.ircd-hybrid.org/images/smiles/icon_razz.gif"
border=0></FONT></SPAN></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>