Background nosqlbooster processes remains after shutting down nosqlbooster

James Saballegue shared this problem 3 months ago
Solved

I noticed that everytime I shut down nosqlbooster after failed attempts to connect via ssh, ssh connections are still running in the background. It ate half of my 8gb ram which led to discovering this. Any advice?


54fd51cd13995065b00e32775b116d569b10aaedba754e41e76c2227eceec225

Comments (5)

photo
2

We have worked out a new test build to resolve this issue, please download and give it a try.

Linux AppImage: https://nosqlbooster.com/s3/download/releasesv5/nosqlbooster4mongo-5.1.5-beta.2.AppImage

Need to explain, I can't reproduce the error locally, I just added some defense code by re-examining the code. If the error persists, please provide the complete retro steps.

photo
1

Thank you! The build you provided is now shutting down properly.


Here's how to reproduce the issue prior to this build.


1. Ssh to an offline/unreachable host.

(It's perpetually loading at this point, although, sometimes it reports back an error )

2. Cancel the connection attempt.

3. Close nosqlbooster.

Try the previous steps a couple more times and check whats going on in the background.I just do:

ps -faux | grep nosqlbooster4mongo
It reports back a bunch of instances of nosqlbooster4mongo on my end even after closing the UI everytime.

photo
1

Sorry to bother you again. The issue still persists. Here's a log which I hope is more helpful instead.


https://paste2.org/WF7w6bjM


{ userDataDir: '/home/jp/.config/NoSQLBooster for MongoDB',
  oldUserDataDir: '/home/jp/.config/mongobooster' }
{ hasAppJson: true }
Checking for update
Error: Error: Cannot find channel "beta-linux.yml" update info: HttpError: 404 Not Found
"method: undefined url: http://s3.mongobooster.com/download/releasesv5/beta-linux.yml?noCache=1d49il7u9\n\nPlease double check that your authentication token is correct. Due to security reasons actual status maybe not reported, but 404.\n"
Headers: {
  "connection": [
    "Keep-Alive"
  ],
  "content-length": [
    "351"
  ],
  "content-type": [
    "text/html; charset=iso-8859-1"
  ],
  "date": [
    "Fri, 22 Feb 2019 03:05:54 GMT"
  ],
  "keep-alive": [
    "timeout=5"
  ],
  "server": [
    "Apache"
  ]
}
    at createHttpError (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/builder-util-runtime/out/httpExecutor.js:91:10)
    at ElectronHttpExecutor.handleResponse (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/builder-util-runtime/out/httpExecutor.js:174:14)
    at ClientRequest.request.createRequest.response (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/builder-util-runtime/out/httpExecutor.js:140:16)
    at ClientRequest.emit (events.js:182:13)
    at URLRequest.ClientRequest.urlRequest.on (/tmp/.mount_nosqlbexDzFL/resources/electron.asar/browser/api/net.js:207:12)
    at URLRequest.emit (events.js:182:13)
From previous event:
    at GenericProvider.getLatestVersion (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/providers/GenericProvider.js:90:7)
    at /tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:514:28
From previous event:
    at AppImageUpdater.getUpdateInfoAndProvider (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:517:7)
    at /tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:524:35
    at Generator.next (<anonymous>)
From previous event:
    at AppImageUpdater.doCheckForUpdates (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:550:7)
    at /tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:439:29
    at Generator.next (<anonymous>)
    at runCallback (timers.js:696:18)
    at tryOnImmediate (timers.js:667:5)
    at processImmediate (timers.js:649:5)
From previous event:
    at AppImageUpdater._checkForUpdates (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:445:7)
    at AppImageUpdater.checkForUpdates (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:357:35)
    at AppImageUpdater.checkForUpdatesAndNotify (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:371:41)
    at AppImageUpdater.checkForUpdatesAndNotify (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppImageUpdater.js:116:18)
    at WebContents.<anonymous> (/tmp/.mount_nosqlbexDzFL/resources/app.asar/backend/autoUpdater.js:89:29)
    at Object.onceWrapper (events.js:273:13)
    at WebContents.emit (events.js:182:13)
    at createHttpError (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/builder-util-runtime/out/httpExecutor.js:91:10)
    at ElectronHttpExecutor.handleResponse (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/builder-util-runtime/out/httpExecutor.js:174:14)
    at ClientRequest.request.createRequest.response (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/builder-util-runtime/out/httpExecutor.js:140:16)
    at ClientRequest.emit (events.js:182:13)
    at URLRequest.ClientRequest.urlRequest.on (/tmp/.mount_nosqlbexDzFL/resources/electron.asar/browser/api/net.js:207:12)
    at URLRequest.emit (events.js:182:13)
    at GenericProvider.getLatestVersion (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/providers/GenericProvider.js:90:7)
    at /tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:514:28
    at AppImageUpdater.getUpdateInfoAndProvider (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:517:7)
    at /tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:524:35
    at Generator.next (<anonymous>)
    at AppImageUpdater.doCheckForUpdates (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:550:7)
    at /tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:439:29
    at Generator.next (<anonymous>)
    at runCallback (timers.js:696:18)
    at tryOnImmediate (timers.js:667:5)
    at processImmediate (timers.js:649:5)
    at AppImageUpdater._checkForUpdates (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:445:7)
    at AppImageUpdater.checkForUpdates (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:357:35)
    at AppImageUpdater.checkForUpdatesAndNotify (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:371:41)
    at AppImageUpdater.checkForUpdatesAndNotify (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppImageUpdater.js:116:18)
    at WebContents.<anonymous> (/tmp/.mount_nosqlbexDzFL/resources/app.asar/backend/autoUpdater.js:89:29)
    at Object.onceWrapper (events.js:273:13)
    at WebContents.emit (events.js:182:13)
    at newError (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/builder-util-runtime/out/index.js:206:17)
    at /tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/providers/GenericProvider.js:73:54
    at Generator.throw (<anonymous>)
From previous event:
    at GenericProvider.getLatestVersion (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/providers/GenericProvider.js:90:7)
    at /tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:514:28
From previous event:
    at AppImageUpdater.getUpdateInfoAndProvider (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:517:7)
    at /tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:524:35
    at Generator.next (<anonymous>)
From previous event:
    at AppImageUpdater.doCheckForUpdates (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:550:7)
    at /tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:439:29
    at Generator.next (<anonymous>)
    at runCallback (timers.js:696:18)
    at tryOnImmediate (timers.js:667:5)
    at processImmediate (timers.js:649:5)
From previous event:
    at AppImageUpdater._checkForUpdates (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:445:7)
    at AppImageUpdater.checkForUpdates (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:357:35)
    at AppImageUpdater.checkForUpdatesAndNotify (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:371:41)
    at AppImageUpdater.checkForUpdatesAndNotify (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppImageUpdater.js:116:18)
    at WebContents.<anonymous> (/tmp/.mount_nosqlbexDzFL/resources/app.asar/backend/autoUpdater.js:89:29)
    at Object.onceWrapper (events.js:273:13)
    at WebContents.emit (events.js:182:13)
Unhandled rejection Error: Cannot find channel "beta-linux.yml" update info: HttpError: 404 Not Found
"method: undefined url: http://s3.mongobooster.com/download/releasesv5/beta-linux.yml?noCache=1d49il7u9\n\nPlease double check that your authentication token is correct. Due to security reasons actual status maybe not reported, but 404.\n"
Headers: {
  "connection": [
    "Keep-Alive"
  ],
  "content-length": [
    "351"
  ],
  "content-type": [
    "text/html; charset=iso-8859-1"
  ],
  "date": [
    "Fri, 22 Feb 2019 03:05:54 GMT"
  ],
  "keep-alive": [
    "timeout=5"
  ],
  "server": [
    "Apache"
  ]
}
    at createHttpError (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/builder-util-runtime/out/httpExecutor.js:91:10)
    at ElectronHttpExecutor.handleResponse (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/builder-util-runtime/out/httpExecutor.js:174:14)
    at ClientRequest.request.createRequest.response (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/builder-util-runtime/out/httpExecutor.js:140:16)
    at ClientRequest.emit (events.js:182:13)
    at URLRequest.ClientRequest.urlRequest.on (/tmp/.mount_nosqlbexDzFL/resources/electron.asar/browser/api/net.js:207:12)
    at URLRequest.emit (events.js:182:13)
From previous event:
    at GenericProvider.getLatestVersion (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/providers/GenericProvider.js:90:7)
    at /tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:514:28
From previous event:
    at AppImageUpdater.getUpdateInfoAndProvider (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:517:7)
    at /tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:524:35
    at Generator.next (<anonymous>)
From previous event:
    at AppImageUpdater.doCheckForUpdates (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:550:7)
    at /tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:439:29
    at Generator.next (<anonymous>)
    at runCallback (timers.js:696:18)
    at tryOnImmediate (timers.js:667:5)
    at processImmediate (timers.js:649:5)
From previous event:
    at AppImageUpdater._checkForUpdates (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:445:7)
    at AppImageUpdater.checkForUpdates (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:357:35)
    at AppImageUpdater.checkForUpdatesAndNotify (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:371:41)
    at AppImageUpdater.checkForUpdatesAndNotify (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppImageUpdater.js:116:18)
    at WebContents.<anonymous> (/tmp/.mount_nosqlbexDzFL/resources/app.asar/backend/autoUpdater.js:89:29)
    at Object.onceWrapper (events.js:273:13)
    at WebContents.emit (events.js:182:13)
    at createHttpError (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/builder-util-runtime/out/httpExecutor.js:91:10)
    at ElectronHttpExecutor.handleResponse (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/builder-util-runtime/out/httpExecutor.js:174:14)
    at ClientRequest.request.createRequest.response (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/builder-util-runtime/out/httpExecutor.js:140:16)
    at ClientRequest.emit (events.js:182:13)
    at URLRequest.ClientRequest.urlRequest.on (/tmp/.mount_nosqlbexDzFL/resources/electron.asar/browser/api/net.js:207:12)
    at URLRequest.emit (events.js:182:13)
    at GenericProvider.getLatestVersion (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/providers/GenericProvider.js:90:7)
    at /tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:514:28
    at AppImageUpdater.getUpdateInfoAndProvider (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:517:7)
    at /tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:524:35
    at Generator.next (<anonymous>)
    at AppImageUpdater.doCheckForUpdates (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:550:7)
    at /tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:439:29
    at Generator.next (<anonymous>)
    at runCallback (timers.js:696:18)
    at tryOnImmediate (timers.js:667:5)
    at processImmediate (timers.js:649:5)
    at AppImageUpdater._checkForUpdates (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:445:7)
    at AppImageUpdater.checkForUpdates (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:357:35)
    at AppImageUpdater.checkForUpdatesAndNotify (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:371:41)
    at AppImageUpdater.checkForUpdatesAndNotify (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppImageUpdater.js:116:18)
    at WebContents.<anonymous> (/tmp/.mount_nosqlbexDzFL/resources/app.asar/backend/autoUpdater.js:89:29)
    at Object.onceWrapper (events.js:273:13)
    at WebContents.emit (events.js:182:13)
    at newError (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/builder-util-runtime/out/index.js:206:17)
    at /tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/providers/GenericProvider.js:73:54
    at Generator.throw (<anonymous>)
From previous event:
    at GenericProvider.getLatestVersion (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/providers/GenericProvider.js:90:7)
    at /tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:514:28
From previous event:
    at AppImageUpdater.getUpdateInfoAndProvider (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:517:7)
    at /tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:524:35
    at Generator.next (<anonymous>)
From previous event:
    at AppImageUpdater.doCheckForUpdates (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:550:7)
    at /tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:439:29
    at Generator.next (<anonymous>)
    at runCallback (timers.js:696:18)
    at tryOnImmediate (timers.js:667:5)
    at processImmediate (timers.js:649:5)
From previous event:
    at AppImageUpdater._checkForUpdates (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:445:7)
    at AppImageUpdater.checkForUpdates (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:357:35)
    at AppImageUpdater.checkForUpdatesAndNotify (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:371:41)
    at AppImageUpdater.checkForUpdatesAndNotify (/tmp/.mount_nosqlbexDzFL/resources/app.asar/node_modules/electron-updater/out/AppImageUpdater.js:116:18)
    at WebContents.<anonymous> (/tmp/.mount_nosqlbexDzFL/resources/app.asar/backend/autoUpdater.js:89:29)
    at Object.onceWrapper (events.js:273:13)
    at WebContents.emit (events.js:182:13)

^[[1;5A(node:6853) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.
^A

photo
2

Thank you for your feedback.

I queried it through google, electron+ubuntu does have this bug, this is an open issue. NoSQLBooster is based on electron.

Anyway, we have worked out a new build to solve this issue, please try it again.

https://nosqlbooster.com/s3/download/releasesv5/nosqlbooster4mongo-5.1.5-beta.3.AppImage

photo
photo
1

Resolved in 5.1.5