Re: Do virtual hosts need their own servers?

2001-08-25 Thread Ask Bjoern Hansen
On Thu, 16 Aug 2001, Dave Baker wrote: [...] > p.s. The processes could also be large because of suboptimal > coding, Scalability problems are almost never due to bad code and almost always due to bad design. > or (if they grow over time) memory leaks ... with possibly that as the exception. :

Re: Do virtual hosts need their own servers?

2001-08-25 Thread Ask Bjoern Hansen
On Thu, 16 Aug 2001, Jonathan Edwards wrote: > Related to this topic, I have a question about multiple > instances of Apache. We run two mod_perl enabled sites on two > separate IPs. These sites rely on mod_perl heavily. Each site > has a unique perl script that handles just about everything. > C

Re: Re: Do virtual hosts need their own servers?

2001-08-23 Thread Stas Bekman
On Tue, 21 Aug 2001, Andy Turner wrote: > On Tue, Aug 21, 2001 at 01:17:05PM +0800, Stas Bekman wrote: > > > Ahh, I was assuming a DBI handle lexically scoped to the handler subroutine, > > > sorry about the confusion. > > > > it can be lexically scoped, but it doesn't prevent you from reading fr

Re: Re: Do virtual hosts need their own servers?

2001-08-21 Thread Andy Turner
On Tue, Aug 21, 2001 at 01:17:05PM +0800, Stas Bekman wrote: > > Ahh, I was assuming a DBI handle lexically scoped to the handler subroutine, > > sorry about the confusion. > > it can be lexically scoped, but it doesn't prevent you from reading from > memory. It's not easy but possible. But thing

Re: Re: Do virtual hosts need their own servers?

2001-08-20 Thread Stas Bekman
On Mon, 20 Aug 2001, Andy Turner wrote: > On Mon, Aug 20, 2001 at 01:40:30PM +0800, Stas Bekman wrote: > > On Thu, 16 Aug 2001, Andy Turner wrote: > > > On Wed, Aug 15, 2001 at 12:54:58PM -0400, Philip Mak wrote: > > > > 1. A hacker with access to a virtual host on a mod_perl Apache can steal > >

Re: Re: Do virtual hosts need their own servers?

2001-08-20 Thread Andy Turner
On Mon, Aug 20, 2001 at 01:40:30PM +0800, Stas Bekman wrote: > On Thu, 16 Aug 2001, Andy Turner wrote: > > On Wed, Aug 15, 2001 at 12:54:58PM -0400, Philip Mak wrote: > > > 1. A hacker with access to a virtual host on a mod_perl Apache can steal > > > the Apache::DBI database handles of the other

Re: Do virtual hosts need their own servers?

2001-08-19 Thread Stas Bekman
On Thu, 16 Aug 2001, Andy Turner wrote: > On Wed, Aug 15, 2001 at 12:54:58PM -0400, Philip Mak wrote: > > When I have multiple virtual hosts running Apache::ASP (mod_perl), do they > > need to run their own instance of Apache? > > I would think so, but that doesn't seem to be you seem to have fig

[OT] Re: Do virtual hosts need their own servers?

2001-08-16 Thread Robert Landrum
At 3:21 PM -0400 8/16/01, Robert Landrum wrote: >Sorry for the slightly OT post... > >I found something interesting when playing with virtual hosts. > >We host anesthesiasafety.net as a virtual host along with serveral >other domains and some of our users are typing ANESTHESIASAFTY.NET >and it's

Re: Do virtual hosts need their own servers?

2001-08-16 Thread Ged Haywood
Hi there, On Thu, 16 Aug 2001, Jonathan Edwards wrote: > Apache is set to: > StartServers 10 > MaxClients 512 > > Is that to say that the max number of children is 20 (StartServers + > MaxSpareServers) or 512 (MaxClients) MaxClients. But if you have 10M unshared in each child and only 500M of

[OT] Re: Do virtual hosts need their own servers?

