Re: rc and smf

看板DFBSD_kernel作者時間21年前 (2005/02/25 04:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串27/53 (看更多)
On Thu, Feb 24, 2005 at 02:05:35PM -0500, George Georgalis wrote: > On Thu, Feb 24, 2005 at 03:49:42PM +0100, Joerg Sonnenberger wrote: > >I consider most of daemontools useless software, because it is build > >on the wrong assumptions. A normal daemon should not need supervision, > >just like a normal daemon can either write its own log files [if the > >volume is high] or just use syslog. > > I run apache under supervise. I use the apache internal logging facility > for each virtual domain access.log, because it does exactly what I > need, but I run a multilog instance for each virtual domain error log, > as that works better for me than error.log. All of this is separate > from the apache daemon logs (restarts etc), which are under multilog as > well as the apache run script. The entire installation is very modular, > and has worked very well, over the years (nearly 2). And exactly this kind of setup can be made with the standard syslog interface as well, it doesn't buy anything with the exception that I can restart my log daemon. Don't get me wrong, I don't want you to switch over to using syslog, if multilog works for you. It might very well be the perfect tool. Actually apache especially with mod_php is an example of unstable software IMO, it tends to segfault at times. Nothing critical, enough parallel processes to just take over. > Making a runit port for a base BSD would be a lot of work: code and > commiter philosophy -- I'd be interested, but I certainly don't have > time for it. What I do ask is that it remain an option for users, > so no unusual roadblocks, technical or otherwise, remain for those > who want to use it. There's a port for runit and it should be pretty easy to tell it to run the normal /etc/rc for initialisation. I don't want runit in the base system [or similiar tools] and parallel startup for rcNG is surely possible, but adds some difficult problems as well. I'm not a friend of the "My system needs only 15.656 seconds to boot" style dick comparisions. Joerg
文章代碼(AID): #127ZA500 (DFBSD_kernel)
文章代碼(AID): #127ZA500 (DFBSD_kernel)