[Rspamd-Users] proxy; rspamd_redis_timeout: connection to redis server localhost timed out

Thomas Plant thomas at plant.systems
Wed Nov 14 14:45:56 UTC 2018


Found the problem ;-)

The documentation is a bit misleading, or my english skills are not that 
good.
In the section about redis.conf there is written:

|timeout|: timeout in seconds to get reply from Redis (e.g. |0.5s| or 
|1min|)

I wrote in my config 'timeout = "1min";' which is wrong and if my very 
minimal C knowledge reading 'src/libstat/learn_cache/redis_cache.c' does 
not mislead me, implies rspamd to use the default timeout value of 0.5s 
which is to low for my busy server.

Setting it right to 'timeout = 60;' in 'redis.conf' all timeout messages 
went away.


Am 14.11.2018 um 15:07 schrieb Thomas Plant via Users:
> Tested a litte bit and when I try to learn a spam message through the 
> WebUI it does not save, although the UI says "Data successfully 
> uploaded".
> I can repeatedly click on 'Upload text' and every time I see in the 
> logs the 'redis timed out' message and the "Data successfully 
> uploaded" message in the UI.
>
> Could it be the same problem as in this ticket? Github rspamd issues 
> <https://github.com/rspamd/rspamd/issues/2611 related this one>
>
> Am 13.11.2018 um 16:34 schrieb Thomas Plant via Users:
>> Sorry wrong subject, should have been:
>>
>>     proxy; rspamd_redis_cache_timeout: connection to redis server 
>> 127.0.0.1 timed out
>>
>>
>>
>> Am 13.11.2018 um 16:00 schrieb Thomas Plant via Users:
>>> proxy; rspamd_redis_cache_timeout: connection to redis server 
>>> 127.0.0.1 timed out
>>
>



More information about the Users mailing list