From owner-cvs-ports Sun Oct 8 22:27:30 1995 Return-Path: owner-cvs-ports Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA25320 for cvs-ports-outgoing; Sun, 8 Oct 1995 22:27:30 -0700 Received: (from gibbs@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA25308 ; Sun, 8 Oct 1995 22:27:22 -0700 Date: Sun, 8 Oct 1995 22:27:22 -0700 From: "Justin T. Gibbs" Message-Id: <199510090527.WAA25308@freefall.freebsd.org> To: CVS-commiters, cvs-ports Subject: cvs commit: ports/net/wu-ftpd/patches patch-ai Sender: owner-cvs-ports@FreeBSD.org Precedence: bulk gibbs 95/10/08 22:27:21 Modified: net/wu-ftpd/files Makefile.fb2 config.fb2 Added: net/wu-ftpd/patches patch-ai Log: Tune wu-ftpd for high performance: - Link ftpd static - big win since it forks so often. - Turn off push flag to keep sender TCP from sending short packets at the boundaries of each write(). Should probably do a SO_SNDBUF to set the send buffer size as well, but that may not be desirable in heavy-load situations. - Double the send buffer size. - Add an option to config.h, LOG_TOOMANY, defined by default, that controls whether we bother to complain when a connection hits a user limit. Turning this off removes at least 3/4 of the syslog usage of wu-ftpd on a busy system saving CPU and logspace. - Make SKEY portions truely optional by one knob in the src Makefile Obtained from: David Greenman and wcarchive