What is the impact of having apache httpd allow keep alive requests when
using the AJP connector to tomcat?  Does this have any impact on
tomcat's thread usage?  How well does httpd itself deal with keep alive
pipelines under a heavy user load?

-Sean

On Mon, 2005-01-24 at 16:23 -0600, Filip Hanik - Dev wrote:
> no, think about it a little bit longer, what does a keepalive connection do,
> 
> it hogs one thread per client, not per concurrent user. so now other clients 
> will be stuck waiting cause you have keepalive turned
> on, and a user is sitting idle doing nothing, but yet, taking up server 
> resources
> 
> Filip
> 
> ----- Original Message -----
> From: "Dola Woolfe" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
> Sent: Monday, January 24, 2005 3:50 PM
> Subject: Re: Meaning of threads
> 
> 
> That's counterintuitive, isn't it?
> 
> How come?
> 
> --- Filip Hanik - Dev <[EMAIL PROTECTED]> wrote:
> 
> > the number of threads will depend on the size of
> > your machine,
> > but to support many concurrent users, you will want
> > to turn off keep alive connections, as these will
> > have the opposite effect.
> >
> > Filip
> >
> > ----- Original Message -----
> > From: "Dola Woolfe" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List"
> > <tomcat-user@jakarta.apache.org>
> > Sent: Monday, January 24, 2005 3:29 PM
> > Subject: Re: Meaning of threads
> >
> >
> > Yes, I get the direction this is going in!
> >
> > I assume that the reason for having threads waiting
> > is
> > that they take time to be created? And you don't
> > want
> > to have too many because they take up memory?
> >
> > I can't resist asking a question about optimal
> > values.
> > Since the answer is obviously "it depends" let me
> > put
> > my question this way. If you were running
> > "craigslist"
> > (I assume you've heard of it) what would these
> > values
> > be? How about ebay?
> >
> >
> > --- Filip Hanik - Dev <[EMAIL PROTECTED]> wrote:
> >
> > > >maxThreads="150"
> > >
> > > your server can handle a maximum of 150 concurrent
> > > clients
> > >
> > > >minSpareThreads="25"
> > > if your server is idle, it will at least have 25
> > > threads waiting to handle requests
> > >
> > > >maxSpareThreads="75"
> > > if your server is idle, it will have no more than
> > 75
> > > threads waiting to handle requests
> > >
> > > you get the direction this is going in, right?
> > > Filip
> > >
> > > ----- Original Message -----
> > > From: "Dola Woolfe" <[EMAIL PROTECTED]>
> > > To: "Tom Cat" <tomcat-user@jakarta.apache.org>
> > > Sent: Monday, January 24, 2005 2:51 PM
> > > Subject: Meaning of threads
> > >
> > >
> > > Hi,
> > >
> > > Where can I read about the meaning of the
> > following
> > > options: maxThreads="150" minSpareThreads="25"
> > > maxSpareThreads="75"
> > >
> > > My server tends to lock out a user who bombards it
> > > with requests so I'm wondering whether those
> > options
> > > have anything to do with it before I post the
> > > problem
> > > here.
> > >
> > >
> > > Aaron Fude
> > >
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > All your favorites on one personal page - Try My
> > > Yahoo!
> > > http://my.yahoo.com
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> > > [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail - You care about security. So do we.
> > http://promotions.yahoo.com/new_mail
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
> >
> 
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Helps protect you from nasty viruses.
> http://promotions.yahoo.com/new_mail
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to