users@glassfish.java.net

Re: Performance Problem

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Tue, 10 Jun 2008 20:39:15 -0400

glassfish_at_javadesktop.org wrote:
>> Can you increase the keep-alive's max-connections from 256 to let's say 1024
>
> Tried it, but problem still exist.

OK makes sense. I suspect you are facing the following bug:

https://glassfish.dev.java.net/issues/show_bug.cgi?id=4987

I'm attaching the patch for the issue. Mainly, just do:

% cd ${glassfish.home}/lib
% cp appserv-rt.jar appserv-rt.jar.back
% unzip patch_issue5000.jar
% jar uvf appserv-rt.jar com

Then edit domain.xml and add the following property:

-Dcom.sun.enterprise.web.connector.grizzly.maxSelectors=130

(match you thread-count="130" value from domain.xml)

Then restart. I suspect it will fix your issue.

Thanks

-- Jeanfrancois





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