Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-2978

Jenkins restarts automatically

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Not A Defect
    • Labels:
      None
    • Environment:
      Jenkins 2.263
      Master -Windows 2016 Standard
      java version -jre1.8.201
    • Similar Issues:

      Description

      HI Team ,

      Jenkins server which we use get restarted one or twice a week after we restart the server physically only the issue stops temporarily or else it occurs twice or thrice continuously  .if we check the event viewer i can see following errors (screenshot attached .i had also checked the jenkins wrapper log  and i can see following error.

       

      2021-05-10 05:25:10,065 DEBUG - Starting WinSW in the service mode
      2021-05-10 05:25:10,125 INFO - Starting E:\Build_System\Jenkins\jre\jre1.8.0_201\bin\java -Xrs -Xmx6G -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "E:\Build_System\Jenkins\jenkins.war" --httpPort=80 --webroot="E:\Build_System\Jenkins\war" --httpsPort=443 --httpsKeyStore="E:\Build_System\Jenkins/ssl/keystore.jks" --httpsKeyStorePassword=changeit
      2021-05-10 05:25:10,131 INFO - Extension loaded: killOnStartup
      2021-05-10 05:25:10,135 DEBUG - Checking the potentially runaway process with PID=8240
      2021-05-10 05:25:10,146 WARN - Stopping the runaway process (pid=8240) and its children. Environment was checked, affiliated service ID: Jenkins, process to kill: System.Diagnostics.Process (java)
      2021-05-10 05:25:10,638 INFO - Found child process: 5940 Name: conhost.exe
      2021-05-10 05:25:10,819 INFO - Stopping process 5940
      2021-05-10 05:25:10,822 INFO - Send SIGINT 5940
      2021-05-10 05:25:10,823 WARN - SIGINT to 5940 failed - Killing as fallback
      2021-05-10 05:25:10,824 INFO - Stopping process 8240
      2021-05-10 05:25:10,826 INFO - Send SIGINT 8240
      2021-05-10 05:25:10,915 WARN - SIGINT to 8240 failed - Killing as fallback
      2021-05-10 05:25:11,116 INFO - Started process 6984
      2021-05-10 05:25:11,116 DEBUG - Forwarding logs of the process System.Diagnostics.Process (java) to winsw.SizeBasedRollingLogAppender
      2021-05-10 05:25:11,116 INFO - Recording PID of the started process:6984. PID file destination is E:\Build_System\Jenkins\jenkins.pid
      2021-05-10 09:42:04,252 DEBUG - Starting WinSW in the service mode
      2021-05-10 09:42:04,305 INFO - Starting E:\Build_System\Jenkins\jre\jre1.8.0_201\bin\java -Xrs -Xmx6G -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "E:\Build_System\Jenkins\jenkins.war" --httpPort=80 --webroot="E:\Build_System\Jenkins\war" --httpsPort=443 --httpsKeyStore="E:\Build_System\Jenkins/ssl/keystore.jks" --httpsKeyStorePassword=changeit
      2021-05-10 09:42:04,311 INFO - Extension loaded: killOnStartup
      2021-05-10 09:42:04,314 DEBUG - Checking the potentially runaway process with PID=6984
      2021-05-10 09:42:04,324 WARN - Stopping the runaway process (pid=6984) and its children. Environment was checked, affiliated service ID: Jenkins, process to kill: System.Diagnostics.Process (java)
      2021-05-10 09:42:04,669 INFO - Found child process: 2948 Name: conhost.exe
      2021-05-10 09:42:04,833 INFO - Stopping process 2948
      2021-05-10 09:42:04,836 INFO - Send SIGINT 2948
      2021-05-10 09:42:04,838 WARN - SIGINT to 2948 failed - Killing as fallback
      2021-05-10 09:42:04,838 INFO - Stopping process 6984
      2021-05-10 09:42:04,841 INFO - Send SIGINT 6984
      2021-05-10 09:42:04,872 WARN - SIGINT to 6984 failed - Killing as fallback
      2021-05-10 09:42:05,062 INFO - Started process 6140
      2021-05-10 09:42:05,062 DEBUG - Forwarding logs of the process System.Diagnostics.Process (java) to winsw.SizeBasedRollingLogAppender
      2021-05-10 09:42:05,093 INFO - Recording PID of the started process:6140. PID file destination is E:\Build_System\Jenkins\jenkins.pid
      2021-05-10 09:45:12,873 INFO - Stopping Jenkins
      2021-05-10 09:45:12,873 DEBUG - ProcessKill 6140
      2021-05-10 09:45:55,165 DEBUG - Starting WinSW in the service mode
      2021-05-10 09:45:55,540 INFO - Starting E:\Build_System\Jenkins\jre\jre1.8.0_201\bin\java -Xrs -Xmx6G -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "E:\Build_System\Jenkins\jenkins.war" --httpPort=80 --webroot="E:\Build_System\Jenkins\war" --httpsPort=443 --httpsKeyStore="E:\Build_System\Jenkins/ssl/keystore.jks" --httpsKeyStorePassword=changeit
      2021-05-10 09:45:55,603 INFO - Extension loaded: killOnStartup
      2021-05-10 09:45:55,603 DEBUG - Checking the potentially runaway process with PID=6140
      2021-05-10 09:45:55,696 DEBUG - No runaway process with PID=6140. The process has been already stopped.
      2021-05-10 09:45:56,181 INFO - Started process 3932
      2021-05-10 09:45:56,181 DEBUG - Forwarding logs of the process System.Diagnostics.Process (java) to winsw.SizeBasedRollingLogAppender
      2021-05-10 09:45:56,181 INFO - Recording PID of the started process:3932. PID file destination is E:\Build_System\Jenkins\jenkins.pid

       

       

        Attachments

        1. Capture.PNG
          Capture.PNG
          90 kB
        2. Capture1.PNG
          Capture1.PNG
          94 kB
        3. Capture2.PNG
          Capture2.PNG
          85 kB
        4. Capture3.PNG
          Capture3.PNG
          102 kB

          Activity

          Hide
          danielbeck Daniel Beck added a comment -

          This is the issue tracker of the Jenkins project infrastructure.

          Please see these instructions how to report a bug in Jenkins or a plugin: https://www.jenkins.io/participate/report-issue/

          Show
          danielbeck Daniel Beck added a comment - This is the issue tracker of the Jenkins project infrastructure. Please see these instructions how to report a bug in Jenkins or a plugin: https://www.jenkins.io/participate/report-issue/

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            hbalakri Hemant
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: