Closed 284187773 closed 9 years ago
@284187773 are you able to consistently reproduce this issue? Could you give us more information so that we can try to replicate it ourselves? Please see https://github.com/MSOpenTech/redis/wiki/Submitting-an-Issue
Do you absolutely need a 32-bit version of Redis, or could you use the 64-bit version? If so, I would recommend upgrading to 2.8.21. 2.8.9 is the first version that dropped 32-bit support, as far as I remember. And we have made a ton of stability fixes since then.
@orangemocha Redis version : 2.8.9 Windows version:windows server 2003 , Physical memory:3GB
Redis configuration files:
redis.conf
content as follows:
#
#
port 6379
#
#
timeout 0
#
#
#
#
tcp-keepalive 0
loglevel notice
logfile .\redis.log
databases 16
################################SNAPSHOTTING ################################# #
#
#
#
#
#
#
save 900 1 save 300 100 save 60 10000
#
#
stop-writes-on-bgsave-error yes
rdbcompression yes
#
rdbchecksum yes
dbfilename dump.rdb
#
#
#
dir ./
#################################REPLICATION #################################
#
#
#
#
# slave-serve-stale-data yes
#
#
slave-read-only yes
#
#
#
#
#
#
repl-disable-tcp-nodelay no
#
#
#
slave-priority 100
##################################SECURITY ###################################
#
#
#
#
#
#
#
#
#
###################################LIMITS ####################################
#
#
#
#
#
#
#
maxheap 1gb
#
#
#
#
# maxmemory 512mb
#
#
#
#
#
#
##############################APPEND ONLY MODE ###############################
#
#
#
appendonly no
#
#
#
#
#
appendfsync everysec
#
#
#
no-appendfsync-on-rewrite no
#
#
#
auto-aof-rewrite-percentage 100 auto-aof-rewrite-min-size 64mb
################################LUA SCRIPTING ###############################
#
#
#
lua-time-limit 5000
##################################SLOW LOG ###################################
#
slowlog-log-slower-than 10000
slowlog-max-len 128
###############################ADVANCED CONFIG ###############################
hash-max-ziplist-entries 512 hash-max-ziplist-value 64
list-max-ziplist-entries 512 list-max-ziplist-value 64
set-max-intset-entries 512
zset-max-ziplist-entries 128 zset-max-ziplist-value 64
#
#
#
activerehashing yes
#
#
#
#
#
#
#
#
client-output-buffer-limit normal 0 0 0 client-output-buffer-limit slave 256mb 512mb 60 client-output-buffer-limit pubsub 32mb 512mb 60
#
#
#
hz 10
aof-rewrite-incremental-fsync yes
##################################INCLUDES ###################################
#
Hi @284187773, this bug is now fixed in v2.8.2102. Thank you.
Recently,I have a issue about Redis 2.8.9 (32 bit).
Client use Java language.Error log information as follows: [ERROR] 2015-06-16 09:16:22-org.jredis.connector.ConnectionReset: (potential redis timeout) Connection re-established but last request not processed: socket exception cause: => [SocketException: Connection reset by peer: socket write error]
01434420218726 Tue Jun 16 10:03:38 CST 2015 JRedis[tid:121] <信息>: WARNING: heartbeat is disabled.
The redis erro log is: [1916] 11 Jun 01:12:08.070 * 100 changes in 300 seconds. Saving... [1916] 11 Jun 01:12:30.195 # Can't save in background: fork: Invalid argument .
_.-
__ ''-._ _.-
.
. ''-. Redis 2.8.9 (00000000/0) 32 bit .-.-``.``\/ _.,_ ''-._ ( ' , .-
|, ) Running in stand alone mode |
-._-...-
...-.-._|'
.-'| Port: 6379 |`-.._ / _.-' | PID: 1808
-. `-.-./ _.-' _.-' |
-.`-.-.**.-' _.-'_.-'| |
-.`-. .-'.-' | http://redis.io-._
-.`-.**.-'.-' .-'|`-.
-._
-..-' .-'.-'||
-._
-. .-'.-' |`-.
-._
-..-'.-' .-'-._
-..-' .-'`-. _.-'
`-.__.-'
[1808] 16 Jun 10:06:05.004 # Server started, Redis version 2.8.9 [1808] 16 Jun 10:06:05.411 * DB loaded from disk: 0.406 seconds [1808] 16 Jun 10:06:05.411 * The server is now ready to accept connections on port 6379 [1808] 16 Jun 10:10:50.489 * 10000 changes in 60 seconds. Saving... [1808] 16 Jun 10:10:51.192 # fork operation complete [1808] 16 Jun 10:10:51.270 * Background saving terminated with success
After 11 Jun 01:12:30.195, there is no logs about redis working. The redis server Recovered until I rebooted the redis server at 16 Jun 10:06:05.004 . The redis server is down. I must reboot the redis server.
How to solve this issue.Thanks!