From owner-freebsd-questions Sun Mar 23 17:22:20 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A662C37B404 for ; Sun, 23 Mar 2003 17:22:19 -0800 (PST) Received: from discovery.gangofone.com (adsl-63-197-69-57.dsl.snfc21.pacbell.net [63.197.69.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9B5443F93 for ; Sun, 23 Mar 2003 17:22:18 -0800 (PST) (envelope-from dave@jetcafe.org) Received: from hokkshideh2.jetcafe.org (hokkshideh2.jetcafe.org [64.239.180.8]) by discovery.gangofone.com (8.12.8/8.12.8) with ESMTP id h2O1LILm011619 for ; Sun, 23 Mar 2003 17:21:18 -0800 (PST) X-Hokkshideh-Envelope-To: Received: from hokkshideh2.jetcafe.org (localhost [127.0.0.1]) by hokkshideh2.jetcafe.org (8.12.8/8.12.8) with ESMTP id h2O1MHuq046776 for ; Sun, 23 Mar 2003 17:22:17 -0800 (PST) Message-Id: <200303240122.h2O1MHuq046776@hokkshideh2.jetcafe.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: freebsd-questions@freebsd.org Subject: SIGPIPE and threaded servers Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Mar 2003 17:22:17 -0800 From: Dave Hayes Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have a relatively simple threaded TCP server that services high volumes of requests. Currently it appears to randomly crash receiving a SIGPIPE. Attempts to ignore SIGPIPE via the sigaction() semantic only prevent me from sending the signal with "kill" to test whether or not SIGPIPE is actually ignored. =/ What is going on here? ------ Dave Hayes - Altadena CA, USA - dave@jetcafe.org >>> Opinions expressed above are entirely my own <<< "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message