Please set up a cron job to restart hudson every 1 or 2 days. Hudson is a Java beast that will keep gobbling up memory forever. It starts running pretty slowly eventually, and now it's not even responding. This should happen late at night when only wenzel might be affected. `/etc/init.d/hudson restart` should take care of it. Thanks!
Assignee: server-ops → shyam
Going to see if I can make this happen in a nicer way rather than just restart it all the time.
Okay, I've enabled -Xincgc which is the incremental garbage collector (vs doing it all in one shot after ages). This is off by default (yay java!) and so let's see if this helps. Jeff, let me know if it makes a difference :) It should...hopefully.
(In reply to comment #0) > This should happen late at night when only wenzel might be affected. boo. (In reply to comment #2) > Going to see if I can make this happen in a nicer way rather than just restart > it all the time. yay!
Jeff, do you see any improvement?
It's still running over 2 gigs of memory, but it's still responsive a week after comment 3. I'll reopen the bug if it gets bogged down again. Thanks Shyam.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
For the sake of completeness, this is what I added to /etc/sysconfig/hudson : HUDSON_JAVA_OPTIONS="-Djava.awt.headless=true -Xincgc -Xms1024m -Xmx2048m"
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.