Kevin Worthington | 27 Nov 20:15
Gravatar

Re: event-handler in opensolaris

Service Management Facility:
http://en.wikipedia.org/wiki/Service_Management_Facility

On Nov 27, 2007 1:45 PM, rkmr.em <at> gmail.com <rkmr.em <at> gmail.com> wrote:
> i was not starting lighttpd as a root!!! i will try to start the app as
> root..
> what is SMF? is it  a better way to start lighttpd?
>
>
>
> On Nov 26, 2007 4:44 PM, Amanda Waite < mandy.waite2007 <at> googlemail.com>
> wrote:
> > On Solaris/OpenSolaris, if you are starting lighttpd as a non-root user
> and using solaris-devpoll as the event-handler then you'll hit the issue
> that you describe. Until a fix is in place I'd suggest starting Lighttpd as
> root and specifying the user/group to run as in the Lighttpd config file.
> When you do this, Lighttpd does all of it's initialization as root and then
> starts the Web Server process and any worker processes as the user that you
> specify. You can then use "solaris-devpoll" as the event-handler which is
> the recommended option for Solaris. This is a better option than falling
> back to using "poll" as the event-handler.
> >
> > Are you using SMF to start Lighttpd? I'm just curious as I started looking
> into this in response to a problem seen when starting Lighttpd via SMF.
> >
> > Amanda
> >
> >
> >
> >
> >
> >
> >
> > On 26/11/2007, rkmr.em <at> gmail.com <rkmr.em <at> gmail.com> wrote:
> > > what should server.event-handler be for opensolaris box?  in linux i had
> linux-sysepoll
> > > thanks
> > >
> > >
> >
> >
>
>

--

-- 
Kevin Worthington


Gmane