Closed cubxxw closed 10 months ago
Bot detected the issue body's language is not English, translate it automatically. π―ππ»π§βπ€βπ§π«π§πΏβπ€βπ§π»π©πΎβπ€βπ¨πΏπ¬πΏ
The system is running on the Ubuntu 22.04.3 LTS operating system. The CPU is a virtual CPU (QEMU Virtual CPU version 2.5+) and runs on the x86_64 architecture. Here are some key information about your system:
OS information:
CPU Information:
There are no obvious errors or issues with the configuration. Your OS is Ubuntu 22.04.3 LTS and the CPU is virtualized QEMU Virtual CPU.
The problem mentioned in the error message is that MongoDB 5.0+ requires the CPU to support the AVX instruction set, and the model information of your virtual CPU is "QEMU Virtual CPU version 2.5+". Typically, virtualized environments emulate basic CPU functionality but may not necessarily support all specific CPU instruction sets.
The cause of the problem may be that the version of MongoDB you are running requires the system to support the AVX instruction set, and the CPU in the virtualized environment does not meet this requirement. This is a reasonable error because MongoDB 5.0+ may rely on the AVX instruction set to improve performance.
To resolve this issue, you may consider the following options:
@charles-chenzz
Bot detected the issue body's language is not English, translate it automatically. π―ππ»π§βπ€βπ§π«π§πΏβπ€βπ§π»π©πΎβπ€βπ¨πΏπ¬πΏ
@charles-chenzz
η¨MongoDB 4.4 LTSθ―θ―
Bot detected the issue body's language is not English, translate it automatically. π―ππ»π§βπ€βπ§π«π§πΏβπ€βπ§π»π©πΎβπ€βπ¨πΏπ¬πΏ
Try it with MongoDB 4.4 LTS
resolve by enabling AVX in vm /close
/close
We value close connections with our users, developers, and contributors here at Open-IM-Server. With a large community and maintainer team, we're always here to help and support you. Whether you're looking to join our community or have any questions or suggestions, we welcome you to get in touch with us.
Our most recommended way to get in touch is through Slack. Even if you're in China, Slack is usually not blocked by firewalls, making it an easy way to connect with us. Our Slack community is the ideal place to discuss and share ideas and suggestions with other users and developers of Open-IM-Server. You can ask technical questions, seek help, or share your experiences with other users of Open-IM-Server.
In addition to Slack, we also offer the following ways to get in touch:
π€ Auto-closing issue, if you still need help please reopen the issue or ask for help in the community above
Issue Description: Problem I encountered a warning message while attempting to run MongoDB 5.0+ on my system. The warning message states: "WARNING: MongoDB 5.0+ requires a CPU with AVX support, and your current system does not appear to have that!" However, my system does not support the AVX instruction set.
Environment
Steps to Reproduce:
Expected Behavior: MongoDB should run without warnings or errors on systems without AVX support.
Actual Behavior: A warning message is displayed, indicating that MongoDB 5.0+ requires AVX support.
Additional Information: I understand that MongoDB 5.0+ may require AVX support for performance reasons, but I'm looking for a workaround or solution to run MongoDB on my non-AVX system.
Possible Solutions:
Please note that the choice of solution depends on your specific requirements and constraints. MongoDB's AVX requirement is there for performance enhancements, so using an earlier version or alternative databases may come with trade-offs in terms of performance.