From: Hugh Dickins <hugh@veritas.com>
To: Greg KH <greg@kroah.com>
Cc: David Wilk <davidwilk@gmail.com>,
stable@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [stable] 2.6.16.6 breaks java... sort of
Date: Wed, 19 Apr 2006 20:57:42 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0604192046590.17491@blonde.wat.veritas.com> (raw)
In-Reply-To: <20060419192803.GA19852@kroah.com>
On Wed, 19 Apr 2006, Greg KH wrote:
> On Wed, Apr 19, 2006 at 12:52:33PM -0600, David Wilk wrote:
> >
> > I think an issue was introduced with mprotect (the first patch in
> > 2.6.16.6). With 2.6.16.5, tomcat runs fine (in sun-1.5), but in
> > 2.6.16.7, the JVM bails out complaining that it couldn't allocate
> > enough heap space.
> >
> > If I remove '-Xmx768m' from JAVA_OPTS, then the JVM is able to
> > startup. The machine had 1GB of RAM and 2GB of swap, so it should
> > have had plenty to give the JVM the 1GB it expects to get with an Xmx
> > of 768MB, and this worked in 2.6.16.5 and below.
> >
> > I don't know if this is expected and satisfactory behavior, but I
> > figured I should give ya'll the heads up.
>
> Odds are it isn't "expected", but Hugh would be the best judge of that.
> Hugh?
Neither expected nor satisfactory. Sorry about that. We were hoping
the straightforward shm/mprotect fix would be good enough, but it
appears not. JVM is probably doing something we can allow with a
more complicated patch, but it _might_ turn out to be doing something
we simply cannot allow: I'll hope for the first and work out a patch
for that; but won't be ready to post it until tomorrow.
If you can get an strace of what it's doing, David, please mail that
to me; but I'm guessing that it may be hard to get, and dispiritingly
large: so don't worry unless it's easy for you.
> thanks for letting us know about this,
Indeed, and sorry for the inconvenience.
Hugh
next prev parent reply other threads:[~2006-04-19 19:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <a4403ff60604191152u5a71e70fr9f54c104a654fc99@mail.gmail.com>
2006-04-19 19:28 ` Greg KH
2006-04-19 19:57 ` Hugh Dickins [this message]
2006-04-20 16:24 ` Hugh Dickins
2006-04-20 17:10 ` David Wilk
2006-04-21 19:08 ` David Wilk
2006-04-21 19:27 ` Chris Wright
2006-04-21 20:43 ` David Wilk
2006-04-21 21:56 ` David Wilk
2006-04-23 12:41 ` Hugh Dickins
2006-04-24 20:59 ` David Wilk
2006-04-25 17:51 ` Hugh Dickins
2006-04-25 18:08 ` David Wilk
2006-04-25 18:28 ` Hugh Dickins
2006-04-26 5:12 ` Andi Kleen
2006-04-26 8:03 ` Adrian Bunk
2006-04-26 21:40 ` David Wilk
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=Pine.LNX.4.64.0604192046590.17491@blonde.wat.veritas.com \
--to=hugh@veritas.com \
--cc=davidwilk@gmail.com \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®