On Tue, 7 May 2002, Andrea Arcangeli wrote:
> If Marcelo accepts my patches, I will be very glad to replace khttpd
> with tux into mainline 2.4. The two products are completly equivalent
> and risking to increase the khttpd userbase just because tux isn't in
> mainline doesn't make any sense to me, it can only waste resources.
> (despite it makes much more sense to use zope, apache, servlets and php
> instead of tux for anything real, first of all for security reasons, but
> that's another issue, here the issue is khttpd vs tux and this one is a
> no brainer)
Yes, functionally khttpd and TuX are more or less equivalent, but khttpd
does not depend on any user space command, it is fully
configurable via procfs. If I do remember well when you showed me TuX
at SNS, it had to be managed trought some command line.
If khttpd bugs can be fixed, there is no real reason to replace it with
On the other side to merge TuX together with khttpd could seem a bad
replication, unnecessary for cleanness. What could be the really important
point is how well khttpd and TuX are maintained. TuX semms to be activelly
maintained, while khttpd maintainer was a little absent in recent past, it
What was surprising me is that I use khttpd since a lot of time, and while
I saw some of the secundary bugs reported here, it was stable for server
user on my servers, and they can be very stressed, and khttpd is very
usefull with high loads, expecially with sparc linux.
Probably that is
because I do not change khttpd configuration on the fly (I use from 2 to 8
threads depending on how many CPUs I have).
So I tested the patch posted here, and it worked (well the addons to the
README are quite important, but I am using even longer sleeps ;), due to
experience I had with khttpd, but that is not a real bug )
About the security reasons, you are not complitelly wrong nor complitelly
right. khttpd use apache or whatelse web server for everything is not a
static page, and for every static page that has not the correct
permissions. I tried a lot of time to crash it with high loads, but nope
even on a gigabit ethernet, all I could get is a 403 message.
Maybe on PCs it behaves differently...
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:30 EST