Comments (9)
Hi Allen,
Yes, mongo build does take a long time (2 -3 hrs). The issue that you see might be related to memory.
I have seen similar issue when running on a 2GB/4GB RAM VM. I could build when I moved on to a higher memory VM.
Can you let me know your VM configuration (RAM, Disk space) on which you are building the same.
Regards,
Amod
from docs.
Hello Amod,
Thanks for the quick answer! I am running the Docker Container on a LinuxONE Community Cloud Instance. The one I have set there has 2 CPUs, and 2GB of RAM. As for Disk Space I am not to sure, but when I do df -h
the largest number I see is 45GB. I can relaunch an Instance this time that can have 4 GB of RAM and try again and see if that works. I do not think I can go above 4GB though since 2 and 4 are the only option.
Thanks,
Allen
from docs.
Hi Allen,
4GB RAM might just work. Regarding 45GB, make sure you build in the folder which has than much space.
Do let me know the results.
Regards,
Amod
from docs.
Hey,
If you still run out-of-memory, you can use some GB of your disk space as additional swap space and change the over-commitment ratio of the system. That will make the build slower, but probably make it then.
best regards Matthias
from docs.
Hello All,
I retried building MongoDB on my LinuxONE Community Cloud Instance, but this time with 4GB RAM and it failed again with the same error. Not to sure what to do now.
@MaStr I do not think I can do that. Whenever I launch an Instance, it only allows me to change the amount of RAM I have. I have emailed LinuxONE to see if I could get a new instance with more than 4GB of RAM. Hopefully they say yes. :)
(Sorry for the late reply, it took a whole day for my LinuxONE Instance to delete, so I could create a new one with 4 GB of RAM, due to an LinuxONE Cloud Component malfunctioning, had to manually email LinuxONE for them to delete it. Another reason was that the download speeds were very slow. Apt-get Update was taking an hour to complete when it usually took a few seconds. This has been happening for the past few days and is still happening sadly. Here is an example, it took 31 minutes to download 17.6MBs. I was averaging 9570 B/s)
Thanks,
Allen
from docs.
Hi Allen,
There is one more option you could try.
Command "scons --opt --use-system-v8 --allocator=system all" builds all components. You could try building them individually.
Try building mongo, mongod and mongos individually using the following commands:
scons --opt --use-system-v8 --allocator=system mongo
scons --opt --use-system-v8 --allocator=system mongod
scons --opt --use-system-v8 --allocator=system mongos
Let me know if this works.
Regards,
Amod
from docs.
Hello Amod,
This seemed to have worked! It finished all three without any errors and I have all three as executables.
Does this mean I am now done with building MongoDB and can move onto building the MongoDB tools? Do I need the MongoDB tools?
Thank you very much for the help so far,
Allen
from docs.
Totally depends on what you're planning to do, but https://docs.mongodb.com/manual/tutorial/install-mongodb-on-linux/#run-mongodb is a good starting point.
from docs.
Hello All,
Thank you very much for help. I am pretty sure I have gotten MongoDB to run. If I run into more problems, which hopefully won't happen, I'll be sure to post them.
Thank you again for the help, I greatly appreciate it,
Allen
from docs.
Related Issues (20)
- New install procedure for PostgreSQL 9.4+ for RHEL 7.7 HOT 2
- wolfssl / mariadb HOT 3
- pgAdmin4 server-mode/phpMyAdmin/phpPgAdmin
- Error installing ElasticSearch on s390x - gradlew command - PKIX path building failed HOT 2
- Error installing node on s390x as per instructions in wiki for calico-3.x build HOT 3
- RHEL 7 LinuxONE build
- JNA error when installing elasticsearch 7.10.1 on RHEL8 HOT 2
- Title "Building Docker" is misleading. Should be "Installing Docker"
- Include latest versions of Docker HOT 1
- Support for Redhat 8.x for Node Exporter HOT 2
- failed to build netty-tcnative 2.0.46
- netty-tcnative-boringssl-static-2.0.46 seems failed to work on s390x HOT 1
- When build_kibana.sh support for RHEL 8.4 HOT 1
- elasticsearch 7.16.3 does not start on Debian 10 Buster HOT 2
- build_kibana.sh fails on RHEL 8.3 HOT 4
- Building OpenResty 1.21.4.1 gives 404 error at download step HOT 1
- New build for elasticsearch 7.17.7 HOT 1
- Build Script for Elasticsearch 8.7.0 HOT 3
- Document space necessary to complete installing bazel HOT 1
- Can't build InfluxDB HOT 9
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 docs.