Quantcast

Why jenkins restart every day?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Why jenkins restart every day?

Gaetan-3
Hello

My Jenkins installation want to restart everyday and and i don't find why.

I have a nightly test job that run for at least 15 hours, and when it is underway, jenkins switch to "Jenkins is going to shutdown" job, so it doesn't accept jobs. If I cancel it, some job can be started but it switch back to this shutdown mode.

I don't do jenkins update every day, so I don't see why it always wants to restart.

Any idea?
Many thanks!
-----
Gaetan


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

RE: Why jenkins restart every day?

Mandeville, Rob

I don’t know the answer, but didn’t want you to think we’re ignoring you.  I don’t think that the group has enough to bite on to answer this…yet.

 

My setup has Jenkins running for weeks at a time, so this is definitely not normal.

 

Some useful information might be:

 

1: Which version of Jenkins are you running?

2: Which OS are you running on?

3: Which web container are you running it in (Tomcat, Glassfish, Jetty, etc.)?  If you’re just running “java –jar jenkins.war” or somesuch, you’re using the internal Winstone container

4: How does your system launch Jenkins?  Is it a Unix init.d service, or a Windows service, or do you just launch it at the command line?

5: Are you using a plugin to back up your Jenkins configuration?  I had one at one point and it wanted to shut down my Jenkins daily so that it didn’t back up a moving target.

 

--Rob

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Gaetan
Sent: Tuesday, October 30, 2012 6:04 AM
To: Jenkins Users
Subject: Why jenkins restart every day?

 

Hello

 

My Jenkins installation want to restart everyday and and i don't find why.

 

I have a nightly test job that run for at least 15 hours, and when it is underway, jenkins switch to "Jenkins is going to shutdown" job, so it doesn't accept jobs. If I cancel it, some job can be started but it switch back to this shutdown mode.

 

I don't do jenkins update every day, so I don't see why it always wants to restart.

 

Any idea?

Many thanks!
-----
Gaetan

The information in this message is for the intended recipient(s) only and may be the proprietary and/or confidential property of Litle & Co., LLC, and thus protected from disclosure. If you are not the intended recipient(s), or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is prohibited. If you have received this communication in error, please notify Litle & Co. immediately by replying to this message and then promptly deleting it and your reply permanently from your computer.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Why jenkins restart every day?

Larry Shatzer, Jr.
In reply to this post by Gaetan-3
Are you running your job with this plugin: https://wiki.jenkins-ci.org/display/JENKINS/Exclusive+Execution+Plugin? It will prevent other jobs from running, and the way it does that is to put it into "shutdown" mode so no other jobs run at the same time.

On Tue, Oct 30, 2012 at 4:04 AM, Gaetan <[hidden email]> wrote:
Hello

My Jenkins installation want to restart everyday and and i don't find why.

I have a nightly test job that run for at least 15 hours, and when it is underway, jenkins switch to "Jenkins is going to shutdown" job, so it doesn't accept jobs. If I cancel it, some job can be started but it switch back to this shutdown mode.

I don't do jenkins update every day, so I don't see why it always wants to restart.

Any idea?
Many thanks!
-----
Gaetan



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Why jenkins restart every day?

Gaetan-3
Hello

Thanks for your quick answsers!

Here are mine :
- Latest Jenkins, using Linux standalone service (init.d). I'm under latest ubuntu 12.10
- I have the exclusive execution  plugin installed but I don't use it. I'm disabling it right now
- which backup plugin are you talking about? I'm using "Backup plugin", but since it doesn't seem to do the job, I'm also disabling it.

Regards,
-----
Gaetan




2012/10/30 Larry Shatzer, Jr. <[hidden email]>
Are you running your job with this plugin: https://wiki.jenkins-ci.org/display/JENKINS/Exclusive+Execution+Plugin? It will prevent other jobs from running, and the way it does that is to put it into "shutdown" mode so no other jobs run at the same time.


On Tue, Oct 30, 2012 at 4:04 AM, Gaetan <[hidden email]> wrote:
Hello

My Jenkins installation want to restart everyday and and i don't find why.

