You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Martin Jacobson <ma...@libero.it> on 2003/05/16 15:31:53 UTC
Unexpected delays on Sun Enterprise
Ideas needed!
I have a web application that I have developed on Mac OSX, and which
works very well. However, having ported it to the production server, a
Sun Enterprise 250, I am experiencing strange behaviour: every now and
then I will have to wait for anything up to a minute before I get a
reply to a request.
The local sys admin doesn't know what it could be, although he reports
that a colleague of his had a similar problem using Tomcat. Apparently,
this was specific to Sun Enterprise servers, but he never found the cause.
The sys admin suggests that it might be related to Oracle, as I use
MySQL in development, but I thought I'd ask if anyone on the list has
experienced this kind of thing before I go any further.
Server config:
Sun Enterprise 250
2 * UltraSparc processor, 2G ram
Solaris 8 with latest patches applied
Java 1.4.0
Tomcat 4.0.4
Oracle 8i
Development config:
Mac Powerbook
G3 500MHz
384M ram
Mac OS X 10.2.6
Java 1.4.1
Apache 2.1.43 + mod_jk
Tomcat 4.1.24LE
MySQL 4 (something) + InnoDb (for transaction support)
As you can see, the configurations are sufficiently different that it
will take some time to isolate the problem by trial and error
(particularly as none of the GNU stuff exists on the Sun), so if this
'rings bells' with anybody, I'd be grateful for a hint!
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Unexpected delays on Sun Enterprise
Posted by Austin Gonyou <au...@coremetrics.com>.
Use tomcat's debug logging and also look at the frequqency of your
garbage collection. If the same page takes a while after the first time,
then I'd recommend splitting your troubleshooting into two parts. Run
the oracle query through java (jdbc for you?), and just measure the
length of time over several runs for java to get the result set. If the
time is consistent, then you can move forward of your DB, and start
looking at how your app is rendering the page. Perhaps that's where most
of the time is being spent?
On Fri, 2003-05-16 at 08:31, Martin Jacobson wrote:
> Ideas needed!
>
> I have a web application that I have developed on Mac OSX, and which
> works very well. However, having ported it to the production server, a
> Sun Enterprise 250, I am experiencing strange behaviour: every now and
> then I will have to wait for anything up to a minute before I get a
> reply to a request.
> The local sys admin doesn't know what it could be, although he reports
> that a colleague of his had a similar problem using Tomcat. Apparently,
> this was specific to Sun Enterprise servers, but he never found the cause.
> The sys admin suggests that it might be related to Oracle, as I use
> MySQL in development, but I thought I'd ask if anyone on the list has
> experienced this kind of thing before I go any further.
>
> Server config:
> Sun Enterprise 250
> 2 * UltraSparc processor, 2G ram
> Solaris 8 with latest patches applied
> Java 1.4.0
> Tomcat 4.0.4
> Oracle 8i
>
> Development config:
> Mac Powerbook
> G3 500MHz
> 384M ram
> Mac OS X 10.2.6
> Java 1.4.1
> Apache 2.1.43 + mod_jk
> Tomcat 4.1.24LE
> MySQL 4 (something) + InnoDb (for transaction support)
>
> As you can see, the configurations are sufficiently different that it
> will take some time to isolate the problem by trial and error
> (particularly as none of the GNU stuff exists on the Sun), so if this
> 'rings bells' with anybody, I'd be grateful for a hint!
>
> Martin
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
--
Austin Gonyou <au...@coremetrics.com>
Coremetrics, Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org