tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: 100% usage and hanging on startup of Spring/Hibernate app in Tomcat 5.5 on Ubuntu 7
Date Tue, 01 Sep 2009 14:56:36 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bradley,

On 8/31/2009 5:27 PM, Bradley Wagner wrote:
> The three thread dumps were from three different occurrences of the same
> problem and three consecutive startup attempts.
> 
> With each occurrence, the startup process hangs in the middle of
> initialization. I took 2-3 jstack dumps that were identical each time. After
> that, I killed the process (kill -9 <pid>) and started it again.
> 
> So, while it's not hanging in the same place every time, it's definitely
> hanging every time. And because it's the main initialization thread that is
> hanging, once it hangs, it never gets any further.

Hmm. Do you trust your hardware?

If you've tried several JVM versions and client vs. server (which are
essentially different JVMs) and they are all having problems, then the
JVM itself is probably not to blame (although using JPDA gets you off
the hook? weird: try running in interpreted mode... run with -Xint just
for giggles).

How much physical memory does your machine have? How much swap space?
Try running badblocks on your swap partition. Try running memtest86+ on
your hardware (if it's x86... you didn't say).

Are you running the latest kernel version available? We use
2.6.30-gentoo-r4 on one of our development boxes, 2.6.26-2-openvz-686
(from Debian) on another development box (it's an openvz VM),
2.6.18-6-686 (Debian, again) in production, and 2.4.27-2-686-smp (also
Debian... 2.4? Yikes?!) in demo. All of these seem to have no problem
running our applications for months and months.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqdNiQACgkQ9CaO5/Lv0PDOMgCgsxCDcoOnQA8eKfVDumfER1I7
eQkAn1JrCr0k7mWJyTusbcnU6Tf4Raj2
=35B0
-----END PGP SIGNATURE-----

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


Mime
View raw message