I have a nightly test job that run for at least 15 hours, and when it is underway, jenkins switch to "Jenkins is going to shutdown" job, so it doesn't accept jobs. If I cancel it, some job can be started but it switch back to this shutdown mode.

I don't do jenkins update every day, so I don't see why it always wants to restart.

Any idea?
Many thanks!
-----
Gaetan




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

RE: Why jenkins restart every day?

Eric Pyle-2

I have also seen our Jenkins get stuck in “Jenkins is going to shut down” mode, and it appears to be caused by the thin-backup plugin trying to begin a backup while a long-running job is running. The best solution seems to be to schedule nightly backups to run before starting any long-running jobs in the evening or overnight hours.

 

Regards,

Eric

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Gaetan
Sent: Tuesday, October 30, 2012 10:43 AM
To: [hidden email]
Subject: Re: Why jenkins restart every day?

 

Hello

 

Thanks for your quick answsers!

 

Here are mine :

- Latest Jenkins, using Linux standalone service (init.d). I'm under latest ubuntu 12.10

- I have the exclusive execution  plugin installed but I don't use it. I'm disabling it right now

- which backup plugin are you talking about? I'm using "Backup plugin", but since it doesn't seem to do the job, I'm also disabling it.

 

Regards,

-----
Gaetan



2012/10/30 Larry Shatzer, Jr. <[hidden email]>

Are you running your job with this plugin: <a href="https://wiki.jenkins-ci.org/display/JENKINS/Exclusive&#43;Execution&#43;Plugin" target="_blank">https://wiki.jenkins-ci.org/display/JENKINS/Exclusive+Execution+Plugin? It will prevent other jobs from running, and the way it does that is to put it into "shutdown" mode so no other jobs run at the same time.

 

On Tue, Oct 30, 2012 at 4:04 AM, Gaetan <[hidden email]> wrote:

Hello

 

My Jenkins installation want to restart everyday and and i don't find why.

 

I have a nightly test job that run for at least 15 hours, and when it is underway, jenkins switch to "Jenkins is going to shutdown" job, so it doesn't accept jobs. If I cancel it, some job can be started but it switch back to this shutdown mode.

 

I don't do jenkins update every day, so I don't see why it always wants to restart.

 

Any idea?

Many thanks!
-----
Gaetan

 

 

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Why jenkins restart every day?

Gaetan-3
Hello

I can confirm it was coming from the thinBackup plugin. Thanks a lot !

-----
Gaetan




2012/11/2 Eric Pyle <[hidden email]>

I have also seen our Jenkins get stuck in “Jenkins is going to shut down” mode, and it appears to be caused by the thin-backup plugin trying to begin a backup while a long-running job is running. The best solution seems to be to schedule nightly backups to run before starting any long-running jobs in the evening or overnight hours.

 

Regards,

Eric

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Gaetan
Sent: Tuesday, October 30, 2012 10:43 AM
To: [hidden email]
Subject: Re: Why jenkins restart every day?

 

Hello

 

Thanks for your quick answsers!

 

Here are mine :

- Latest Jenkins, using Linux standalone service (init.d). I'm under latest ubuntu 12.10

- I have the exclusive execution  plugin installed but I don't use it. I'm disabling it right now

- which backup plugin are you talking about? I'm using "Backup plugin", but since it doesn't seem to do the job, I'm also disabling it.

 

Regards,

-----
Gaetan



2012/10/30 Larry Shatzer, Jr. <[hidden email]>

Are you running your job with this plugin: https://wiki.jenkins-ci.org/display/JENKINS/Exclusive+Execution+Plugin? It will prevent other jobs from running, and the way it does that is to put it into "shutdown" mode so no other jobs run at the same time.

 

On Tue, Oct 30, 2012 at 4:04 AM, Gaetan <[hidden email]> wrote:

Hello

 

My Jenkins installation want to restart everyday and and i don't find why.

 

I have a nightly test job that run for at least 15 hours, and when it is underway, jenkins switch to "Jenkins is going to shutdown" job, so it doesn't accept jobs. If I cancel it, some job can be started but it switch back to this shutdown mode.

 

I don't do jenkins update every day, so I don't see why it always wants to restart.

 

Any idea?

Many thanks!
-----
Gaetan

 

 


Loading...