27 Nov 19:45
Re: event-handler in opensolaris
From: rkmr.em <at> gmail.com <rkmr.em <at> gmail.com>
Subject: Re: event-handler in opensolaris
Newsgroups: gmane.comp.web.lighttpd
Date: 2007-11-27 18:45:34 GMT
Subject: Re: event-handler in opensolaris
Newsgroups: gmane.comp.web.lighttpd
Date: 2007-11-27 18:45:34 GMT
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 t o 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.
AmandaOn 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
RSS Feed