On 12/11/15 14:59, Axb wrote:
On 12/11/2015 11:55 PM, Marc Perkel wrote:
So far so good. Thanks for your help. It looks like it's actually
working. Have about 10k spam/ham tokens so far.


sa-learn --dump magic should show if it's "alive"

For safety, don't take your eyes off memory usage and play with:

bayes_token_ttl
bayes_seen_ttl

I've set
bayes_seen_ttl 1


Curious what your "redis-cli info" looks like after a while of running... adn if you're happy with speed and results...

keep us posted...

Axb



0.000          0          3          0  non-token data: bayes db version
0.000          0      14814          0  non-token data: nspam
0.000          0      11933          0  non-token data: nham
0.000          0          0          0  non-token data: ntokens
0.000          0          0          0  non-token data: oldest atime
0.000          0          0          0  non-token data: newest atime
0.000 0 0 0 non-token data: last journal sync atime
0.000          0          0          0  non-token data: last expiry atime
0.000 0 0 0 non-token data: last expire atime delta 0.000 0 0 0 non-token data: last expire reduction count

redis_version:2.4.10
redis_git_sha1:00000000
redis_git_dirty:0
arch_bits:64
multiplexing_api:epoll
gcc_version:4.4.6
process_id:472
uptime_in_seconds:4846
uptime_in_days:0
lru_clock:284149
used_cpu_sys:29.75
used_cpu_user:91.39
used_cpu_sys_children:4.31
used_cpu_user_children:49.34
connected_clients:671
connected_slaves:0
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0
used_memory:185037872
used_memory_human:176.47M
used_memory_rss:182960128
used_memory_peak:193339376
used_memory_peak_human:184.38M
mem_fragmentation_ratio:0.99
mem_allocator:jemalloc-2.2.5
loading:0
aof_enabled:0
changes_since_last_save:42332
bgsave_in_progress:0
last_save_time:1449876339
bgrewriteaof_in_progress:0
total_connections_received:110460
total_commands_processed:9275568
expired_keys:0
evicted_keys:0
keyspace_hits:1821764
keyspace_misses:793471
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:16204
vm_enabled:0
role:master
db2:keys=2012232,expires=4


--
Marc Perkel - Sales/Support
supp...@junkemailfilter.com
http://www.junkemailfilter.com
Junk Email Filter dot com
415-992-3400

Reply via email to