[hudson] Restart hudson every 1-2 days

RESOLVED FIXED

Status

mozilla.org Graveyard
Server Operations
--
minor
RESOLVED FIXED
8 years ago
3 years ago

People

(Reporter: jbalogh, Assigned: fox2mike)

Tracking

Details

(Reporter)

Description

8 years ago
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 1

8 years ago
Yuck.
Assignee: server-ops → shyam
(Assignee)

Comment 2

8 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

8 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.
(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

8 years ago
Jeff, do you see any improvement?
(Reporter)

Comment 6

8 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
Last Resolved: 8 years ago
Resolution: --- → FIXED
(Assignee)

Comment 7

8 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"
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.