2001-08-16 Thread Robert Landrum
Sorry for the slightly OT post... I found something interesting when playing with virtual hosts. We host anesthesiasafety.net as a virtual host along with serveral other domains and some of our users are typing ANESTHESIASAFTY.NET and it's not matching in the "ServerAlias"es Is there a c

Re: Do virtual hosts need their own servers?

2001-08-16 Thread Jay Thorne
On Thu, 16 Aug 2001 14:24:50 -0400 Dave Baker <[EMAIL PROTECTED]> wrote: > Compare the memory requirement two sets of perl scripts against the > memory requirement of doubling the total number of apache processes. > > My personal opinion is that the latter will be a lot more expensive in > resou

Re: Do virtual hosts need their own servers?

2001-08-16 Thread Jonathan Edwards
From: "Dave Baker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Jonathan Edwards" <[EMAIL PROTECTED]> Sent: Thursday, August 16, 2001 12:24 PM Subject: Re: Do virtual hosts need their own servers? > On Thu, Aug 16, 2001 at 12:13:37PM -0600, Jonathan

Re: Do virtual hosts need their own servers?

2001-08-16 Thread Dave Baker
On Thu, Aug 16, 2001 at 12:13:37PM -0600, Jonathan Edwards wrote: > Related to this topic, I have a question about multiple instances of Apache. > We run two mod_perl enabled sites on two separate IPs. These sites rely on > mod_perl heavily. Each site has a unique perl script that handles just abo

Re: Do virtual hosts need their own servers?

2001-08-16 Thread Ged Haywood
Hi there, On Thu, 16 Aug 2001, Jonathan Edwards wrote: > Related to this topic, I have a question about multiple instances of Apache. > We run two mod_perl enabled sites on two separate IPs. These sites rely on > mod_perl heavily. Each site has a unique perl script that handles just about > ever

Re: Do virtual hosts need their own servers?

2001-08-16 Thread Ged Haywood
Hi there, On Thu, 16 Aug 2001, Dave Baker wrote: > On Thu, Aug 16, 2001 at 06:47:23PM +0100, Ged Haywood wrote: > > If one Apache is listening to port 80 then no others can. > Only one instance of apache can bind to the same port *on the same IP*. Oops. Yes of course, I should have said... 73

Re: Do virtual hosts need their own servers?

2001-08-16 Thread Jonathan Edwards
t: Thursday, August 16, 2001 11:56 AM Subject: Re: Do virtual hosts need their own servers? > On Thu, Aug 16, 2001 at 06:47:23PM +0100, Ged Haywood wrote: > > Hi there, > > > > On Wed, 15 Aug 2001, Philip Mak wrote: > > > > > When I have multiple virtual hosts runnin

Re: Do virtual hosts need their own servers?

2001-08-16 Thread Dave Baker
On Thu, Aug 16, 2001 at 06:47:23PM +0100, Ged Haywood wrote: > Hi there, > > On Wed, 15 Aug 2001, Philip Mak wrote: > > > When I have multiple virtual hosts running Apache::ASP (mod_perl), do they > > need to run their own instance of Apache? > > If one Apache is listening to port 80 then no ot

Re: Do virtual hosts need their own servers?

2001-08-16 Thread Ged Haywood
Hi there, On Wed, 15 Aug 2001, Philip Mak wrote: > When I have multiple virtual hosts running Apache::ASP (mod_perl), do they > need to run their own instance of Apache? If one Apache is listening to port 80 then no others can. This is why you will get an error message when you try to start an

Re: Do virtual hosts need their own servers?

2001-08-15 Thread Stas Bekman
On Wed, 15 Aug 2001, Philip Mak wrote: > When I have multiple virtual hosts running Apache::ASP (mod_perl), do they > need to run their own instance of Apache? > > I've read through http://perl.apache.org/guide/multiuser.html and this is > what I've gathered: > > 1. A hacker with access to a virt