[SERVER-34063] compile mongodb is too slowly,and it will spend too much disk and memory? Created: 22/Mar/18  Updated: 23/Mar/18  Resolved: 23/Mar/18

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: yxyxz123456 Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-34081 compile mongodb is too slowly, how to... Closed
Operating System: ALL
Participants:

 Description   

compile mongodb is too slowly,and it will spend too much disk resources, it will cost 30G disk.

how to compile mongodb more quickly. and how to save disk.

my mongo version is mongo-r3.6.1.

[root@master mongo-r3.6.1]# uname -a
Linux master 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@master mongo-r3.6.1]#



 Comments   
Comment by Ramon Fernandez Marina [ 23/Mar/18 ]

Looks like the same question as in SERVER-34081, so closing as a duplicate.

Comment by yxyxz123456 [ 22/Mar/18 ]

mongod that I compile have 885M,it is too large, your binary (mongod) only have 57M that I download。

my compile:
[root@master mongo-r3.6.1]# ls
APACHE-2.0.txt CONTRIBUTING.rst GNU-AGPL-3.0.txt README SConstruct build buildscripts debian distsrc docs etc jstests mongod pytests rpm site_scons src version.json
[root@master mongo-r3.6.1]# du -sh mongod
885M mongod
[root@master mongo-r3.6.1]#

download binary from mongo.org:
[xxx@ob-slave-280 bin]$ ls
bsondump install_compass mongo mongod mongodump mongoexport mongofiles mongoimport mongoperf mongoreplay mongorestore mongos mongostat mongotop
[xxx@ob-slave-280 bin]$ du -sh mongod
57M mongod
[xxx@ob-slave-280 bin]$

Comment by yxyxz123456 [ 22/Mar/18 ]

@Andrew Morrow
how to compile more quickly ?

Comment by yxyxz123456 [ 22/Mar/18 ]

I want to debug mongodb。

Comment by yxyxz123456 [ 22/Mar/18 ]

@Andrew Morrow
can you help me? thanks

Generated at Thu Feb 08 04:35:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.