Bug #68
closedCGIs don't work with linux-rtsig
Description
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.
-- lighttpd
Updated by Anonymous about 20 years ago
$ uname -a
Linux 213-146-167-224 2.4.26-1um #3 Thu Jun 3 22:56:55 UTC 2004 i686 unknown
-- lighttpd
Updated by stbuehler over 16 years ago
Let me quote http://lists.danga.com/pipermail/memcached/2004-March/000543.html:
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 about 9 years ago
Please withdraw. linux-rtsig support was removed from lighttpd 1.4.x in 2010:
commit 38f2d1ddd7d92e637afd377120003b0dcc404eee Author: Stefan B<C3><BC>hler <stbuehler@web.de> 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
Updated by stbuehler about 9 years ago
- Description updated (diff)
- Status changed from New to Wontfix
- Assignee deleted (
jan)
Updated by gstrauss about 1 year ago
- Status changed from Wontfix to Obsolete
- ASK QUESTIONS IN Forums set to No
Also available in: Atom