Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket to many open files


I found in atlassian-bitbucket.log messages : "to many open files...."

In what file in application should i add "ulimit -v unlimited" ?

I read this article but didnt undestand about bitbucket

3 answers

1 vote

It might be worth checking to ensure you are not impacted by this bug:

If you are not running on a version of Bitbucket that contains a fix it is worth upgrading.

0 votes
edwin Community Leader Jun 14, 2018

Hi @Михаил Малиновкин,

This can be set in multiple ways - in


or running the command itself in the prompt, but this option might not be permanent.

Hi? thanks for your answer. 

Can i add this parameter (ulimit -v unlimited) maybe in this files of application:


edwin Community Leader Jun 14, 2018

Not entirely sure since it is setting the value for the service that's running Bitbucket. And it is looking to read it from the environment. 

bitbucket           soft    nofile          unlimited
bitbucket           hard    nofile          unlimited

Thanks a lot. I will try this parameters.

0 votes
Tahir Bhat Atlassian Team Jun 29, 2020

Add these lines to your /etc/security.limits.conf

atlbitbucket soft nofile 4096
atlbitbucket hard nofile 4096

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

1,926 views 0 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you