[Bug] Failed to start thread "GC Thread#0" - pthread_create failed (EPERM) for attributes:
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Reproduce the failure with the reported docker run command for hugegraph/hugegraph:1.7.0, then inspect the container logs and /hugegraph-server/hs_err_pid36.log. Compare the reported pthread and insufficient-resource errors with the container environment. Done means the container initializes and HugeGraphServer starts successfully on port 8080.
Written by the indexing model from the issue text.
Description
Bug Type (问题类型)
None
Before submit
- 我已经确认现有的 Issues 与 FAQ 中没有相同 / 重复问题 (I have confirmed and searched that there are no similar problems in the historical issue and documents)
Environment (环境信息)
(base) [root@lnpg ~]# docker run -itd --name=hugegraph -p 8080:8080 hugegraph/hugegraph:1.7.0
Unable to find image 'hugegraph/hugegraph:1.7.0' locally
1.7.0: Pulling from hugegraph/hugegraph
ad1a9d392ffd: Pull complete
393028e021f4: Pull complete
d8f2ffc099ec: Pull complete
1f45ae8edac9: Pull complete
4a49934c65ed: Pull complete
c16fda3c839e: Pull complete
4f4fb700ef54: Pull complete
d7335e14718b: Pull complete
fa265f9039bf: Pull complete
75fddef8729a: Pull complete
1e2b79a8d290: Pull complete
Digest: sha256:077b89e1f2d5e228d99598bdb537161fb2e8a7b5abedf4724d97cf4de11529ba
Status: Downloaded newer image for hugegraph/hugegraph:1.7.0
5d745f5c75f3e01700998e5f30715220fd077edb60377f88d3e923f595d188db
(base) [root@lnpg ~]# docker logs -f hugegraph
[hugegraph-server-entrypoint] init hugegraph with non-auth mode
Initializing HugeGraph Store...
[0.003s][warning][os,thread] Failed to start thread "GC Thread#0" - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.
There is insufficient memory for the Java Runtime Environment to continue.
Cannot create worker GC thread. Out of system resources.
An error report file with more information is saved as:
/hugegraph-server/hs_err_pid36.log
Initialization finished.
Starting HugeGraphServer in daemon mode...
Connecting to HugeGraphServer (http://0.0.0.0:8080/graphs)..Starting HugeGraphServer failed
See /hugegraph-server/logs/hugegraph-server.log for HugeGraphServer log output.
Expected & Actual behavior (期望与实际表现)
Vertex/Edge example (问题点 / 边数据举例)
Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 637
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 23
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/hugegraph
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 3/5 1-2 days Newbie friendliness 64/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 28/100
All issues in apache/hugegraph
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100