diff --git a/docs/faq.rst b/docs/faq.rst index 9a47c6ad..423cfc80 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -1003,7 +1003,10 @@ Why is Rspamd giving me an "Illegal instruction" error ? On Linux amd64 (x84_64), if the antispam container is crashing and gives you an ``Illegal instruction`` error, you may have a CPU that lacks support of the ``SSE4.2`` instruction set. The more modern and FOSS ``vectorscan`` library used by rspamd superseeded the now closed source Intel ``hyperscan`` library in Alpine Linux, and since August 2024 it requires the ``SSE4.2`` instruction set to work properly. -Pre-2013 Intel Atom CPUs (Like N2800 or D425), Intel pre-Nehalem architectures and AMD pre-Bulldozer architectures does not support ``SSE4.2``. +Pre-2013 Intel Atom CPUs (Like N2800 or D425), Intel pre-Nehalem architectures and AMD pre-Bulldozer architectures do not support ``SSE4.2``. +To check if your CPU supports ``SSE4.2`` you can use this one liner command: + +``if grep -q sse4_2 /proc/cpuinfo; then echo "CPU is SSE4.2 Capable"; else echo "CPU is NOT SSE4.2 capable"; fi`` A workaround to this issue is to use a x86_32 (or i686) version of rspamd, because the ``vectorscan`` library is only used on 64-bit capable systems. Note that this may stop working in the future, as 32-bit software support is being progressively dropped.