From owner-freebsd-hackers Tue Aug 31 0:44:19 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from not.demophon.com (ns.demophon.com [193.65.70.13]) by hub.freebsd.org (Postfix) with ESMTP id 1C8051512F for ; Tue, 31 Aug 1999 00:44:15 -0700 (PDT) (envelope-from will@not.demophon.com) Received: (from will@localhost) by not.demophon.com (8.9.3/8.8.7) id KAA72637; Tue, 31 Aug 1999 10:43:02 +0300 (EEST) (envelope-from will) To: bright@wintelcom.net (Alfred Perlstein) Cc: hackers@freebsd.org, gupz@hotmail.com Subject: Re: Sharing file descriptors References: <19990830142553.77697.qmail@hotmail.com> From: Ville-Pertti Keinonen Date: 31 Aug 1999 10:43:01 +0300 In-Reply-To: bright@wintelcom.net's message of "30 Aug 1999 17:53:23 +0300" Message-ID: <861zck1jlm.fsf@not.demophon.com> Lines: 14 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG bright@wintelcom.net (Alfred Perlstein) writes: > 1) file descriptor passing (described in Unix Network Programming Vol I) Or just read recv(2), search for SCM_RIGHTS. > 2) shared address fork (should be on http://lt.tar.com) Or just read rfork(2), and you don't need to share the address space. The general idea of software server redundancy seems a bit odd, though, debugging the software carefully and automatically restarting it on failures is generally a better idea. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message