Question
Hello guys, I'm running twiki 4.1.2 on apache 2.2.6 with perl 5.8.8 on server grade hardware with windows 2003 enterprise edition. There are 3 questions.
The problem is that, during load tests, when we simulate requests coming from different machines, the apache server chokes and doesn't provide the expected response. I believe the main reason could be because of CGI, since each request spawns different "perl.exe"s. Will FCGI solve this problem?
We ran a similar test on IIS and it is easily able to handle more than a 1000 requests. Is there a way to optimise apache for twiki?
Is RHEL better suited or
CentOS better suited to run twiki? I know this question is silly but unfortunately, I do not have much experience setting up servers on linux.
Thanks a lot guys.
Environment
--
TWikiGuest - 31 Jan 2008
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Someone please help me
--
TWikiGuest - 01 Feb 2008
Guys, I tried using mod_perl from
http://perl.apache.org/
. Though it works for the ordinary perl scripts, apache crashes when I try to load any of the twiki pages. Here is the excerpt from the error log:
[Mon Feb 04 12:12:11 2008] [notice] Server built: Sep 5 2007 08:58:56
[Mon Feb 04 12:12:11 2008] [crit] (22)Invalid argument: Parent: Failed to create the child process.
[Mon Feb 04 12:12:11 2008] [crit] (OS 6)The handle is invalid. : master_main: create child process failed. Exiting.
[Mon Feb 04 12:12:11 2008] [notice] Parent: Forcing termination of child process 36
[Mon Feb 04 12:13:43 2008] [notice] Apache/2.2.6 (Win32) mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
Looking at the log, I think it is not able to find the
perl.exe properly. How can we find which script is causing the problem?
--
TWikiGuest - 04 Feb 2008
Friends, it looks like the problem is with apache 2.2.6. I upgraded to apache 2.2.8 and mod_perl works fine now.
--
TWikiGuest - 06 Feb 2008
Glad it worked out. Closing question now...
--
PeterThoeny - 03 Apr 2008