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

My bitbucket stuck at Atlassian Bitbucket is starting up Migrating home directory

v-natarajan November 26, 2018

Atlassian Bitbucket is starting up

Migrating home directory

Fatal Error

SpringMVC dispatcher [springMvc] could not be started

 

Capture.PNGCapture1.PNG

 

1 answer

0 votes
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 26, 2018

Hi,

The launcher.log and atlassian-bitbucket.log under <BitbucketHome>/log should have some more details on what error occurred causing this.

Cheers,

Christian

Premier Support Engineer

Atlassian

v-natarajan November 26, 2018

launcher.log

 

Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000e0000000, 108003328, 0) failed; error='Cannot allocate memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 108003328 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /opt/atlassian/bitbucket/5.12.0/bin/hs_err_pid22797.log

 

atlassian-bitbucket.log

 

2018-11-27 00:04:59,681 WARN  [http-nio-7990-exec-3]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [hazelcastFilter]; no Spring WebApplicationContext is available
2018-11-27 00:04:59,694 WARN  [http-nio-7990-exec-3]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2018-11-27 00:09:59,665 WARN  [http-nio-7990-exec-4]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [hazelcastFilter]; no Spring WebApplicationContext is available
2018-11-27 00:09:59,666 WARN  [http-nio-7990-exec-4]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2018-11-27 00:12:47,185 WARN  [http-nio-7990-exec-6]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [hazelcastFilter]; no Spring WebApplicationContext is available
2018-11-27 00:12:47,185 WARN  [http-nio-7990-exec-6]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2018-11-27 00:12:47,190 WARN  [http-nio-7990-exec-5]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [hazelcastFilter]; no Spring WebApplicationContext is available
2018-11-27 00:12:47,190 WARN  [http-nio-7990-exec-5]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2018-11-27 00:12:47,198 WARN  [http-nio-7990-exec-7]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [hazelcastFilter]; no Spring WebApplicationContext is available
2018-11-27 00:12:47,199 WARN  [http-nio-7990-exec-7]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2018-11-27 00:12:47,203 WARN  [http-nio-7990-exec-8]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [hazelcastFilter]; no Spring WebApplicationContext is available
2018-11-27 00:12:47,203 WARN  [http-nio-7990-exec-8]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2018-11-27 00:14:59,697 WARN  [http-nio-7990-exec-1]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [hazelcastFilter]; no Spring WebApplicationContext is available
2018-11-27 00:14:59,697 WARN  [http-nio-7990-exec-1]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2018-11-27 00:19:59,692 WARN  [http-nio-7990-exec-10]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [hazelcastFilter]; no Spring WebApplicationContext is available
2018-11-27 00:19:59,693 WARN  [http-nio-7990-exec-10]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2018-11-27 00:24:59,680 WARN  [http-nio-7990-exec-9]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [hazelcastFilter]; no Spring WebApplicationContext is available
2018-11-27 00:24:59,681 WARN  [http-nio-7990-exec-9]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2018-11-27 00:29:59,692 WARN  [http-nio-7990-exec-2]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [hazelcastFilter]; no Spring WebApplicationContext is available
2018-11-27 00:29:59,693 WARN  [http-nio-7990-exec-2]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2018-11-27 00:34:59,728 WARN  [http-nio-7990-exec-3]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [hazelcastFilter]; no Spring WebApplicationContext is available
2018-11-27 00:34:59,729 WARN  [http-nio-7990-exec-3]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2018-11-27 00:39:59,685 WARN  [http-nio-7990-exec-4]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [hazelcastFilter]; no Spring WebApplicationContext is available
2018-11-27 00:39:59,686 WARN  [http-nio-7990-exec-4]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2018-11-27 00:44:59,690 WARN  [http-nio-7990-exec-6]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [hazelcastFilter]; no Spring WebApplicationContext is available
2018-11-27 00:44:59,691 WARN  [http-nio-7990-exec-6]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2018-11-27 00:49:59,687 WARN  [http-nio-7990-exec-5]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [hazelcastFilter]; no Spring WebApplicationContext is available
2018-11-27 00:49:59,687 WARN  [http-nio-7990-exec-5]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is

Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 27, 2018

Hi,

 

Looks like the machine where you're trying to run Bitbucket Server doesn't have enough memory:

# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 108003328 bytes for committing reserved memory.

Cheers,

Christian

Premier Support Engineer

Atlassian

v-natarajan November 27, 2018

#There is insufficient memory for the Java Runtime Environment to continue.

How can i increase it?

I have already given my VM 6GB of RAM and it is using 4.5 out of 6GB.

Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 27, 2018

Hi,

Did you change the memory settings of Bitbucket Server before starting it, by any chance?

Either way, Bitbucket Server itself requires about 2 GB of memory, but the git processes that it starts require additional memory. If your machine only has 1.5 GB free, then this is not going to work and you'll need to allocate more memory to your VM.

Cheers,

Christan

Premier Support Engineer

Atlassian

v-natarajan November 28, 2018

Increased the size of Java Runtime Environment.

But still facing same issue in error log.

2018-11-28 00:12:46,836 WARN  [http-nio-7990-exec-10]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [hazelcastFilter]; no Spring WebApplicationContext is available
2018-11-28 00:12:46,849 WARN  [http-nio-7990-exec-10]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2018-11-28 00:12:46,854 WARN  [http-nio-7990-exec-1]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [hazelcastFilter]; no Spring WebApplicationContext is available
2018-11-28 00:12:46,855 WARN  [http-nio-7990-exec-1]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2018-11-28 00:12:46,862 WARN  [http-nio-7990-exec-2]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [hazelcastFilter]; no Spring WebApplicationContext is available
2018-11-28 00:12:46,863 WARN  [http-nio-7990-exec-2]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2018-11-28 01:12:46,798 WARN  [http-nio-7990-exec-3]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [hazelcastFilter]; no Spring WebApplicationContext is available
2018-11-28 01:12:46,799 WARN  [http-nio-7990-exec-3]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2018-11-28 01:12:46,805 WARN  [http-nio-7990-exec-5]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [hazelcastFilter]; no Spring WebApplicationContext is available
2018-11-28 01:12:46,805 WARN  [http-nio-7990-exec-5]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available
2018-11-28 01:12:46,814 WARN  [http-nio-7990-exec-4]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [hazelcastFilter]; no Spring WebApplicationContext is available
2018-11-28 01:12:46,814 WARN  [http-nio-7990-exec-4]  c.a.j.s.w.f.BypassableDelegatingFilterProxy Bypassing [requestAttributeFilter]; no Spring WebApplicationContext is available

v-natarajan December 5, 2018

Any update on issue?

Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 6, 2018

Hi,

The problem is not that the JVM's heap is too small, the problem is that you don't have enough RAM on the machine, so increasing the JVM heap will only make things worse. You will need to add more RAM.

Cheers,

Christian

Premier Support Engineer

Atlassian

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events