From owner-freebsd-stable@FreeBSD.ORG Wed Dec 12 13:53:48 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7FE916A421 for ; Wed, 12 Dec 2007 13:53:48 +0000 (UTC) (envelope-from ken73.chen@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.186]) by mx1.freebsd.org (Postfix) with ESMTP id 89C9B13C4E3 for ; Wed, 12 Dec 2007 13:53:48 +0000 (UTC) (envelope-from ken73.chen@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so217282rvb.43 for ; Wed, 12 Dec 2007 05:53:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=7qp9Xs87c7c99erbgUUJZYXyJOUezTu2BLQ8aRQH+w8=; b=FBBrFCVz6+uSfwDksCakoyP2LOvE1xZyx0dAs64h91IAI7Jj0FMOCiWIDocAtNhKgPIy+OLTnv1rLhvcpL/NADC+J/Ec9m5hp38bMIpAxnaM/4S3IUs8yJHHL2sh/XH9QDOTfjm5zNEqY/vUZzaV97jkiLSG4erh5E17ah+JQPI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=q5gwzhmlVkwIb/P6OvxOXKZXVfVUM13aI0E0mSpioJ9IDRjTA77DTG2Gwrex2+p6uOmLJpZBSEJOdWGiLtRzMFeJ4rkV/zlRQK/UrShC2504vzvA0jHTK/wZnG6c3GqP0eAP2WGy86GzXd6icdcRH1y02isTmz9PesfLDjPas3I= Received: by 10.141.83.15 with SMTP id k15mr321482rvl.120.1197465869170; Wed, 12 Dec 2007 05:24:29 -0800 (PST) Received: by 10.141.26.9 with HTTP; Wed, 12 Dec 2007 05:24:29 -0800 (PST) Message-ID: Date: Wed, 12 Dec 2007 21:24:29 +0800 From: "Ken Chen" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: why lighttpd complain "sendfile: Broken pipe 32 " X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2007 13:53:48 -0000 What causes this happen? 2007-12-12 21:17:47: (network_freebsd_sendfile.c.173) sendfile: Broken pipe 32 2007-12-12 21:17:47: (connections.c.603) connection closed: write failed on fd 149 2007-12-12 21:19:19: (network_freebsd_sendfile.c.173) sendfile: Broken pipe 32 2007-12-12 21:19:19: (connections.c.603) connection closed: write failed on fd 476 2007-12-12 21:19:19: (network_freebsd_sendfile.c.173) sendfile: Broken pipe 32 2007-12-12 21:19:19: (connections.c.603) connection closed: write failed on fd 476 2007-12-12 21:20:30: (network_freebsd_sendfile.c.173) sendfile: Broken pipe 32 2007-12-12 21:20:30: (connections.c.603) connection closed: write failed on fd 158 2007-12-12 21:20:30: (network_freebsd_sendfile.c.173) sendfile: Broken pipe 32 2007-12-12 21:20:30: (connections.c.603) connection closed: write failed on fd 158 web# sysctl -a | grep maxfiles kern.maxfiles: 32768 kern.maxfilesperproc: 32768 web# netstat -m 2126/1654/3780 mbufs in use (current/cache/total) 793/495/1288/25600 mbuf clusters in use (current/cache/total/max) 855/2538/6656 sfbufs in use (current/peak/max) 2117K/1403K/3521K bytes allocated to network (current/cache/total) 0 requests for sfbufs denied 0 requests for sfbufs delayed 273045 requests for I/O initiated by sendfile 325 calls to protocol drain routines web# uname -a FreeBSD web 6.0-RELEASE FreeBSD 6.0-RELEASE #4: Tue Dec 11 18:30:27 CST 2007 root@web:/usr/src/sys/i386/compile/WEB i386