[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [equinox-dev] Standard practice for deploying in daemon mode?

I got busy and was no longer tracking this list for several weeks... so
hopefully my picking up this thread again is still relevant.

Essentially, running in daemon mode seems to be very OS specific. I am using
Linux, and my favourite tool that I've found so far is daemontools
(http://cr.yp.to/daemontools.html). It's simple, light weight, robust, and
effective, IMO.

In any case, regardless of the tool and/or command being used, it seems
clear to me that a few things must be handled differently:

 - stdin, stderr

If anything is output to stdin and/or stderr, and these are captured by a
log file, then due to the potentially huge amount of text, it is important
to ensure rotational logging.

I haven't done this in a while, but back in the day I was using Oscar like
this. I found that it was necessary to disable the TUI, as it would
constantly output loads of junk (just a cursor being output constantly)
rendering the logs totally useless. So, it would appear that the startup
provisioning needs to take into account whether the container is in
"application" mode or "daemon" mode.

I will investigate this further sometime soon and post a bug report as you

Is there anything in particular you'd like to know?


-----Original Message-----
From: equinox-dev-bounces@xxxxxxxxxxx
[mailto:equinox-dev-bounces@xxxxxxxxxxx]On Behalf Of Jeff McAffer
Sent: 4 January 2007 12:52
To: Equinox development mailing list
Subject: Re: [equinox-dev] Standard practice for deploying in daemon mode?

Great question.  I recall someone looking into this in the past but do not
recall the result.  It would be great if you could outline the requirements,
issues and approaches in a bug report.  This is an interesting usecase that
should be covered by the code and/or doc as required.

Does this tie into how Eclipse is launched?  We are redoing the launcher now
so perhaps there is something we can/should do there?


"David Leangen" <osgi@xxxxxxxxxxx>
Sent by: equinox-dev-bounces@xxxxxxxxxxx
01/02/2007 11:55 PM Please respond to
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>

Subject[equinox-dev] Standard practice for deploying in daemon mode?


I am just wondering if there is a standard practice or maybe some code
available for deploying Equinox in daemon mode on Linux...

I usually use djb's daemontools for this kind of thing, but I thought I'd
check here first.

Any suggestions would be most welcome.

Thank you!

equinox-dev mailing list