Stash is reaching resource limits

We saw a message in Stash today that said 'Stash is reaching resource limits'.

How can I find out which resource Stash was running out of exaclty?
We are running Stash on RHEL 5.9 for the application server and MS SQL for the data server and both machines have plenty or free disc space and free memory.

2 answers

Hi Ben,

It's nothing to do with the database, more to do with Git. Chances are your CI servers are hitting Stash with too many concurrent clones. This might help explain what's happening.

https://confluence.atlassian.com/display/STASH/Scaling+Stash+for+Continuous+Integration+performance

Depending on your version of Stash the cache should be enabled by default though. I recommend raising a support ticket with your support zip attached so we can see what's going on.

Cheers,

Charles

I raised a ticket with Atlassian support and have been told to wait for the problem to happen again so I can capture JVM process information to get a better idea about what is going on. It could be a while before we get a good answer on this one.

Hi Ben,

If you attach a support zip to that ticket we can still take a look at the access logs (which are always generated) to get an idea of what might have been the problem. I'll talk to the support team now as well.

Cheers,

Charles

0 votes

More details about this issue can be found here: https://confluence.atlassian.com/display/STASHKB/Stash+is+reaching+resource+limits

Best regards,
Thiago Bomfim
Atlassian Support

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

433 views 6 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you