Location of SetupDaemon in nnrpd.c
Alex Kiernan
alexk at demon.net
Thu Jun 13 10:51:24 UTC 2002
Sven Paulus <sven at karlsruhe.org> writes:
> You wrote in <20020613093312.GB70767 at CIS.FU-Berlin.DE>:
> >>> Therefore: Don't open the CNFS buffers in the daemon, never!
>
> How about opening the CNFS buffers in the daemon, but dup2()ing the
> file descriptors after the fork? The storage API might need an
> extension for doing that, but this should be a good solution for this
> problem (quick child startup after fork).
>
I quite like that idea, a pre and post fork initialisation, as an
extra option passed into say SMinit.
But maybe this should wait for a full blown redesign of the APIs at
the point where we strongly version them.
--
Alex Kiernan, Principal Engineer, Development, THUS plc
More information about the inn-workers
mailing list