<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.darenet.org/skins/common/feed.css?12"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>Running ircu2.10.11 on FreeBSD - Revision history</title>
		<link>http://wiki.darenet.org/index.php?title=Running_ircu2.10.11_on_FreeBSD&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.1</generator>
		<lastBuildDate>Sun, 05 Apr 2026 19:52:57 GMT</lastBuildDate>
		<item>
			<title>Secretagent:&amp;#32;New page: &lt;pre&gt;Running ircu2.10.11 on FreeBSD  When running on FreeBSD, ircu can make use of the kqueue() event engine, which results in much improved performance over the old poll()-based method. k...</title>
			<link>http://wiki.darenet.org/index.php?title=Running_ircu2.10.11_on_FreeBSD&amp;diff=2250&amp;oldid=prev</link>
			<description>&lt;p&gt;New page: &amp;lt;pre&amp;gt;Running ircu2.10.11 on FreeBSD  When running on FreeBSD, ircu can make use of the kqueue() event engine, which results in much improved performance over the old poll()-based method. k...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;pre&amp;gt;Running ircu2.10.11 on FreeBSD&lt;br /&gt;
&lt;br /&gt;
When running on FreeBSD, ircu can make use of the kqueue() event engine, which&lt;br /&gt;
results in much improved performance over the old poll()-based method. kqueue&lt;br /&gt;
is included in the more recent 4.x releases of FreeBSD.&lt;br /&gt;
&lt;br /&gt;
In order for ircu to be able to serve many clients simultaneously, you need&lt;br /&gt;
to increase the maximum allowable number of open files in the system. To do&lt;br /&gt;
this, add commands such as the following during your system's boot sequence:&lt;br /&gt;
&lt;br /&gt;
sysctl -w kern.maxfiles=16384&lt;br /&gt;
sysctl -w kern.maxfilesperproc=16384&lt;br /&gt;
&lt;br /&gt;
Unless you will be serving thousands of clients simultaneously, you will not&lt;br /&gt;
need to do the following, unless of course you just can't stand having a&lt;br /&gt;
system that is not optimized to its limits :)&lt;br /&gt;
&lt;br /&gt;
Build a custom kernel: Make your kernel as lean as possible by removing all&lt;br /&gt;
drivers and options you will not need. The following parameters will affect&lt;br /&gt;
performance, they are listed with suggested values only. For more information&lt;br /&gt;
on what they do exactly, see FreeBSD's documentation.&lt;br /&gt;
&lt;br /&gt;
maxusers        2048&lt;br /&gt;
options         NMBCLUSTERS=65535&lt;br /&gt;
options         ICMP_BANDLIM&lt;br /&gt;
&lt;br /&gt;
Also, you may wish to run the following at system startup (from /etc/rc.local,&lt;br /&gt;
or whichever other method you prefer):&lt;br /&gt;
&lt;br /&gt;
sysctl -w net.inet.tcp.rfc1323=1&lt;br /&gt;
sysctl -w net.inet.tcp.delayed_ack=0&lt;br /&gt;
sysctl -w net.inet.tcp.restrict_rst=1&lt;br /&gt;
sysctl -w kern.ipc.maxsockbuf=2097152&lt;br /&gt;
sysctl -w kern.ipc.somaxconn=2048&lt;br /&gt;
&lt;br /&gt;
Created by Sengaia &amp;lt;sengaia@undernet.org&amp;gt;, July 20 2002.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Technical]]&lt;/div&gt;</description>
			<pubDate>Fri, 25 Apr 2008 03:40:50 GMT</pubDate>			<dc:creator>Secretagent</dc:creator>			<comments>http://wiki.darenet.org/Talk:Running_ircu2.10.11_on_FreeBSD</comments>		</item>
	</channel>
</rss>