* Re: linux and high volume web sites
2001-04-28 9:01 linux and high volume web sites valery
@ 2001-04-28 8:14 ` David Lang
2001-04-28 20:55 ` Tim Moore
0 siblings, 1 reply; 4+ messages in thread
From: David Lang @ 2001-04-28 8:14 UTC (permalink / raw)
To: valery; +Cc: linux kernel
watch the resonate heartbeat and see if it is getting lost in the network
traffic (the resonate logs will show missing heartbeat packets). think
seriously of setting the resonate stuff to run at a higher priority so
that it doesn't get behind.
depending on how high your network traffic is seriously look at putting in
a second nic and switch to move the NFS traffic off the network that has
the internet traffic and hearbeat.
I had the same problem with central dispatch a couple years ago when first
implementing it. the exact details of the problem that I ran into should
have been fixed by now (mostly having to do with large number of virtual
IP addresses) but the symptoms were the same.
David Lang
On
Sat, 28 Apr 2001, valery wrote:
> Date: Sat, 28 Apr 2001 11:01:19 +0200
> From: valery <valery.brasseur@atosorigin.com>
> To: linux kernel <linux-kernel@vger.kernel.org>
> Subject: linux and high volume web sites
>
> I have a high volume web site under linux :
> kernel is 2.2.17
> hardware is 5 bi-PIII 700Mhz / 512Mb, eepro100
> all server are diskless (nfs on an netapp filer) except for tmp and swap
>
> dispatch is done by the Resonate product
>
> web server is apache+php (something like 400 processes), database
> backend is a mysql on the same hardware
>
>
> in high volume from time to time machines are "freezing" then after a
> few seconds they "reappear" and response timne is
>
>
> how can I investigate all these problems ?
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* linux and high volume web sites
@ 2001-04-28 9:01 valery
2001-04-28 8:14 ` David Lang
0 siblings, 1 reply; 4+ messages in thread
From: valery @ 2001-04-28 9:01 UTC (permalink / raw)
To: linux kernel
I have a high volume web site under linux :
kernel is 2.2.17
hardware is 5 bi-PIII 700Mhz / 512Mb, eepro100
all server are diskless (nfs on an netapp filer) except for tmp and swap
dispatch is done by the Resonate product
web server is apache+php (something like 400 processes), database
backend is a mysql on the same hardware
in high volume from time to time machines are "freezing" then after a
few seconds they "reappear" and response timne is
how can I investigate all these problems ?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux and high volume web sites
2001-04-28 8:14 ` David Lang
@ 2001-04-28 20:55 ` Tim Moore
2001-05-01 7:08 ` Sean Hunter
0 siblings, 1 reply; 4+ messages in thread
From: Tim Moore @ 2001-04-28 20:55 UTC (permalink / raw)
To: David Lang; +Cc: valery, linux kernel
David Lang wrote:
>
> watch the resonate heartbeat and see if it is getting lost in the network
> traffic (the resonate logs will show missing heartbeat packets). think
> seriously of setting the resonate stuff to run at a higher priority so
> that it doesn't get behind.
>
> depending on how high your network traffic is seriously look at putting in
> a second nic and switch to move the NFS traffic off the network that has
> the internet traffic and hearbeat.
>
> I had the same problem with central dispatch a couple years ago when first
> implementing it. the exact details of the problem that I ran into should
> have been fixed by now (mostly having to do with large number of virtual
> IP addresses) but the symptoms were the same.
In addition to the above make sure there's enough bandwidth to the filer
(eg- good switches, multiple ethernets).
Consider moving to 2.2.19. Significant VM changes after 2.2.19pre3 which
could account for the freezes.
rgds,
tim.
> > I have a high volume web site under linux :
> > kernel is 2.2.17
> > hardware is 5 bi-PIII 700Mhz / 512Mb, eepro100
> > all server are diskless (nfs on an netapp filer) except for tmp and swap
> >
> > dispatch is done by the Resonate product
> >
> > web server is apache+php (something like 400 processes), database
> > backend is a mysql on the same hardware
> >
> > in high volume from time to time machines are "freezing" then after a
> > few seconds they "reappear" and response timne is
> >
> >
> > how can I investigate all these problems ?
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux and high volume web sites
2001-04-28 20:55 ` Tim Moore
@ 2001-05-01 7:08 ` Sean Hunter
0 siblings, 0 replies; 4+ messages in thread
From: Sean Hunter @ 2001-05-01 7:08 UTC (permalink / raw)
To: Tim Moore; +Cc: David Lang, valery, linux kernel
Also make sure you aren't suffering database lock contention from Mysql. This
causes very fast context switching on the database server, and is typically
unable to do useful work even though its load avg is not high. "vmstat" is
useful here.
Sean
On Sat, Apr 28, 2001 at 01:55:01PM -0700, Tim Moore wrote:
> David Lang wrote:
> >
> > watch the resonate heartbeat and see if it is getting lost in the network
> > traffic (the resonate logs will show missing heartbeat packets). think
> > seriously of setting the resonate stuff to run at a higher priority so
> > that it doesn't get behind.
> >
> > depending on how high your network traffic is seriously look at putting in
> > a second nic and switch to move the NFS traffic off the network that has
> > the internet traffic and hearbeat.
> >
> > I had the same problem with central dispatch a couple years ago when first
> > implementing it. the exact details of the problem that I ran into should
> > have been fixed by now (mostly having to do with large number of virtual
> > IP addresses) but the symptoms were the same.
>
> In addition to the above make sure there's enough bandwidth to the filer
> (eg- good switches, multiple ethernets).
>
> Consider moving to 2.2.19. Significant VM changes after 2.2.19pre3 which
> could account for the freezes.
>
> rgds,
> tim.
>
> > > I have a high volume web site under linux :
> > > kernel is 2.2.17
> > > hardware is 5 bi-PIII 700Mhz / 512Mb, eepro100
> > > all server are diskless (nfs on an netapp filer) except for tmp and swap
> > >
> > > dispatch is done by the Resonate product
> > >
> > > web server is apache+php (something like 400 processes), database
> > > backend is a mysql on the same hardware
> > >
> > > in high volume from time to time machines are "freezing" then after a
> > > few seconds they "reappear" and response timne is
> > >
> > >
> > > how can I investigate all these problems ?
>
> --
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-05-01 7:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-28 9:01 linux and high volume web sites valery
2001-04-28 8:14 ` David Lang
2001-04-28 20:55 ` Tim Moore
2001-05-01 7:08 ` Sean Hunter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox