apache / apache/couchdb

CouchDB memory consumption increases when deploying on RHEL9

Open
#4,586 2 comments 0 reactions 0 assignees View on GitHub
bug needs-triage
Dominant language
Erlang
Stars
7k
Forks
1.1k
Avg merge
1d 16h
Merged PRs (30d)
9

Description

## Description

I've noticed that CouchDB's memory usage increases abnormally when Hyperledger Fabric(HLF) is running on certain operating systems.

I deployed HLF v2.5.1, which uses CouchDB v3.3.2, on a VM with RHEL9 installed.
(In HLF, CouchDB is provided as a docker image; base OS is debian gnu/linux 11.)
Then the memory usage of the CouchDB container reached around 1.5GB.
I also found that the same phenomenon occurs when deploying HLF v2.4, which uses CouchDB v3.1.1, on RHEL9.
On the other hand, when deploying HLF on RHEL8 or Ubuntu, CouchDB memory usage was only about 50MB.

I know couchdb doesn't support RHEL9 yet. Will there be any possibilities that deploying a docker container including couchdb on RHEL9 causes high memry usage?

## Your Environment

* CouchDB version used: v3.3.2
* Browser name and version: N/A
* Operating system and version: RHEL9

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported CouchDB container memory usage with Hyperledger Fabric v2.5.1 and CouchDB v3.3.2 on RHEL9, then compare it with RHEL8 or Ubuntu and the CouchDB v3.1.1 setup. Determine whether the difference is caused by the RHEL9 Docker environment or CouchDB, with the abnormal memory increase explained or resolved as the measure of done.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, erlang, linux
Domain
databases, devops, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.