cuddly-fireman-12522
04/05/2023, 7:32 AMfresh-football-47124
cuddly-fireman-12522
04/05/2023, 1:04 PMfresh-football-47124
cuddly-fireman-12522
04/18/2023, 5:33 AM{
  "level": 50,
  "time": 1681794194447,
  "pid": 60,
  "hostname": "e6dea3e0569c",
  "err": {
    "type": "MongooseServerSelectionError",
    "message": "connect ECONNREFUSED 172.17.0.3:27017",
    "stack": "MongooseServerSelectionError: connect ECONNREFUSED 172.17.0.3:27017\n    at NativeConnection.Connection.openUri (/usr/local/src/app/node_modules/mongoose/lib/connection.js:847:32)\n    at /usr/local/src/app/node_modules/mongoose/lib/index.js:351:10\n    at /usr/local/src/app/node_modules/mongoose/lib/helpers/promiseOrCallback.js:32:5\n    at Promise._execute (/usr/local/src/app/node_modules/bluebird/js/release/debuggability.js:384:9)\n    at Promise._resolveFromExecutor (/usr/local/src/app/node_modules/bluebird/js/release/promise.js:518:18)\n    at new Promise (/usr/local/src/app/node_modules/bluebird/js/release/promise.js:103:10)\n    at promiseOrCallback (/usr/local/src/app/node_modules/mongoose/lib/helpers/promiseOrCallback.js:31:10)\n    at Mongoose._promiseOrCallback (/usr/local/src/app/node_modules/mongoose/lib/index.js:1149:10)\n    at Mongoose.connect (/usr/local/src/app/node_modules/mongoose/lib/index.js:350:20)\n    at /usr/local/src/app/packages/back-end/dist/init/mongo.js:27:41\n    at Generator.next (<anonymous>)\n    at /usr/local/src/app/packages/back-end/dist/init/mongo.js:8:71\n    at new Promise (<anonymous>)\n    at __awaiter (/usr/local/src/app/packages/back-end/dist/init/mongo.js:4:12)\n    at exports.default (/usr/local/src/app/packages/back-end/dist/init/mongo.js:20:25)\n    at /usr/local/src/app/packages/back-end/dist/init/index.js:25:43\n    at Generator.next (<anonymous>)\n    at /usr/local/src/app/packages/back-end/dist/init/index.js:8:71\n    at new Promise (<anonymous>)\n    at __awaiter (/usr/local/src/app/packages/back-end/dist/init/index.js:4:12)\n    at /usr/local/src/app/packages/back-end/dist/init/index.js:24:34\n    at /usr/local/src/app/packages/back-end/dist/init/index.js:28:16",
    "reason": {
      "type": "Single",
      "setName": null,
      "maxSetVersion": null,
      "maxElectionId": null,
      "servers": {},
      "stale": false,
      "compatible": true,
      "compatibilityError": null,
      "logicalSessionTimeoutMinutes": null,
      "heartbeatFrequencyMS": 10000,
      "localThresholdMS": 15,
      "commonWireVersion": null
    }
  },
  "msg": "Failed to connect to MongoDB"
}fresh-football-47124
fresh-football-47124
melodic-ability-82567
04/27/2023, 7:27 AMPreviously worked with memory allocation
Here is the mongo container logs?
{
  "t": {
    "$date": "2023-04-27T07:14:27.531+00:00"
  },
  "s": "W",
  "c": "CONTROL",
  "id": 20720,
  "ctx": "initandlisten",
  "msg": "Memory available to mongo process is less than total system memory",
  "attr": {
    "availableMemSizeMB": 512,
    "systemMemSizeMB": 3886
  }
}
{
  "t": {
    "$date": "2023-04-27T07:14:27.554+00:00"
  },
  "s": "I",
  "c": "STORAGE",
  "id": 22315,
  "ctx": "initandlisten",
  "msg": "Opening WiredTiger",
  "attr": {
    "config": "create,cache_size=256M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,remove=true,path=journal,compressor=snappy),builtin_extension_config=(zstd=(compression_level=6)),file_manager=(close_idle_time=600,close_scan_interval=10,close_handle_minimum=2000),statistics_log=(wait=0),json_output=(error,message),verbose=[recovery_progress:1,checkpoint_progress:1,compact_progress:1,backup:0,checkpoint:0,compact:0,evict:0,history_store:0,recovery:0,rts:0,salvage:0,tiered:0,timestamp:0,transaction:0,verify:0,log:0],"
  }
}
{
  "t": {
    "$date": "2023-04-27T07:19:15.146+00:00"
  },
  "s": "I",
  "c": "CONTROL",
  "id": 23377,
  "ctx": "SignalHandler",
  "msg": "Received signal",
  "attr": {
    "signal": 15,
    "error": "Terminated"
  }
}Open source platform for stress free deployments, measured impact, and smarter decisions.
Powered by