Date: Mon, 30 Aug 1999 08:06:29 +0000 (GMT) From: Alfred Perlstein <bright@wintelcom.net> To: Dodge Ram <gupz@hotmail.com> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Sharing file descriptors Message-ID: <Pine.BSF.4.05.9908300805090.6392-100000@fw.wintelcom.net> In-Reply-To: <19990830142553.77697.qmail@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 30 Aug 1999, Dodge Ram wrote: > Hi, > > Have a question on whether it is possible to share > file descriptors between two processes. > > The purpose is to have a stanby process take over when > the primary process fails. The primary process creates/deletes > socket connections at run time. Forking does not scale well when > the rate of connection creates/deletes in high. > > If there is an alternative approach to do this kindly let > me know. > > Any helpful pointers are greatly appreciated. two options I can think of: 1) file descriptor passing (described in Unix Network Programming Vol I) 2) shared address fork (should be on http://lt.tar.com) good luck, -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9908300805090.6392-100000>