From: Peter <peter.spamcatcher@rimuhosting.com>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] Running JDK1.5 Maxes Out CPU
Date: Sun, 20 Mar 2005 09:31:48 +1200 [thread overview]
Message-ID: <423C9A44.2020802@rimuhosting.com> (raw)
In-Reply-To: <200503181843.05832.rob@landley.net>
Hi.
JDK1.4 runs well on UML guests.
JDK1.5 does not appear to run well on the UML guests. After the process
runs for a bit it ends up sitting at 100% CPU.
I have had problems on 2.4 kernels up to 2.6.9 guest kernels. I have
reproduced the problem on different guest distros (Debian, FC, and
WBEL3). And the problem has been reported by other users on the mailing
list here.
I do not see this problem on non-UML servers.
I am not sure what could be going on. But it seems possible that the
Java 1.5 VM is hitting some issue with the UML guest kernel.
To reproduce the problem (preferably on a Debian or FC/RHEL based
distro) download this:
http://downloads.rimuhosting.com/installjava.sh
Comment out the 1.4.2 file/dir at the top. Uncomment the 1.5 file/dir
variables
Run that script (it will install the 1.5 JDK).
Download and run http://downloads.rimuhosting.com/installtomcat5.sh
It will install tomcat5.5.7 under /usr/local/tomcat. Add a tomcat user.
And an /etc/init.d/tomcat stop/start/kill script.
Start tomcat with /etc/init.d/tomcat start
Run ab (ab is part of apache) like this:
ab -c 10 -n 10000
http://localhost:8080/jsp-examples/jsp2/tagfiles/products.jsp
Eventually the Java process will max out the CPU. Usually after
200-2000 requests.
"jstack $parentjavapid" will show the Java code that is executing. Not
that helpful.
strace on the java pids don't seem to show/help much.
Your help reproducing and resolving this problem would be greatly
appreciated.
Regards, Peter
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next prev parent reply other threads:[~2005-03-19 21:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-18 3:18 [uml-devel] Can't compile under vanilla 2.6.11 Ian McDonald
2005-03-18 3:40 ` Rob Landley
2005-03-18 6:34 ` Ian McDonald
2005-03-18 23:42 ` Rob Landley
2005-03-18 23:43 ` Rob Landley
2005-03-19 21:31 ` Peter [this message]
2005-03-21 4:43 ` BUG with proposed fix " Ian McDonald
2005-03-21 5:13 ` [uml-devel] 2.4 do_mmap_pgoff compile problem Peter
2005-03-22 17:50 ` Blaisorblade
2005-03-21 5:30 ` BUG with proposed fix Re: [uml-devel] Can't compile under vanilla 2.6.11 Ian McDonald
2005-03-24 11:03 ` Blaisorblade
2005-04-08 4:04 ` Ian McDonald
2005-04-08 4:24 ` Blaisorblade
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=423C9A44.2020802@rimuhosting.com \
--to=peter.spamcatcher@rimuhosting.com \
--cc=user-mode-linux-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.