Alluxio master Metaspace OOM
See original GitHub issueAlluxio Version:
Master branch
Describe the bug
- Master down
- master.out
java.lang.OutOfMemoryError: Metaspace
Dumping heap to /data/alluxio/alluxioenv/alluxio-logs/logs/master.hprof ...
Heap dump file created [6770171579 bytes in 46.476 secs]
Terminating due to java.lang.OutOfMemoryError: Metaspace
For now, mount 60 hdfs ufs can use 850MB metaspace.
To Reproduce
bin/alluxio fs mount /hdfs1 hdfs://localhost:1111/
jcmd <PID> VM.metaspace
bin/alluxio fs mount /hdfs2 hdfs://localhost:1112/
jcmd <PID> VM.metaspace
bin/alluxio fs mount /hdfs3 hdfs://localhost:1112/
jcmd <PID> VM.metaspace
...
Expected behavior
The metaspace used increase a small size.
Urgency
Urgent, it limit the count of mountpoint for our scenario.
Are you planning to fix it
Not yet.
Additional context
We should support 1k mountpoint with few of metaspace used.
A possible approach: put the common dependencies into a jar or classpath, use a customized parent classloader to load these class first.
Issue Analytics
- State:
- Created a year ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Scalability Tuning - Alluxio v2.9.0 (stable) Documentation
The Alluxio Master's ability to handle concurrent requests and parallelize recursive operations (i.e. full sync, check consistency) scales with the number of ...
Read more >Metastore Management - Alluxio v2.9.0 (stable) Documentation
Alluxio stores most of its metadata on the master node. The metadata includes the filesystem tree, file permissions, and block locations. Alluxio provides...
Read more >Introduction - Alluxio v2.9.0 (stable) Documentation
Intelligent Multi-tiering Caching: Alluxio clusters act as a read and write cache for data in connected storage systems. Configurable policies automatically ...
Read more >List of Metrics - Alluxio v2.9.0 (stable) Documentation
Name Type Description
Master.AbsentCacheHits GAUGE Number of cache hits on the absent cache
Master.AbsentCacheMisses GAUGE Number of cache misses on the absent cache
Master.AbsentCacheSize GAUGE Size...
Read more >Alluxio Monitoring Metrics | Tencent Cloud
BytesWrittenAlluxioThroughput, Bytes, Data write throughput to Alluxio storage by all ... Alluxio - master ... M, %, Percentage of used Metaspace memory.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
https://github.com/Alluxio/alluxio/pull/16145 @Haoning-Sun has a PR to fix it
It will increase 10M+ after mount a hdfs mount point, this can limit the count of mount point.