Project

General

Profile

Actions

Bug #68

closed

CGIs don't work with linux-rtsig

Added by Anonymous over 16 years ago. Updated over 5 years ago.

Status:
Wontfix
Priority:
Normal
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

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

Actions #1

Updated by Anonymous over 16 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

Actions #2

Updated by stbuehler about 13 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.

Actions #3

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 <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
Actions #4

Updated by stbuehler over 5 years ago

  • Description updated (diff)
  • Status changed from New to Wontfix
  • Assignee deleted (jan)
Actions

Also available in: Atom