Duke
August 11, 2019, 6:32am
1
Hello,
I am running an on premise installation on a Ubuntu server VM (on a qnap-nas) and I am very happy with Bitwarden.
But since version 1.31.x (not exactly sure) I have a much higher CPU usage.
Every 10 seconds the load goes to 30-60% and drops back to 2-3%. Before the update, the load was always around 3-6%. When I stop bitwarden, the load is gone.
After this process the usage goes up. Especially the sqlservr process
For a test, I go back to 1.30.4. There is the usage normal at 2-6%. After an update to the current version the utilization was increased again.
What can I do? Is there a context between the new “Docker container health checks”?
Regards,
Oliver
On my system mssyl does use much more cpu since I did an update on august 4th, too.
(Second image deleted, as I’m a new user and not allowed to post more than one image.)
The container always uses at least 2% cpu and regularly jumps up to like 13%.
Duke
August 18, 2019, 5:48pm
3
docker stats shows the following: (incidentally, there is no user activity at this time.)
bitwarden-icons triggers
bitwarden-admin and bitwarden-web:
bitwarden-notifications:
bitwarden-events and bitwarden-attachments
bitwarden-identity and bitwarden-nginx
bitwarden-api
then again about 10 seconds no load
now the sql server goes up to 44%
then 10 seconds no load and it begins again
The issue still persists.
Duke
September 9, 2019, 7:51am
5
Yes, the same issue with 1.32.0
mgl
September 9, 2019, 4:37pm
6
Same here on Ubuntu. Anyone filled a bug report?
Duke
September 10, 2019, 2:30pm
7
Yes, I reported a problem, but so far no feedback.
mgl
September 15, 2019, 1:46pm
9
Docker healthcheck is responsible for the higher CPU load.
How to disable healthcheck:
opened 08:40AM - 14 Sep 19 UTC
closed 05:54PM - 03 May 22 UTC
stale
I am running an on premise installation on a Ubuntu server (16.04) and i love B… itwarden.
But since version 1.31.x, CPU usage is much higher.
Every 10 seconds the load goes to 30-60% and drops back to 2-3%.
Before the update, the load was always around 3-6%. When I stop bitwarden, the load is gone.
When i go back to 1.30.4. usage is back to normal at 2-6%. After an update to the current version the utilization was increased again.
docker ps
```CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
e9b5e654ad59 bitwarden/nginx:1.32.0 "/entrypoint.sh" About an hour ago Up About an hour (healthy) 80/tcp, 0.0.0.0:80->8080/tcp, 0.0.0.0:443->8443/tcp bitwarden-nginx
600533dbd056 bitwarden/admin:1.32.0 "/entrypoint.sh" About an hour ago Up About an hour (healthy) 5000/tcp bitwarden-admin
656275fd091a bitwarden/mssql:1.32.0 "/entrypoint.sh" About an hour ago Up About an hour (healthy) 1433/tcp bitwarden-mssql
4c1d9945e270 bitwarden/icons:1.32.0 "/entrypoint.sh" About an hour ago Up About an hour (healthy) 5000/tcp bitwarden-icons
fd3b8ecca326 bitwarden/events:1.32.0 "/entrypoint.sh" About an hour ago Up About an hour (healthy) 5000/tcp bitwarden-events
ceedfb2b908c bitwarden/identity:1.32.0 "/entrypoint.sh" About an hour ago Up About an hour (healthy) 5000/tcp bitwarden-identity
940c466fc1f6 bitwarden/attachments:1.32.0 "/entrypoint.sh" About an hour ago Up About an hour (healthy) 5000/tcp bitwarden-attachments
2433eac5d39d bitwarden/api:1.32.0 "/entrypoint.sh" About an hour ago Up About an hour (healthy) 5000/tcp bitwarden-api
2a14bb210afd bitwarden/notifications:1.32.0 "/entrypoint.sh" About an hour ago Up About an hour (healthy) 5000/tcp bitwarden-notifications
95c830349604 bitwarden/web:2.12.0 "/entrypoint.sh" About an hour ago Up About an hour (healthy) 5000/tcp bitwarden-web
```
Docker stats
```
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
e9b5e654ad59 bitwarden-nginx 0.00% 17.9MiB / 7.474GiB 0.23% 1.65MB / 888kB 81.9kB / 119kB 5
600533dbd056 bitwarden-admin 0.16% 52.14MiB / 7.474GiB 0.68% 19.6kB / 6.9kB 35.2MB / 35.7MB 22
656275fd091a bitwarden-mssql 2.47% 722.9MiB / 7.474GiB 9.45% 868kB / 753kB 18MB / 29.8MB 155
4c1d9945e270 bitwarden-icons 0.14% 336.1MiB / 7.474GiB 4.39% 8.18MB / 1.74MB 60.1MB / 61.2MB 26
fd3b8ecca326 bitwarden-events 0.11% 42.4MiB / 7.474GiB 0.55% 9.19kB / 0B 59MB / 60.9MB 21
ceedfb2b908c bitwarden-identity 0.18% 45.54MiB / 7.474GiB 0.60% 32.4kB / 31.5kB 59.1MB / 60.3MB 19
940c466fc1f6 bitwarden-attachments 42.64% 19.83MiB / 7.474GiB 0.26% 9.67kB / 0B 4.1kB / 34.8MB 21
2433eac5d39d bitwarden-api 0.11% 65.17MiB / 7.474GiB 0.85% 506kB / 729kB 68.6MB / 70.2MB 22
2a14bb210afd bitwarden-notifications 0.34% 51.43MiB / 7.474GiB 0.67% 34.5kB / 12.8kB 26.3MB / 28.4MB 24
95c830349604 bitwarden-web 47.25% 26.33MiB / 7.474GiB 0.34% 13.8kB / 61.8kB 45.6MB / 47.8MB 20
```
```CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
e9b5e654ad59 bitwarden-nginx 0.00% 17.9MiB / 7.474GiB 0.23% 1.65MB / 891kB 81.9kB / 119kB 5
600533dbd056 bitwarden-admin 0.12% 52.44MiB / 7.474GiB 0.69% 19.6kB / 6.9kB 35.2MB / 35.7MB 22
656275fd091a bitwarden-mssql 44.99% 723.7MiB / 7.474GiB 9.46% 868kB / 753kB 18MB / 31.5MB 153
4c1d9945e270 bitwarden-icons 0.09% 336.1MiB / 7.474GiB 4.39% 8.18MB / 1.74MB 60.1MB / 61.2MB 26
fd3b8ecca326 bitwarden-events 0.13% 42.41MiB / 7.474GiB 0.55% 9.19kB / 0B 59MB / 60.9MB 22
ceedfb2b908c bitwarden-identity 0.14% 45.55MiB / 7.474GiB 0.60% 32.4kB / 31.5kB 59.1MB / 60.3MB 21
940c466fc1f6 bitwarden-attachments 0.09% 19.83MiB / 7.474GiB 0.26% 9.67kB / 0B 4.1kB / 34.8MB 21
2433eac5d39d bitwarden-api 0.21% 65.18MiB / 7.474GiB 0.85% 506kB / 729kB 68.6MB / 70.2MB 22
2a14bb210afd bitwarden-notifications 0.18% 51.43MiB / 7.474GiB 0.67% 35.9kB / 14.2kB 26.3MB / 28.4MB 24
95c830349604 bitwarden-web 0.08% 26.33MiB / 7.474GiB 0.34% 13.8kB / 61.8kB 45.6MB / 47.8MB 20
```
Any hints?
Thx in advance
Thx to juliogit from github.
1 Like
Duke
September 15, 2019, 2:51pm
10
I had already suspected that the healthchecks are the problem.
Now the system works quietly.
Thank you!