Hi,
I am getting below error message while running mongod through config file. Please suggest.
Config Contents File:
++++++++++++++++++++++
vagrant@m103:~/data$ cat mongod.conf
storage:
dbPath: “/data/db”
systemLog:
path: “/data/db/mongod.log”
destination: “file”
logAppend: true
net:
port: 27000
bindIp: “192.168.103.100,127.0.0.1”
security:
authorization: “enabled”
Error Details:
++++++++++++++++++++++++++++++++++++++++
vagrant@m103:~$ mongod -f /home/vagrant/data
tcmalloc: large alloc 9223372036854775808 bytes == (nil) @
2019-05-20T06:54:40.877+0000 F - [main] out of memory.
0x7fe0ffed1331 0x7fe0ffed0964 0x7fe0fffbfafb 0x7fe100062524 0x7fe0ffdf1db3 0x7fe0ffde679f 0x7fe0ffdeef01 0x7fe0fe53a171 0x7fe0fe52a583 0x7fe0ffe85c74 0x7fe0ffe86352 0x7fe0fe535297 0x7fe0fe4bb079 0x7fe0fa88ef45 0x7fe0fe52541f
----- BEGIN BACKTRACE -----
{“backtrace”:[{“b”:“7FE0FDAEA000”,“o”:“23E7331”,“s”:"_ZN5mongo15printStackTraceERSo"},{“b”:“7FE0FDAEA000”,“o”:“23E6964”,“s”:"_ZN5mongo29reportOutOfMemoryErrorAndExitEv"},{“b”:“7FE0FDAEA000”,“o”:“24D5AFB”},{“b”:“7FE0FDAEA000”,“o”:“2578524”,“s”:"_Znam"},{“b”:“7FE0FDAEA000”,“o”:“2307DB3”,“s”:"_ZNSt6vectorIcSaIcEE17_M_default_appendEm"},{“b”:“7FE0FDAEA000”,“o”:“22FC79F”,“s”:“ZN5mongo17optionenvironment13OptionsParser14readConfigFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS7”},{“b”:“7FE0FDAEA000”,“o”:“2304F01”,“s”:"_ZN5mongo17optionenvironment13OptionsParser3runERKNS0_13OptionSectionERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISB_EERKSt3mapISB_SB_St4lessISB_ESaISt4pairIKSB_SB_EEEPNS0_11EnvironmentE"},{“b”:“7FE0FDAEA000”,“o”:“A50171”,“s”:"_ZN5mongo17optionenvironment46_mongoInitializerFunction_StartupOptions_ParseEPNS_18InitializerContextE"},{“b”:“7FE0FDAEA000”,“o”:“A40583”,“s”:“ZNSt17_Function_handlerIFN5mongo6StatusEPNS0_18InitializerContextEEPS4_E9_M_invokeERKSt9_Any_dataOS3”},{“b”:“7FE0FDAEA000”,“o”:“239BC74”,“s”:"_ZNK5mongo11Initializer7executeERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EERKSt3mapIS7_S7_St4lessIS7_ESaISt4pairIKS7_S7_EEE"},{“b”:“7FE0FDAEA000”,“o”:“239C352”,“s”:“ZN5mongo21runGlobalInitializersEiPKPKcS3”},{“b”:“7FE0FDAEA000”,“o”:“A4B297”,“s”:“ZN5mongo11mongoDbMainEiPPcS1”},{“b”:“7FE0FDAEA000”,“o”:“9D1079”,“s”:“main”},{“b”:“7FE0FA86D000”,“o”:“21F45”,“s”:"__libc_start_main"},{“b”:“7FE0FDAEA000”,“o”:“A3B41F”}]}
mongod(_ZN5mongo15printStackTraceERSo+0x41) [0x7fe0ffed1331]
mongod(_ZN5mongo29reportOutOfMemoryErrorAndExitEv+0x84) [0x7fe0ffed0964]
mongod(+0x24D5AFB) [0x7fe0fffbfafb]
mongod(_Znam+0x224) [0x7fe100062524]
mongod(_ZNSt6vectorIcSaIcEE17_M_default_appendEm+0x83) [0x7fe0ffdf1db3]
mongod(ZN5mongo17optionenvironment13OptionsParser14readConfigFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS7+0x25F) [0x7fe0ffde679f]
mongod(_ZN5mongo17optionenvironment13OptionsParser3runERKNS0_13OptionSectionERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISB_EERKSt3mapISB_SB_St4lessISB_ESaISt4pairIKSB_SB_EEEPNS0_11EnvironmentE+0x1631) [0x7fe0ffdeef01]
mongod(_ZN5mongo17optionenvironment46_mongoInitializerFunction_StartupOptions_ParseEPNS_18InitializerContextE+0x51) [0x7fe0fe53a171]
mongod(ZNSt17_Function_handlerIFN5mongo6StatusEPNS0_18InitializerContextEEPS4_E9_M_invokeERKSt9_Any_dataOS3+0x23) [0x7fe0fe52a583]
mongod(_ZNK5mongo11Initializer7executeERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EERKSt3mapIS7_S7_St4lessIS7_ESaISt4pairIKS7_S7_EEE+0x1E4) [0x7fe0ffe85c74]
mongod(ZN5mongo21runGlobalInitializersEiPKPKcS3+0x352) [0x7fe0ffe86352]
mongod(ZN5mongo11mongoDbMainEiPPcS1+0xA7) [0x7fe0fe535297]
mongod(main+0x9) [0x7fe0fe4bb079]
libc.so.6(__libc_start_main+0xF5) [0x7fe0fa88ef45]
mongod(+0xA3B41F) [0x7fe0fe52541f]
----- END BACKTRACE -----
vagrant@m103:~$ cd \
^C
++++++++++++++++++++++++++++++++++++++++
Thanks.