CGIs don't work with linux-rtsig
When i set the event handler to linux-rtsig and try to access a CGI url, I get no reply, the connection just stays open and nothing happens. No CPU usage. Everything works fine with poll.
Updated by stbuehler about 13 years ago
rtsig is an absolute piece of shit interface. Two smart people tried to
make it work with libevent and spent a lot of time working on it but never
got anywhere because it's just so horribly broken.
I thought the libevent maintainer disabled it. :/ You really shouldn't
be using it.
Just use poll/select. CPU usage will be slightly higher.
So.. you know what to do :)
If someone helps to find the problem we may fix it; a strace would be good start.
I guess the signal isn't delivered correctly if we fork, perhaps we need to do setsid(0) or something like that after every fork.
Updated by gstrauss over 5 years ago
Please withdraw. linux-rtsig support was removed from lighttpd 1.4.x in 2010:
commit 38f2d1ddd7d92e637afd377120003b0dcc404eee Author: Stefan B<C3><BC>hler <firstname.lastname@example.org> Date: Fri Aug 6 21:57:15 2010 +0000 cleanup fdevent code, removed linux-rtsig handler, replaced some fprintf calls git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2752 152afb58-edef-0310-8abb-c4023f1b3aa9
Also available in: Atom