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

Running on linux VM - Mongo not starting - MongoDB 5.0+ requires a CPU with AVX support #364

Closed
bjornmonnens opened this issue Feb 17, 2024 · 4 comments

Comments

@bjornmonnens
Copy link

The docker compose is working as expected. However because my host itself is a VM, I get following ERRORS:

WARNING: MongoDB 5.0+ requires a CPU with AVX support, and your current system does not appear to have that!
see https://jira.mongodb.org/browse/SERVER-54407
see also https://www.mongodb.com/community/forums/t/mongodb-5-0-cpu-intel-g4650-compatibility/116610/2
see also docker-library/mongo#485 (comment)

This results in the mongo container not running. Can you maybe build the mongo image from version 4 -> mongo:4.4.18 (https://stackoverflow.com/questions/70818543/mongo-db-deployment-not-working-in-kubernetes-because-processor-doesnt-have-avx)

The error i receive in the frontend is the same as #236 , so that might be related ...

Copy link

linear bot commented Feb 17, 2024

@bjornmonnens bjornmonnens changed the title Running on linux VM Running on linux VM - Mongo not starting Feb 17, 2024
@bjornmonnens bjornmonnens changed the title Running on linux VM - Mongo not starting Running on linux VM - Mongo not starting - MongoDB 5.0+ requires a CPU with AVX support Feb 17, 2024
@bigsk1
Copy link

bigsk1 commented Feb 29, 2024

Use "Host" as cpu type, just ran into this and fixed in proxmox

@Zebble
Copy link

Zebble commented Apr 30, 2024

Can also select "x86-64-v3" or "x86-64-v4" as CPU type, as both of these add AVX:

https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels

@Mohamed-sobhi95
Copy link

can we use another type of database that doesn't request AVX

@linear linear bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 15, 2024
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

4 participants