question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Alluxio master Metaspace OOM

See original GitHub issue

Alluxio 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:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
LuQQiucommented, Sep 13, 2022
0reactions
maobaolongcommented, Aug 4, 2022

It will increase 10M+ after mount a hdfs mount point, this can limit the count of mount point.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found