[Bug 541520] Re: Using incorrect JVM Garbage Collector

2010-04-23 Thread Gabriel Nell
Done (#568823). As I say I'm still not convinced about the CMS collector as a default, but I'll follow up later if I become more passionate about it. :) -- Using incorrect JVM Garbage Collector https://bugs.launchpad.net/bugs/541520 You received this bug notification because you are a member of

[Bug 541520] Re: Using incorrect JVM Garbage Collector

2010-04-22 Thread Thierry Carrez
This bug being closed, could we move this (interesting) discussion to a new bug report, something like further refining of Tomcat's JVM default parameters ? I'm all open to improvement in that area, but i'm far from being a Tomcat memory expert or someone that knows how it's used by most people,

[Bug 541520] Re: Using incorrect JVM Garbage Collector

2010-04-21 Thread Gabriel Nell
The point that we know something the JVM can't know, eg, that this JVM is running a web server, is fair. I'm still not convinced that specifying the CMS collector is the right application of this knowledge, and I'm new to Ubuntu (from a contributor standpoint, anyway) so I don't know what the

Re: [Bug 541520] Re: Using incorrect JVM Garbage Collector

2010-04-21 Thread Aaron J. Zirbes
I'm OK with moving the -Xmx128M parameter out onto one of the comment lines as this is a commonly known and understood parameter. Most google (bing?) searches will advise you to adjusting this parameter when you come upon memory problems. If we want to ensure that we don't assign

[Bug 541520] Re: Using incorrect JVM Garbage Collector

2010-04-20 Thread Gabriel Nell
Folks -- sorry for chiming in here after the train has apparently left the station :) I've been working on optimizing my Tomcat configuration for the past couple days, and this optimization has mostly centered around the garbage collector. I'm concerned that specifying the CMS collector is

[Bug 541520] Re: Using incorrect JVM Garbage Collector

2010-04-20 Thread Jason Brittain
Gabriel: It's certainly alright to still discuss this. It's a complex issue, with (I think) only very rough solutions. I agree that the JVM authors are saying that if you cannot know in advance very much about how the Java program is going to be using the JVM, and if you cannot know about the

[Bug 541520] Re: Using incorrect JVM Garbage Collector

2010-03-31 Thread Launchpad Bug Tracker
This bug was fixed in the package tomcat6 - 6.0.24-2ubuntu1 --- tomcat6 (6.0.24-2ubuntu1) lucid; urgency=low [ Thierry Carrez ] * Uploading what 6.0.24-5 should be (upload is blocked in Debian due to current infrastructure issues), in order to meet Beta2Freeze. [ Niels

[Bug 541520] Re: Using incorrect JVM Garbage Collector

2010-03-24 Thread Thierry Carrez
It should not break because authbind is special-cased in the init script: Init script sets: JAVA_OPTS=-Djava.awt.headless=true -Xmx128m Then sources the defaults file, which may or may not override JAVA_OPTS Then if authbind is set, it does: JAVA_OPTS=$JAVA_OPTS -Djava.net.preferIPv4Stack=true

[Bug 541520] Re: Using incorrect JVM Garbage Collector

2010-03-24 Thread Jason Brittain
Ahh, yes. That's true. I now remember that I made sure to enable that switch whenever authbind is enabled. But, also, I seem to remember some past issues that were fixed by setting -Djava.net.preferIPv4Stack=true by default.. though I can't find any of those in the ASF Tomcat bugzilla at the

[Bug 541520] Re: Using incorrect JVM Garbage Collector

2010-03-23 Thread Jason Brittain
Thierry: There is part of this patch's change that may cause authbind to fail: -# You may pass JVM startup parameters to Java here. -#JAVA_OPTS=-Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Xmx128m +# You may pass JVM startup parameters to Java here. If unset, the default +# options

[Bug 541520] Re: Using incorrect JVM Garbage Collector

2010-03-22 Thread Thierry Carrez
** Changed in: tomcat6 (Ubuntu) Importance: Low = Medium ** Changed in: tomcat6 (Ubuntu) Status: Confirmed = In Progress ** Changed in: tomcat6 (Ubuntu) Assignee: (unassigned) = Thierry Carrez (ttx) -- Using incorrect JVM Garbage Collector https://bugs.launchpad.net/bugs/541520

[Bug 541520] Re: Using incorrect JVM Garbage Collector

2010-03-22 Thread Thierry Carrez
Here is the patch I'll apply as soon as maven-repo-helper gets synced, just in case Debian wants to apply it before :) ** Attachment added: proposed-patch http://launchpadlibrarian.net/41623441/proposed-patch -- Using incorrect JVM Garbage Collector https://bugs.launchpad.net/bugs/541520 You

[Bug 541520] Re: Using incorrect JVM Garbage Collector

2010-03-19 Thread Chuck Short
Which version is this for? Regards chuck ** Changed in: tomcat6 (Ubuntu) Importance: Undecided = Low ** Changed in: tomcat6 (Ubuntu) Status: New = Incomplete -- Using incorrect JVM Garbage Collector https://bugs.launchpad.net/bugs/541520 You received this bug notification because

[Bug 541520] Re: Using incorrect JVM Garbage Collector

2010-03-19 Thread Thierry Carrez
I think this is valid for any 6.0.x versions. I asked Jason Brittain for advice on how much this is desirable in the default install. ** Changed in: tomcat6 (Ubuntu) Status: Incomplete = Confirmed -- Using incorrect JVM Garbage Collector https://bugs.launchpad.net/bugs/541520 You

[Bug 541520] Re: Using incorrect JVM Garbage Collector

2010-03-19 Thread Jason Brittain
My short opinion is: Yes, it does make sense to use the CMS GC for Tomcat by default. Aaron: Thanks very much for the link to Sun's Hotspot memory management white paper, and for the suggestion to use CMS by default. I have seen quite a few production Tomcat environment config files over the

[Bug 541520] Re: Using incorrect JVM Garbage Collector

2010-03-18 Thread Aaron J. Zirbes
** Patch added: Improved tomcat6 file http://launchpadlibrarian.net/41253077/tomcat6 -- Using incorrect JVM Garbage Collector https://bugs.launchpad.net/bugs/541520 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to tomcat6 in ubuntu.

[Bug 541520] Re: Using incorrect JVM Garbage Collector

2010-03-18 Thread Brian Murray
** Tags added: patch -- Using incorrect JVM Garbage Collector https://bugs.launchpad.net/bugs/541520 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to tomcat6 in ubuntu. -- Ubuntu-server-bugs mailing list