Comments (5)
I have seen this post which explains why does it consumes this much memory, but i don't see why this memory is not released after migration is done.
That's a very stale KB article. The issue with threads loading entire partitions into memory was addressed back in Aerospike 3.x. I've requested this be reviewed internally.
from aerospike-server.
Could you provide the output of:
ipcs
If the migrations were from decreasing the cluster size, it is possible that the primary index added one or more stages. The primary index is allocated in 1 GiB stages (by default). Primary index memory isn't ever freed back to the OS, the free space in the stages is managed by Aerospike.
from aerospike-server.
any ideas what could be the problem here? we are still experiencing this. should we update to latest version?
from aerospike-server.
@kportertx thanks for the response! right now there are no migrations happening, and the output of ipcs
in all 3 nodes is:
# ipcs
------ Message Queues --------
key msqid owner perms used-bytes messages
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
------ Semaphore Arrays --------
key semid owner perms nsems
from aerospike-server.
Oh, right, this is Aerospike Community so ipcs
will not show primary index stages because the primary index isn't stored in shared memory. We do not have a metric that shows how many stages the primary index has allocated, so I cannot definitively say that this is the cause in your case, but I believe it is the most likely explanation.
from aerospike-server.
Related Issues (20)
- build fails on AArch64, Fedora 33 HOT 1
- Vault integration breaks with 5.6.0.3 HOT 2
- What is the difference between the enterprise version of the source code? HOT 1
- error creating fabric published endpoint list HOT 4
- client write failed but still can read the data? HOT 1
- How to compile aerospike without jemalloc? HOT 2
- dirty read if the connection is not stable? HOT 3
- Missing cf_queue_priority.h while make aerospike-server-master in CentOS7.5 HOT 1
- ASan reports stack-buffer-underflow HOT 8
- Is it legal to modify / bypass limitations (eg. maximum 8 nodes) in the source codes ? HOT 1
- Lost data written before all nodes initialized or data not synced? HOT 1
- aerospike_telemetry.service is marked executable HOT 1
- Unable to install Aerospike on Macbook M1 Pro while using ubuntu Vm HOT 2
- Include Ubuntu 22.04 LTS package into release HOT 3
- Document supported hardware architectures HOT 1
- Server repeatedly crashes during "reading device" after restart HOT 3
- Failed build on GCC 12
- Porting PPC64LE HOT 1
- Clarification about truncation with specific LUT
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aerospike-server.