Background processes were killed when using RH6.4 as Master

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Background processes were killed when using RH6.4 as Master

QinTing
I have tried the following conditions:
  1. Master: CentOS release 6.8 (Final)    Slave: Red Hat Enterprise Linux Server release 6.4 (Santiago)  Result: Not Be Killed
  2. Master: Red Hat Enterprise Linux Server release 5.6 (Tikanga)   Slave: Red Hat Enterprise Linux Server release 6.4 (Santiago)  Result: Not Be Killed
  3. ⭐Master: Red Hat Enterprise Linux Server release 5.6 (Tikanga)   Slave: Red Hat Enterprise Linux Server release 6.4 (Santiago)  ResultBe Killed
Why Background processes be killed WHEN THE MASTER OS IS RH6.4? 

IS THIS A BUG OR SYSTEM SETTING ERROR? 


Experimental data:
Under normal condition, TOMCAT process will keep alive in the background.
BUT, using RH6.4 as jenkins masterTOMCAT process will be killed !

Code in Pipeline :
stage('Startup'){
    node('_your_node_'){
        timestamps {
            def exec = '''
            BUILD_ID=dontKillMe  ./call.sh 
            sleep 20
            '''
            sh exec
        }
    }
}

call.sh  :
#!/bin/sh
. ~/.bash_profile
${TOMCAT_HOME}/bin/startup.sh
 
Jenkins Version: 2.32.3 /  2.
JAVA Version: 1.8.0_121
TOMCAT Version(for jenkins): 9.0.0.M17


--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/af71ab60-2de5-4b90-b403-e662748be6f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Background processes were killed when using RH6.4 as Master

QinTing


在 2017年8月17日星期四 UTC+8下午11:12:10,秦霆写道:
I have tried the following conditions:
  1. Master: CentOS release 6.8 (Final)    Slave: Red Hat Enterprise Linux Server release 6.4 (Santiago)  Result: Not Be Killed
  2. Master: Red Hat Enterprise Linux Server release 5.6 (Tikanga)   Slave: Red Hat Enterprise Linux Server release 6.4 (Santiago)  Result: Not Be Killed
  3. ⭐Master: Red Hat Enterprise Linux Server release 5.6 (Tikanga)   Slave: Red Hat Enterprise Linux Server release 6.4 (Santiago)  ResultBe Killed
Why Background processes be killed WHEN THE MASTER OS IS RH6.4? 

IS THIS A BUG OR SYSTEM SETTING ERROR? 


Experimental data:
Under normal condition, TOMCAT process will keep alive in the background.
BUT, using RH6.4 as jenkins masterTOMCAT process will be killed !

Code in Pipeline :
stage('Startup'){
    node('_your_node_'){
        timestamps {
            def exec = '''
            BUILD_ID=dontKillMe  ./call.sh 
            sleep 20
            '''
            sh exec
        }
    }
}

call.sh  :
#!/bin/sh
. ~/.bash_profile
${TOMCAT_HOME}/bin/startup.sh
 
Jenkins Version: 2.32.3 /  2.60.1
JAVA Version: 1.8.0_121
TOMCAT Version(for jenkins): 9.0.0.M17


--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/2f7efdd7-1c6b-4a04-937a-e0d71c04e6bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Background processes were killed when using RH6.4 as Master

QinTing
In reply to this post by QinTing


在 2017年8月17日星期四 UTC+8下午11:12:10,秦霆写道:
I have tried the following conditions:
  1. Master: CentOS release 6.8 (Final)    Slave: Red Hat Enterprise Linux Server release 6.4 (Santiago)  Result: Not Be Killed
  2. Master: Red Hat Enterprise Linux Server release 5.6 (Tikanga)   Slave: Red Hat Enterprise Linux Server release 6.4 (Santiago)  Result: Not Be Killed
  3. ⭐Master: Red Hat Enterprise Linux Server release 5.6 (Tikanga)   Slave: Red Hat Enterprise Linux Server release 6.4 (Santiago)  ResultBe Killed
Why Background processes be killed WHEN THE MASTER OS IS RH6.4? 

IS THIS A BUG OR SYSTEM SETTING ERROR? 


Experimental data:
Under normal condition, TOMCAT process will keep alive in the background.
BUT, using RH6.4 as jenkins masterTOMCAT process will be killed !

Code in Pipeline :
stage('Startup'){
    node('_your_node_'){
        timestamps {
            def exec = '''
            BUILD_ID=dontKillMe  ./call.sh 
            sleep 20
            '''
            sh exec
        }
    }
}

call.sh  :
#!/bin/sh
. ~/.bash_profile
${TOMCAT_HOME}/bin/startup.sh
 
Jenkins Version: 2.32.3 /  2.60.1
JAVA Version: 1.8.0_121
TOMCAT Version(for jenkins): 9.0.0.M17


--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/e1a77f11-c714-4ee6-a3cf-7b24d2fcf5ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

ADDITIONAL..

QinTing
In reply to this post by QinTing
additional:
 
Jenkins Version: 2.32.3 /  2.60.1

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/739845c4-f9ac-4bda-96d5-7475eee63171%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.