[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] Re: What goes in inetd.conf?
On Tue, Sep 03, 2002 at 03:48:14PM +0100, Alessandro Zummo wrote:
> On 03-Set-02 at 11:38:13,
> Rich Bowen <rbowen@rcbowen.com> wrote:
> > Ohhhh. I see. I assumed that daemon mode meant that it would actually run
> > as a daemon, and stay running. I misunderstood. Thanks for the tip.
Not all daemons run all the time. 'ftpd' doesn't, for
instance. Look at all the "nowait" daemons in /etc/inetd.conf.
> I think such a feature needs to be implemented in the near future... anyone
> volunteers for it?
The reason I didn't do it that way in the first place is that
a long-running daemon will inevitably leak memory; if it exits after
syncing, at least the memory that it leaks will be reclaimed. Plus,
there might be issues if it caches /etc/coldsync.conf or /etc/palms
information.
It's possible to avoid this by having the daemon fork() for
new requests, and make sure that the long-running part doesn't leak
memory or retain transient information, but I'm wondering what the
real issue is. Was there a serious problem getting it to run from
/etc/ttys (or /etc/inittab under SysV-derivatives)?
--
Andrew Arensburger This message *does* represent the
arensb@ooblick.com views of ooblick.com
Do not urinate on the drumsticks of power.
--
This message was sent through the coldsync-hackers mailing list. To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body. For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.