[Rspamd-Users] rspamd error "cannot serialize hyperscan cache to ..."

Phil Stracchino phils at caerllewys.net
Fri Feb 24 15:07:38 UTC 2023


Hi all,
Logrotate on my mail server threw an error last night trying to rotate 
the rspamd log.  When I investigated, I found the rspamd service 
stopped.  It throws the following error if I try to restart it or 
checkconfig it:


minbar:root:~:3 # rc-service rspamd checkconfig
rspamd                    |cannot serialize hyperscan cache to 
/var/lib/rspamd//a34e4baa3c5bce43b54345d39b79976f8689089de6660d7ef4f957f50db810ba.hsmp.tmp: 
No such file or directory
rspamd                    |fatal error: cannot allocate scratch space 
for hyperscan: -5
rspamd                    |/etc/init.d/rspamd: line 33: 26040 Aborted 
              ${command_rspamadm} configtest > /dev/null


I've not been able to find any search results relevant to this 
particular error, but it looks to me like I probably need to clear and 
reinitialize the hyperscan cache, but ...  how do I do this?  Or is 
there something else I should do to resolve the problem?  I'm GUESSING 
that simply clearing /var/lib/rspamd and then restarting rspamd would do 
the deed; is this safe?  Is it correct?


Installed version and flags:
[I] mail-filter/rspamd
      Available versions:  3.4-r2^t **9999*l^t {blas jemalloc +jit 
selinux test CPU_FLAGS_X86="ssse3" LUA_SINGLE_TARGET="lua5-1 lua5-3 
lua5-4 luajit"}
      Installed versions:  3.4-r2^t(09:55:44 AM 01/04/2023)(jit -blas 
-jemalloc -selinux -test CPU_FLAGS_X86="ssse3" LUA_SINGLE_TARGET="luajit 
-lua5-1 -lua5-3 -lua5-4")



-- 
   Phil Stracchino
   Babylon Communications
   phils at caerllewys.net
   phil at co.ordinate.org
   Landline: +1.603.293.8485
   Mobile:   +1.603.998.6958


More information about the Users mailing list