users@glassfish.java.net

Re: Number of requests per second taken care by glassfish

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 18 Jun 2008 20:02:45 -0400

Salut,

glassfish_at_javadesktop.org wrote:
>> Well, are you using a database?
> yes - MySQL
>
>
>> Clearly the problem with this thread is the database seems to be the bottleneck, as all threads gets blocked trying to get a connection.
>
> I think not so - because:
> 1. Application uses only very simple SQL
> 2. MySQL slow query log does not show anything
> 3. Connections does not reach max
> 4. App-Performance log shows it occurs on first call of getParameter

How do you measure it?

>
>
> Dont know if its GlassFish issue or too small OS resources (RAM or something)
> But when two different persons report nearly same - then we all should try to find limits/reasons for this.

Agree. Except in that case really seems to be related to database. Your
issue is strange, but technically it can happens when bytes aren't
pushed fast enough from the OS/JDK. Do you think you can come with a
test case? This is quite hard for me to help unless I can see a jstack
or something that I can play with it.

Thanks

-- Jeanfrancois


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