Closed
Bug 566718
Opened 14 years ago
Closed 14 years ago
[hudson] Restart hudson every 1-2 days
Categories
(mozilla.org Graveyard :: Server Operations, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jbalogh, Assigned: fox2mike)
Details
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 | ||
Comment 2•14 years ago
|
||
Going to see if I can make this happen in a nicer way rather than just restart it all the time.
Assignee | ||
Comment 3•14 years ago
|
||
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.
Comment 4•14 years ago
|
||
(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!
Assignee | ||
Comment 5•14 years ago
|
||
Jeff, do you see any improvement?
Reporter | ||
Comment 6•14 years ago
|
||
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
Closed: 14 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•14 years ago
|
||
For the sake of completeness, this is what I added to /etc/sysconfig/hudson : HUDSON_JAVA_OPTIONS="-Djava.awt.headless=true -Xincgc -Xms1024m -Xmx2048m"
Updated•9 years ago
|
Product: mozilla.org → mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•