Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket Server create 100% CPU utilization

Florian Cramer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 19, 2020

Since about two weeks we can regularly see Bitbucket Server (v7.3.2) create 100% CPU utilization on all of the 8 cores the VM running it has. The website is not accessible when this occurs, even when waiting for 10 minutes. The only way to make it accessible is by restarting the whole application.

One of the last times it happened I was able to connect to the application via JProfiler an get a thread dump. I could see multiple threads running in what seemed to me like an infinite loop. All the threads in org.hibernate.cache.spi.support.SimpleTimestamper.next() (line:38) where running.

As it seems to me that the problem has something to do with user directories I already replaced the direct LDAP directory connection with one that uses our Jira server to access the LDAP directory indirectly, but that did unfortunately not help.

After that I looked into the actual hibernate code which indeed runs in an infinite loop (although I do not really get why every thread says line 38 and not any of the other lines in the loop). Regarding this exact method I found Hibernate issue HHH-13664, but by monitoring the system time when the issue occurred another time I could rule out, that our servers time was set to any time in the past.

Right now we have to restart the application about 2 or 3 times a day (in about 9 office hours).

1 answer

0 votes
Team TI/BA February 2, 2021

We have a similar problem.

The VM is provided with 8 vCores. Regulary BitBucket uses up to 4 cores (~385%), but some times the cpu consumptionen rises up to 750%. Then the website isn't accessable.
After some minutes (up to one hour) the application calms down oneself without any restart, but in the meantime our devolpers can't work and our Jenkins processes hang up.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events