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

Thomas Plant thomas at plant.systems
Tue Nov 13 15:00:02 UTC 2018


Hello,

I'm seeing a lot of these error messages recently, since load on the 
rspamd server is rising.
I tried to raise the timeout in the redis.conf file but did not have any 
effect.
The error message appears in the log without delay, so I think there is 
no timeout (or a very short one) happening, or at least not the one 
configured in redis.conf.

Here is an example for such a log entry:

2018-11-13 15:55:13 #2882(rspamd_proxy) <d1a63e>; proxy; 
proxy_accept_socket: accepted milter connection from A.B.C.D port 38733
2018-11-13 15:55:15 #2882(rspamd_proxy) <d1a63e>; milter; 
rspamd_milter_process_command: got connection from E.F.G.H:55784
2018-11-13 15:55:21 #2882(rspamd_proxy) <d1a63e>; proxy; 
rspamd_message_parse: loaded message; id: <SomeMessage at ID>; queue-id: 
<42vVzR0zr4z4y71>; size: 287846; checksum: 
<0f4158aa941b8a58c9aa54cbdc52ab15>
2018-11-13 15:55:21 #2882(rspamd_proxy) <d1a63e>; lua; settings.lua:358: 
check for settings
2018-11-13 15:55:21 #2882(rspamd_proxy) <d1a63e>; proxy; 
rspamd_mime_part_detect_language: detected part language: en
2018-11-13 15:55:21 #2882(rspamd_proxy) <d1a63e>; lua; dcc.lua:170: 
sending to /var/dcc/dccifd:nil
2018-11-13 15:55:23 #2882(rspamd_proxy) <d1a63e>; lua; 
antivirus.lua:516: CLAM_VIRUS [clamav]: message or mime_part is clean
2018-11-13 15:55:23 #2882(rspamd_proxy) <d1a63e>; proxy; 
rspamd_stat_check_autolearn: <SomeMessage at ID>: autolearn ham for 
classifier 'bayes' as message's score is negative: -1.51
2018-11-13 15:55:23 #2882(rspamd_proxy) <d1a63e>; lua; greylist.lua:258: 
Score too low - skip greylisting
2018-11-13 15:55:23 #2882(rspamd_proxy) <d1a63e>; lua; neural.lua:291: 
RFANN ann score: -1.000
2018-11-13 15:55:23 #2882(rspamd_proxy) <d1a63e>; proxy; 
rspamd_redis_cache_timeout: connection to redis server 127.0.0.1 timed out
2018-11-13 15:55:23 #2882(rspamd_proxy) <d1a63e>; proxy; 
rspamd_redis_cache_timeout: connection to redis server 127.0.0.1 timed out
2018-11-13 15:55:23 #2882(rspamd_proxy) <d1a63e>; lua; neural.lua:449: 
trained ANN rule RFANN, save ham vector, 217 bytes
2018-11-13 15:55:23 #2882(rspamd_proxy) <d1a63e>; proxy; 
rspamd_task_write_log:    Rest of log cut out.....

Anybody an idea what causes this?

Thanks,
Thomas


More information about the Users mailing list