Git Product home page Git Product logo

Comments (7)

rhishikeshj avatar rhishikeshj commented on July 24, 2024

I have had a similar experience with getting this MongoDB jepsen suite running locally with docker. Information about the code that I am using

Jepsen : commit a2bcad59f0df5bd39cea1e61d9b64376c479df9c (HEAD -> main)
MongoDB : commit 83548bb8e054170ecc4b8fda70390e40fcca5e30 (origin/master, origin/HEAD)

Initially I had an issue of not enough nodes (by default Jepsen starts 5 nodes in docker) as evident by this function jepsen.mongodb.db/shard-node-plan I fixed that by adding 2 more nodes.
Then I hit another roadblock, while installing mongoDB on each node, it error'd out saying that a required dependency can't be found, specifically libcurl3 So apparently, libcurl4 and libcurl3 don't work well together and inspite of efforts I wasn't able to get libcurl3 and mongo running. So I changed the way Jepsen was installing MongoDB and followed the official documentation that installs Mongo 4.2 on Ubuntu. That worked.
But now I am still unable to run the tests as every time there seems to be some SSH related exception saying the control node cant reach the DB nodes.
@aphyr Jepsen as a tool is amazing. Thank you for all your work ! It would be wonderful if there was some guide on getting the kind of tests running locally as mentioned in the blog.

from mongodb.

aphyr avatar aphyr commented on July 24, 2024

Native memory allocation (mmap) failed to map 12884901888 bytes for committing reserved memory.

Sounds like your machine doesn't have enough memory to run that particular test? That might be because the test you're running hardcodes a higher memory limit--take a look at project.clj's jvm-opts key; you might be able to turn down -Xmx to a smaller value.

from mongodb.

aphyr avatar aphyr commented on July 24, 2024

I have had a similar experience

Sorry, are you also running into out-of-memory issues? It sounds like you might be trying to run a test written specifically for Debian on top of Ubuntu nodes. The docker tool should set up Debian nodes by default--did it not do that for you?

from mongodb.

rhishikeshj avatar rhishikeshj commented on July 24, 2024

@aphyr I mis-wrote :) I meant I am also facing issues setting this up locally using docker.

I am running Debian nodes as the docker tool is setting them up by default. I only changed the installation instructions for MongoDB since the default instructions in setup! were error'ing out due to a libcurl3 dependency.
Instructions that I have coded into setup! instead : https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/

from mongodb.

aphyr avatar aphyr commented on July 24, 2024

Do you want to open a different issue, so we don't confuse @Tsunaou?

from mongodb.

aphyr avatar aphyr commented on July 24, 2024

(it'd also be helpful to have, like... some kind of source code, the console output, the stacktrace you're getting, etc etc)

from mongodb.

rhishikeshj avatar rhishikeshj commented on July 24, 2024

Do you want to open a different issue, so we don't confuse @Tsunaou?

Will do

from mongodb.

Related Issues (5)

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.