/opt/atlassian/bitbucket/4.10.1/bin/setenv.sh: fork: Resource temporarily unavailable

root@server1 [~]# service atlbitbucket start

To run Bitbucket in the foreground, start the server with start-bitbucket.sh -fg

Starting Atlassian Bitbucket as dedicated user atlbitbucket

 

/opt/atlassian/bitbucket/4.10.1/bin/catalina.sh

/opt/atlassian/bitbucket/4.10.1/bin/setenv.sh: fork: retry: Resource temporarily unavailable

/opt/atlassian/bitbucket/4.10.1/bin/setenv.sh: fork: retry: Resource temporarily unavailable

/opt/atlassian/bitbucket/4.10.1/bin/setenv.sh: fork: retry: Resource temporarily unavailable

/opt/atlassian/bitbucket/4.10.1/bin/setenv.sh: fork: retry: Resource temporarily unavailable

/opt/atlassian/bitbucket/4.10.1/bin/setenv.sh: fork: Resource temporarily unavailable

/opt/atlassian/bitbucket/4.10.1/bin/setenv.sh: line 19: /set-bitbucket-home.sh: No such file or directory

 

There was a problem starting Bitbucket

 

Please help to solve the above error.

5 answers

This widget could not be displayed.

Hi Rohit, 

is your system running too many processes?the issue many occours when you run out of threads or run out of file descriptors.Reboot of the machine will work.

Thanks

Vishnu

This widget could not be displayed.

Thank vishnu, for quick reply

I have rebooted my machine but still I am getting same error.

I have also tried to increase file descriptors limit.

But I am getting same.

 

 

 

 

This widget could not be displayed.
Jeff Thomas Atlassian Team Nov 07, 2016

Is systemd in use on your Linux box? If so, check out Bitbucket Server is not available due to "java.lang.OutOfMemoryError: unable to create new native thread" which may be related. 

What is the output of ulimit -a when run as the atlbitbucket user?

This widget could not be displayed.

Hi

Finally I have created the new vps with centos 7.1 and followed the http://comtronic.com.au/how-to-install-atlassian-bitbucket-server/

I successfully installed the Bitbucket server.

It seems that it was issue with version , I have centos 6.2 on which I was trying to install Bitbucket server 4.10.1.

which was causing the issue.

By the way, Would you let me know which version of Bitbucket server should I use in centos 6.2 ?

 

Thanks

Rohit.

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,199 views 8 10
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