On 05/22/2014 03:27 PM, Matteo Dessalvi wrote:
Yes, you are definitely right: with the latest stable
Redis version (2.8.9 indeed) everything works smoothly
with the authentication.

Thanks for pointing me in the right direction!

Best regards,
Matteo

On 22.05.2014 14:10, Axb wrote:

You're using an ancient Redis version with no LUA support.

Redis 2.8.9 is the latest stable version.

I'd suggest you update Redis before you go on chasing windmills.



Good to hear you got it working.

If your box is high traffic, watch the Redis memory usage.
When it does the dump to file it duplicates memory usage so if you expect Redis to use 2GB of memory, you'll need 4GB of free memory to do the dump. Swapping is not a happy option

my Redis usage looks like.

bayes_token_ttl 432000
bayes_seen_ttl  2d


0.000          0   22202312          0  non-token data: nspam
0.000          0    9593796          0  non-token data: nham


# Clients
connected_clients:203
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0

# Memory
used_memory:4085255152
used_memory_human:3.80G
used_memory_rss:6439870464
used_memory_peak:6307356768
used_memory_peak_human:5.87G
used_memory_lua:126976
mem_fragmentation_ratio:1.58
mem_allocator:jemalloc-3.2.0


"used_memory_peak" is what it used to do the dump to file.

and even with that amount of data, Bayes is extremely fast and goes totally unnoticed in overall msg processing time.



Reply via email to