Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] What is correct procedure to restart HIPP instance?

Although the Stop/Start/Restart facility is meant as a "right now" facility, it sends a SIGTERM to all the processes that are currently running by the HIPP user in question. As SIGTERM is a "polite request to terminate", they are given the opportunity to clean-up and terminate (which I assume they do), or to ignore the signal.

If you want more proper termination (ie, no aborted jobs) then you should place Hudson into shutdown mode to prevent it from queueing more jobs, which a system-level process cannot do.

Denis




On 05/21/2015 11:57 AM, David M Williams wrote:
I'm wondering if this is a "bug", or I do not know correct procedure to
restart a HIPP instance. Today I restarted 'simrel' HIPP instance, and
was surprised it actually "killed" a job in progress to do the restart.
No harm for what it did today, but ... was just surprised. I thought it
would first put Hudson into that "waiting for jobs to finish before
restarting" state, and then, restart once current jobs were complete.

Am * I * supposed to put it in that "prepare to restart" mode first? And
then press the restart button on accounts page?

Or .... should I enter a feature request, to allow both type of
restarts? (restart now, killing jobs if needed, vs. restart once current
jobs are complete?).

Thanks,



_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cbi-dev



Back to the top