Re: [stable] 2.6.16.6 breaks java... sort of

From: Greg KH
Date: Wed Apr 19 2006 - 15:29:23 EST


On Wed, Apr 19, 2006 at 12:52:33PM -0600, David Wilk wrote:
> Howdy folks. thanks for the great work on the stable series, btw.
>
> 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?

thanks for letting us know about this,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/