From owner-freebsd-questions Mon Jun 26 11:25:00 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA26706 for questions-outgoing; Mon, 26 Jun 1995 11:25:00 -0700 Received: from dca.net (dca.net [204.183.80.2]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id LAA26700 for ; Mon, 26 Jun 1995 11:24:57 -0700 Received: from dca.net (localhost.dca.net [127.0.0.1]) by dca.net (8.6.12/8.6.9) with SMTP id OAA22647 for ; Mon, 26 Jun 1995 14:24:55 -0400 Date: Mon, 26 Jun 1995 14:24:50 -0400 (EDT) From: Andrew White Reply-To: Andrew@dca.net To: questions@FreeBSD.org Subject: Additions to FAQ Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: questions-owner@FreeBSD.org Precedence: bulk I'd like to propose two additions to the FAQ: 1. kernel: mb_map full I have had the above error message crash my machine several times. After some help from bugs@freebsd.org, it turns out that the value of NMBCLUSTERS was too low in src/sys/i386/include/param.h. Upping the default value from 256/512 to 1024/2048 is suggested for users running systems with heavy network I/O (many simultaneous TCP connections). Of course, recompiling the kernel and rebooting is necessary for this change to take effect. 2. Virtual Hosts via WWW To enable the "virtual host" service of the Apache WWW server (or other httpd servers that support virtual hosts -- I believe there is a patch available for NCSA's server), the following should be done: ifconfig $ifn alias arp -s pub Where is an additional IP address corresponding to the hostname of the "virtual host", $ifn refers to the name of the network interface (eg, "ed0"), and is the ethernet hardware address of $ifn. For example, ifconfig ed0 204.183.80.24 alias arp -s 204.183.80.24 0:0:c0:1:2:3 pub adds a virtual host for www.condyn.com (204.183.80.24). The ethernet hardware address can be found by looking at the output of "arp -a". I added the above commands for each "virtual host" to /etc/netstart, so that it takes effect after each reboot. -Andrew awhite@dca.net http://www.dca.net/ (work-related) Andrew@White.org http://www.white.org/ (personal) DCANET: The Delaware Common Access Network Call (302) 654-1019 or send mail to info@dca.net for more information.