Process eats a lot of resources on linux

Ivan Rozhkov shared this problem 9 months ago
Cannot Reproduce

I'm using nosqlbooster of the latest version.

I'm connecting to DB using ssh channel and local databases.

If I check htop after some time I see that processes like:

/tmp/.mount_nosqlb6spwIU/nosqlbooster4mongo

Eats a lot of resouses. They remain active even when I close nosqlbooster

/tmp ps aux | grep booster

ivan133 2687 0.0 0.0 15652 1004 pts/2 S+ 13:51 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn booster

ivan133 26719 90.1 1.7 1385516 290188 ? Sl фев20 1179:16 /tmp/.mount_nosqlb6spwIU/nosqlbooster4mongo

ivan133 26724 0.0 0.0 22000 2240 ? Ssl фев20 0:01 /home/ivan133/Soft/nosqlbooster4mongo-5.2.9.AppImage

ivan133 26769 0.0 0.1 370452 20516 ? S фев20 0:00 /tmp/.mount_nosqlb6spwIU/nosqlbooster4mongo --type=zygote --no-sandbox

ivan133 26851 0.0 0.2 627360 41308 ? Sl фев20 0:04 /tmp/.mount_nosqlb6spwIU/nosqlbooster4mongo /tmp/.mount_nosqlb6spwIU/resources/app.asar/backend/sshConnection

/tmp


I have to manually kill them to stop resource wasting.

htop shows that they take 100% of CPU

545c5e0d8217a50f785ca177745cf71f

Comments (2)

photo
1

Thanks for your feedback. We tried many times on the local ubuntu 16 and ubuntu 18 system and can not reproduce the problem. Which Linux distro are you using? If it can be stably reproduced, can you provide a complete reproduction steps?

photo
1

I'm using Ubuntu 18.04.4 LTS


➜ tmp git:(master) lsb_release -a

No LSB modules are available.

Distributor ID: Ubuntu

Description: Ubuntu 18.04.4 LTS

Release: 18.04

Codename: bionic


Now about how to reproduce.1 I've restared the pc

2 I'm checking there are no nosqlbooster processes

real-crm git:(master) ps aux | grep booster

ivan133 30720 0.0 0.0 15652 1052 pts/9 S+ 08:07 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn booster

3 I'm running noSqlBooster

4 I'm coonecting to remore database via SSHI see that procceses are created (including mount_nosql) but they do not take a lot of proccesor time yet

real-crm git:(master) ps aux | grep booster

ivan133 30759 45.9 1.3 1447356 223924 ? Sl 08:07 0:05 /tmp/.mount_nosqlbPF7Ozj/nosqlbooster4mongo

ivan133 30766 11.5 0.0 21888 2092 ? Ssl 08:07 0:01 /home/ivan133/Soft/nosqlbooster4mongo-5.2.9.AppImage

ivan133 30769 0.0 0.2 370420 38240 ? S 08:07 0:00 /tmp/.mount_nosqlbPF7Ozj/nosqlbooster4mongo --type=zygote --no-sandbox

ivan133 30809 59.4 1.8 985696 296108 ? Sl 08:07 0:05 /tmp/.mount_nosqlbPF7Ozj/nosqlbooster4mongo --type=renderer --no-sandbox --enable-features=SharedArrayBuffer --service-pipe-token=13691162916883185603 --lang=en-US --app-path=/tmp/.mount_nosqlbPF7Ozj/resour

ces/app.asar --user-agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) NoSQLBoosterforMongoDB/5.2.9 Chrome/69.0.3497.128 Electron/4.2.9 Safari/537.36 --node-integration=true --webview-tag=true --no-sandbox --background-color=#fff --num-raster-th

reads=4 --enable-main-frame-before-activation --service-request-channel-token=13691162916883185603 --renderer-client-id=4 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101

ivan133 30843 5.2 0.4 615548 79176 ? Sl 08:07 0:00 /tmp/.mount_nosqlbPF7Ozj/nosqlbooster4mongo /tmp/.mount_nosqlbPF7Ozj/resources/app.asar/backend/sshConnection

ivan133 30870 0.0 0.0 15652 1056 pts/9 S+ 08:07 0:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn booster


I've tried to connect to different DB's and execute queries but the processes work ok so far.

I'll keep working today and will check from time to time and will post any additional info here.

But I guess you can't call it "complete reproduction steps".