GithubHelp home page GithubHelp logo

Comments (5)

kportertx avatar kportertx commented on May 24, 2024 1

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.

kportertx avatar kportertx commented on May 24, 2024 1

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.

mdnfiras avatar mdnfiras commented on May 24, 2024

any ideas what could be the problem here? we are still experiencing this. should we update to latest version?

from aerospike-server.

mdnfiras avatar mdnfiras commented on May 24, 2024

@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.

kportertx avatar kportertx commented on May 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.