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
[BUG] spamd_language_detector_init: cannot compile stop words od Debian 10 #3124
Comments
Still present in rspamd 2.1-1~buster |
I cannot reproduce it. Are you using pcre1 or pcre2? Anyway, non-hyperscan version of Rspamd is not something in top of my priorities. |
@vstakhov is the error about not being able to compile stop words related to hyperscan being disabled? I thought those were separate issues. |
|
Thanks! Changing VM's CPU to enable SSSE3 instructions and re-enabling hyperscan solved it for me. |
Vsevold, thank you for your time. Best regards, |
I do not support Debian packages, please stop using them... |
I wish I could convince Debian maintainers to stop providing Rspamd in Debian repos. Probably, I should change a license for that, but I'm really tired of that crap... |
Just to be clear, I am not using debian packages, I am using binary packages from http://rspamd.com/apt-stable/ Packages from http://rspamd.com/apt-stable are depending od libpcre3 not on libpcre2 Best regards, |
Ah, I see, sorry. Yes, all packages should be built with pcre2 - I will try to fix it. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Can this be reopened? I'm setting up rspamd on a dual socket Opteron 6168 12 core system with 128GB of RAM. The Opteron 6168 does not have SSSE3. I'm using the Rspamd provided Debian packages.
|
That is likely fixed in the master. Using of such a CPU has a very bad impact on Rspamd performance JFYI. |
Prerequisites
After fresh install or upgrade to rspamd "2.0-1~buster" there are warnings in rspamd.log:
2019-10-28 15:31:39 #2307(main) ; cfg; rspamd_language_detector_init: cannot compile stop words for 0 language group: pattern is not enclosed with : m\x{ed}
2019-10-28 15:31:39 #2307(main) ; cfg; rspamd_language_detector_init: cannot compile stop words for 1 language group: regexp parsing error: 'character value in \x{} or \o{} is too large' at position 6
2019-10-28 15:31:39 #2307(main) ; cfg; rspamd_language_detector_init: cannot compile stop words for 2 language group: regexp parsing error: 'character value in \x{} or \o{} is too large' at position 6
2019-10-28 15:31:39 #2307(main) ; cfg; rspamd_language_detector_init: cannot compile stop words for 3 language group: regexp parsing error: 'character value in \x{} or \o{} is too large' at position 6
Also rspamdadm configtest gives:
CPU doesn't have SSSE3 instructions set required for hyperscan, disable it
cannot compile stop words for 0 language group: pattern is not enclosed with : m\x{ed}
cannot compile stop words for 1 language group: regexp parsing error: 'character value in \x{} or \o{} is too large' at position 6
cannot compile stop words for 2 language group: regexp parsing error: 'character value in \x{} or \o{} is too large' at position 6
cannot compile stop words for 3 language group: regexp parsing error: 'character value in \x{} or \o{} is too large' at position 6
syntax OK
Steps to Reproduce
Versions
Additional Information
rspamd 2.0-1~buster on Debian 10.1
The text was updated successfully, but these errors were encountered: