users@glassfish.java.net

Re: Separate threads per context

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Mon, 14 Dec 2009 09:49:34 -0800

On 12/11/09 11:54, glassfish_at_javadesktop.org wrote:
> We have a problem with Tomcat where multiple apps in one container are starving one another for threads. If one app starts hogging all the connections or threads, the other apps cannot run.
>
> Does Glassfish allow allocating a minimum number of threads per application, to prevent starvation?
>

Yes, this is supported via Grizzly's Application Resources Allocation
(ARA) extension.
See
http://weblogs.java.net/blog/jfarcand/archive/2006/04/resource_consum.html
for details.

Jan

> [Message sent by forum member 'jasonab' ]
>
> http://forums.java.net/jive/thread.jspa?messageID=376055
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>