httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bj <bjkh...@gmail.com>
Subject Re: [users@httpd] Load balancing question
Date Sat, 15 Sep 2007 08:17:48 GMT
What says your mod_jk status page ?
try to monitor during the load to see if your workers are in error or OK
state, il the max busy is reached,....
Then look at your logs (mod_jk, apache, tomcat, webapps logs, windows,...)

As said before, you should check the number of tcp connections opened. If
your do not use keep alive feature you can have a bootleneck there (apache
and tomcat servers).You can also have error like max opened file reached.
Then look at the load average,system cpu, iowait,..

You can also monitor your tomcats through JMX (using jconsole or
missioncontrol) to check that garbage collections works fine and just don't
hang up too long.

try to deactivate the 2 tomcat instances on your apache server to see if
httpd is still available after the load test.

-- 
Bj


On 9/14/07, James Sherwood <jsherwood@rgisolutions.com> wrote:
>
> Hello,
>
> Everything is Windows2003 Server.
>
> After the load we cannot load pages either through apache or by contacting
> tomcat directly.
>
> I beleive you are on the right path tho, about connections not getting
> released, thats what I figure it is too but I do not know how to fix it.
>
> Thanks,
> James
>
>
> ----- Original Message -----
> From: "AFrieze" <AFrieze@simmgene.com>
> To: <users@httpd.apache.org>
> Sent: Friday, September 14, 2007 12:02 PM
> Subject: Re: [users@httpd] Load balancing question
>
>
> >
> >>
> >> We also have the problem of once the load stops, the sites are still
> down
> >> but Apache/tomcats still seem to be running fine.  A restart of
> >> either(not even both) fixes the sites.
> > A guess
> >
> >  Your apache server is not releasing connections.  If you are running
> > linux, type  "netstat -vat" into a terminal on your apache machine,
> before
> > and after you hit your server.  See if the connections are being
> released.
> >
> > You could also try typing "ps -e | grep "httpd"" to see how many apache
> > processes are being run before/after.  Look in the apache error log,
> etc.
> > You might find a clue like "MaxClients reached"
> >
> > Question
> > Are you able to log into all your tomcats(through port 8080) independent
> > of apache and get served requests?  Can you log onto apache and get a
> > statically served page?
> >
> > Cheers
> > AFrieze
> >
> > ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP Server
> Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
> > __________ NOD32 2529 (20070913) Information __________
> >
> > This message was checked by NOD32 antivirus system.
> > http://www.eset.com
> >
> >
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message