Once in a while the first page being requested by a client is delayed
by approximately 10s, even though there is no significant load on the
server. Usual delays are between 0 and 1s, rarely up to 4s (complex
database queries).
Any Ideas where to look for the cause of this?
I first thought the problem might be with the database connections.
However these same delays also happen with pages, that don't need to
connect at all...
--
Eric Jain
httpd.conf
----------
...
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 5
MinSpareServers 10
MaxSpareServers 20
StartServers 10
MaxClients 30
MaxRequestsPerChild 1000
...
startup.pl
----------
use strict;
use Apache::GTopLimit;
$Apache::GTopLimit::MAX_PROCESS_SIZE = 15000;
require BioDoc::Page;
require BioDoc::SQL;
use DBI ();
DBI->install_driver("Pg");
use CGI ();
CGI->compile(':standard');
1;