ap1234
ap1234

Reputation: 539

Jenkins UI is not working but backend is fine

We are running into issues were the Jenkins UI stops working but backend is fine and is able to process all traffic.

Is there a way we can restart just the front end of jenkins ?

Thanks

Upvotes: 6

Views: 12332

Answers (2)

Tidhar Klein Orbach
Tidhar Klein Orbach

Reputation: 2966

I did some research about Jenkins UI freeze and found that in most of the times it happens due to the java garbage collector. Luckily it is something that you can configure, so this is what I suggest:

  1. read about java garbage collector if you are not familiar with it.
  2. enable GC logging for your Jenkins instance
  3. analyze GC logs with tools such as http://gceasy.io/
  4. add relevant GC flags to your Jenkins Java Opts
  5. repeat 2-4 until satisfied

For further reading see:

more resources:

Upvotes: 1

kartik
kartik

Reputation: 311

I ran into the same problem this week. These are the things I did:

Looked at the debugging steps given on Jenkins wiki, but it didn't work for me:https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+is+hanging

Later, I realised I might have memory issues on the server where I was running Jenkins, and the UI had crashed. Now, the UI won't load even after freeing up memory space.

Finally, I restarted my Jenkins server - something I was avoiding doing from the beginning - and it solved the issue and Jenkins UI came back up.

Thanks

Upvotes: 0

Related Questions