Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Massive Performance Issues with Database Update #128

Open
JustCodeIt4Head opened this issue Dec 10, 2021 · 0 comments
Open

Massive Performance Issues with Database Update #128

JustCodeIt4Head opened this issue Dec 10, 2021 · 0 comments

Comments

@JustCodeIt4Head
Copy link

Hello,
I tried to set up PatrowlHears in a Virtual System and experience Massive Performance Issues when executing a DB Update via
sudo docker-compose exec patrowlhears bash -c 'cd backend_app && ./import_data_updates.sh'

When I execute the Command, the Update is starting and everything seems to work until the step "cve-run".
This step is going to around 15-20% and then the Progress is very slow, my VM is on a High Load (HTOP shows large amounts of RAM consumed by the Update) but nothing changes.
I notice too, that for some reason the RAM on my System seems to gets reduced from 12 GB down to 8, then 6, then 4 and then 2 GB. After stopping all Docker containers, free -m shows a total System Memory of said reduced size, however my VM Management Displays the original 12 GB still allocated without Balooing etc. After a VM Restart, the original amount of RAM is available again.

Is this a Bug with the Update Script? or what's happening?

My VM has 4 Cores allocated, 300 GBs of SCSI Storage and 12 GBs of Ram and the latest Updates for Debian 10 + Docker CE.
My Host Machine has 12 Cores, 32GB of RAM and 4 TB of Storage and i have nothing running that needs too much ressources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant