new counter in INFO output: rejected_connections with number of dropped connections because of maxclients limit reached.

This commit is contained in:
antirez
2011-11-23 18:38:12 +01:00
parent 1b2962c61f
commit 3c95e7212e
3 changed files with 5 additions and 0 deletions

View File

@ -527,6 +527,7 @@ struct redisServer {
long long stat_keyspace_misses; /* number of failed lookups of keys */
size_t stat_peak_memory; /* max used memory record */
long long stat_fork_time; /* time needed to perform latets fork() */
long long stat_rejected_conn; /* clients rejected because of maxclients */
list *slowlog;
long long slowlog_entry_id;
long long slowlog_log_slower_than;