[Koha-devel] mod_fcgid
Thomas Krichel
krichel at openlib.org
Thu Apr 8 16:51:55 CEST 2010
Hi Koha gang,
I have koha running on a 500MB box, vintage 2000, maybe. Slow.
I use it for a cataloging class. There 12 students use it
simulatneously. Verrrry ssssllllooowwww. Half of class itme is spent
waiting for koha.
Now I thought I may be able to speed it up with mod_fcgid. I add
FcgidInitialEnv PERL5LIB /usr/share/koha/lib
<Directory "/usr/share/koha/intranet/">
AddHandler fcgid-script .pl
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
<Directory "/usr/share/koha/opac/cgi-bin/">
AddHandler fcgid-script .pl
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
<Directory "/usr/share/koha/opac/cgi-bin/koha/errors/">
AddHandler fcgid-script .pl
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
to both web server configurations.
In the apache error log, I see the contents of an error
page, that has
<h1>An Error has Occurred!</h1>
<h2>Error 500</h2>
<ul style="margin-bottom: 1em; padding-bottom: 1em; border-bottom: 1px solid #CCC;">
<li>In Koha this typically means that the Koha team is working on new features</li>
<li>Wait while system maintenance is being done or <a href="mailto:root at localhost">email the Koha Administrator</a>.</li>
<li>Use top menu bar to navigate to another part of Koha.</li>
</ul>
How this comes to the apache error log is a mystery to me.
The koha-error log reports
[Thu Apr 08 10:10:01 2010] [error] [client 74.72.242.150] Premature end of script headers: mainpage.pl
[Thu Apr 08 10:10:02 2010] [warn] [client 74.72.242.150] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Thu Apr 08 10:10:02 2010] [error] [client 74.72.242.150] Premature end of script headers: 500.pl
which does not give me a trace on where to to look for the
problem.
Does anybody have a hint?
Cheers,
Thomas Krichel http://openlib.org/home/krichel
http://authorclaim.org/profile/pkr1
skype: thomaskrichel
More information about the Koha-devel
mailing list