Question
Hello!
I'm looking for a alternative, minimalistic Webserver for our private TWiki. It lasts too long (up to 10 sec) until a page gets loaded with our apache, so we tend
not to work with TWiki...
I tried:
I like boa, but I don't have any idea, how to make it work with TWiki (because of the missing ".cgi" endings? I'm not sure...). The
test-cgi.cgi (from the
boa package) works fine, but with TWiki he either shows the view script or asks what to do with it in the browser. I also tried copying just the
view script to
view.cgi and setting
$scriptSuffix = '.cgi'; in
TWiki.cfg, but nothing changed.
Does anyone have TWiki running with a non-apache Webserver under Linux?
Or any other ideas?
Thanks a lot!
Susanne
Environment
--
SusanneRuppel - 20 May 2005
Answer
Heya,
I would not expect that you would see any speed up by using a different web server. TWiki is a very heavy weight web application (as I'm finding out as I try to keep TWiki.org up and running). the biggest improvment that I have been able to make is to install
SpeedyCgi - try that with apache - hopefully it will be a big improvement for you too.
(previously, on lower bandwidth twiki's I only made sure that all the topics (,v file included) could fit in memory (in the file cache) and all was good - but our temporary server couldn't possibly get that much memory
--
SvenDowideit - 21 May 2005
It did make a big difference - Thank you!
--
SusanneRuppel - 22 May 2005
My only trouble with TWiki
WAS its slow responsiveness. So I followed this post and installed perl-CGI-SpeedyCGI-2.22 on my Fedora system. Now TWiki feels like
10 times faster - its GREAT!!!
Just install the speedyCGI package and change the heads of ../twiki/bin/view (viewauth) scripts to call /usr/bin/speedy instead of /usr/bin/perl
That's all! takes 15 minutes and the speed increase is tremendous!
--
AronLentsch - 23 Nov 2005
10 sec does not sound right unless you have aging server hardware and a very high load. With recent hardware on Debian you should get 1 sec access time or less on small topics; this without a CGI accelerator. Try to debug where the slowdown occures, disable Plugins etc.
--
PeterThoeny - 24 Nov 2005
I have an old release of TWiki (Beijing era) running under thttpd. It wasn't so much the speed of TWiki I was trying to increase, but the footprint, complexity and security issues of apache I was trying to avoid. I haven't had any luck getting 4.0.5 to run under thttpd yet though. view works, edit doesn't and I haven't worked out how to enable debugging yet.
- update: I've got it working now.
--
CallumGibson - 12 Dec 2006
Callum, could you share your experience by creating a new
TWikiOnThttpd how-to document, starting fom
Codev.TWikiOn?
--
PeterThoeny - 12 Dec 2006