tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik - Dev" <devli...@hanik.com>
Subject Re: Meaning of threads
Date Mon, 24 Jan 2005 22:23:21 GMT
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" <dolachin@yahoo.com>
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 <devlists@hanik.com> 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" <dolachin@yahoo.com>
> 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 <devlists@hanik.com> 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" <dolachin@yahoo.com>
> > 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:
> > tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> > tomcat-user-help@jakarta.apache.org
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> > tomcat-user-help@jakarta.apache.org
> >
> >
>
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - You care about security. So do we.
> http://promotions.yahoo.com/new_mail
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
>
>




__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message