Commit Graph

72 Commits

Author SHA1 Message Date
df10c797e0 Limit memory used by big SLOWLOG entries.
Two limits are added:

1) Up to SLOWLOG_ENTRY_MAX_ARGV arguments are logged.
2) Up to SLOWLOG_ENTRY_MAX_STRING bytes per argument are logged.
3) slowlog-max-len is set to 128 by default (was 1024).

The number of remaining arguments / bytes is logged in the entry
so that the user can understand better the nature of the logged command.
2012-04-21 21:50:25 +02:00
31f9f987ac more practical maxmemory+slaves hint in redis.conf 2012-02-15 15:26:23 +01:00
662f25e805 redis.conf updated with new maxmemory semantics 2012-02-15 15:26:19 +01:00
18fe946f6a use timeout 0 by default, as this is a common source of problems. 2011-10-31 15:43:23 +01:00
9e68987f53 added more clarifications in redis.conf about ther right value to set as replication timeout. 2011-10-31 11:17:40 +01:00
421f6afd3d fixed typo in comments 2011-10-18 19:01:30 -02:00
7c6da7327f Added repl_ping_slave_period and repl_timeout options support 2011-10-18 18:56:10 -02:00
09cefcfbb3 Added a config directive for a Unix socket mask
Added a configuration directive to allow a user to specify the
permissions to be granted to the Unix socket file.  I followed
the format Pieter and Salvatore discusses in issue #85 (
https://github.com/antirez/redis/issues/85).
2011-10-10 22:08:11 +02:00
847fc09855 Fixed typo in redis.conf related to slow log parameters 2011-07-03 15:50:07 +02:00
99509ab257 slow log merged into 2.4 2011-07-02 00:24:11 +02:00
61751a4dc4 AOF auto rewrite backported to 2.4 2011-06-10 18:31:27 +02:00
7a4c4682f2 Warn the user in redis.conf that VM is deprecated and discouraged 2011-06-09 12:31:16 +02:00
eab8382d18 Configurable thresholds for encoded sorted sets 2011-03-22 16:08:03 +01:00
a36d524562 If port zero is specified, Redis will not listen for TCP connections 2011-02-07 12:52:40 +01:00
99677e89d0 default hash encoding settings also fixed in redis.conf 2011-01-15 22:32:34 +01:00
01a0b09886 Remove glueoutputbuf from redis.conf 2011-01-05 10:44:54 +01:00
6a246b1e7e special encoding limits redefined, and all the config options for special encodings added in the example redis.conf file 2010-12-14 18:23:52 +01:00
e1a586ee69 syslog support 2010-12-09 11:10:21 -05:00
5402c4262e added noeviction policy to redis maxmemory. ZSCORE removed from the list of commands that can't be called when we are low on memory, this command was added in the past for a stupid error. 2010-11-08 16:12:16 +01:00
4ebfc45528 config option to select if when replication link with master a slave should or not serve stale data 2010-11-04 19:59:21 +01:00
8d3e063a0a added support for command renaming/suppression in redis.conf 2010-11-03 12:14:36 +01:00
0a546fc017 Merge remote branch 'pietern/unixsocket' 2010-11-02 23:47:52 +01:00
a36879293d maxmemory-samples implemented in CONFIG command and configuration file 2010-10-15 11:57:38 +02:00
165346ca29 implemented different algorithms for maxmemory 2010-10-14 21:22:21 +02:00
893819801d Remove disabling TCP with port -1 2010-10-13 17:18:58 +02:00
5d10923f7b Rename variable sockpath to unixsocket 2010-10-13 17:17:56 +02:00
a5639e7dd9 Change initialization to allow listening on both a port and socket 2010-08-03 13:33:12 +02:00
d5d23dabd7 redis.conf new features the new option, a minor typo preventing the compilation fixed 2010-05-28 10:48:04 +02:00
9682a58fca conflicts resolved 2010-05-13 14:24:41 +02:00
1b67773229 CONFIG now can change appendfsync policy at run time 2010-05-10 20:56:54 +02:00
f3b52411db make append only filename configurable 2010-05-07 11:55:12 +02:00
a0e7e5f516 swap file name pid expansion removed. Not suited for mission critical software... 2010-05-07 09:36:37 +02:00
029245feac clarified a few messages in redis.conf 2010-05-06 18:04:51 +02:00
723240057a new units for bytes specification 2010-04-22 15:09:07 +02:00
8ca3e9d10b Active rehashing 2010-04-15 18:07:57 +02:00
bdcb92f273 shareobjects feautres killed - no gains most of the time, but VM complexities 2010-04-09 17:13:39 +02:00
4005fef124 Now PUBLISH commands are replicated to slaves 2010-04-02 16:42:15 +02:00
b3f83f1272 support for include directive in config parser 2010-03-19 22:24:17 -07:00
cbba7dd7c9 HSET fixes, now the new pointer is stored back in the object pointer field 2010-03-07 23:41:48 +01:00
5921aa36ed Bug #169 fixed (BLOP/BRPOP interrupted connections are not cleared from the queue) 2010-02-27 12:26:08 +01:00
ce8330208a Saner VM defaults for redis.conf 2010-02-10 15:59:09 +01:00
6766f45ef2 multi bulk requests in redis-benchmark, default fsync policy changed to everysec, added a prefix character for DEBUG logs 2010-02-06 13:39:07 +01:00
054e426dbd support for named VM swap file. Fixed a few important interaction issues between the background saving processes and IO threads 2010-01-15 13:14:23 -05:00
72e9fd40b6 support for blocking VM in config file 2010-01-12 15:23:52 -05:00
92f8e88204 non-blocking VM data structures, just a start 2010-01-09 12:46:52 -05:00
c9e5c23d5b vm-enabled set to no by default in redis.conf 2010-01-06 21:05:03 -05:00
38aba9a121 a new default redis.conf 2010-01-06 21:03:16 -05:00
7d98e08c0a VM stats in INFO command 2010-01-06 20:14:27 -05:00
f870935d3e Introduced a new log verbosity level, so now DEBUG is really for debugging. Refactored a bit maxmemory. When virtual memory is short in RAM free the objects freelist as well as swapping things out. 2010-01-06 09:15:17 -05:00
e7546c6393 BGREWRITEAOF now works with swapping on 2010-01-05 19:15:15 -05:00