Mike_Zou
(Mike Zou)
February 8, 2023, 3:16pm
1
Hello, I am trying to upgrade our developer edition SonarQube from 9.7 to 9.9-LTS in docker but got the following error:
sonarqube | [0.002s][warning][os,thread] Failed to start thread “GC Thread#0” - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.
sonarqube | #
sonarqube | # There is insufficient memory for the Java Runtime Environment to continue.
What should I do next? Thanks.
1 Like
Your docker host machine’s memory is not sufficient to run SonarQube container. Just raise host machine’s memory will be ok.
Mike_Zou
(Mike Zou)
February 15, 2023, 2:14pm
5
Thank you Jianbing.
I just checked the memory of the host:
total used free shared buff/cache available
Mem: 62Gi 40Gi 9.4Gi 201Mi 12Gi 21Gi
Swap: 975Mi 975Mi 0.0Ki
It looks like I have enough memory. Is there any other reason it might be? Thanks.
Mike_Zou
(Mike Zou)
February 16, 2023, 3:29am
6
Figured out. Thanks.
Our Docker version was too low. Upgraded to the latest and now it works.
mschnepper
(Mark Schnepper)
February 16, 2023, 8:07pm
9
Hey Mike I’m facing the same thing - what version of Docker were you using and which version did you upgrade to?
Mike_Zou
(Mike Zou)
February 16, 2023, 8:20pm
10
Hi Mark,
We are running Docker version 23.0.1, build a5ee5b1 on Ubuntu 20.04.2 LTS.
I don’t remember the old Docker version. If you let me know how I can figure out I might give it a shot.
Good luck!
mschnepper
(Mark Schnepper)
February 17, 2023, 6:40pm
11
Thanks Mike. I’ll push for an upgrade to our preloaded Docker installation accordingly. We’ve been using a much older version…
I suspect the problem is related to DOCKER-111 . I upgraded to 20.10.7 and am having other permissions-related issues now so there’s some progress at least.
Colin
(Colin)
February 18, 2023, 9:06am
12
Hey all.
As a heads-up, we’ve updated our Install the Server documentation to specify a Docker Engine version, and we should be updating our upgrade notes as well.
1 Like
mschnepper
(Mark Schnepper)
February 21, 2023, 4:44pm
13
Thank you for updating the documentation!
Hi, we’re also seeing this issue after upgrading from 8.9 to 9.9. However, we’re not using docker runtime, we’re using RHEL8 + containerd
Any advice on what we can do to resolve this?
ganncamp
(G Ann Campbell)
March 7, 2023, 5:39pm
15
Hi @Tony.Noble ,
This thread is about running 9.9 on Docker - which we support.
Yours sounds like a new topic.
Ann
nana995
(Nana Insaidoo)
April 11, 2024, 3:53pm
16
I faced the same issues on Ubuntu 16.04.7 LTS with Docker version 20.10.7 installed. I was able to resolve by invoking docker run with the parameters --security-opt seccomp=unconfined.
4 Likes