microsoftarchive / redis

Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes
http://redis.io
Other
20.81k stars 5.37k forks source link

redis-server stop work. #464

Closed zhanjx1314 closed 8 years ago

zhanjx1314 commented 8 years ago

=== REDIS BUG REPORT START: Cut & paste starting from here === [103412] 25 May 23:53:18.127 # Redis version: 3.0.501 [103412] 25 May 23:53:18.127 # --- EXCEPTION_ACCESS_VIOLATION [103412] 25 May 23:53:18.127 # --- STACK TRACE [103412] 25 May 23:53:18.127 # --- INFO OUTPUT [63288] 25 May 23:53:18.190 # fork operation failed [63288] 25 May 23:53:18.190 # Background saving terminated by signal 1 [63288] 25 May 23:53:24.087 * 10 changes in 300 seconds. Saving... [63288] 25 May 23:53:24.087 * Background saving started by pid 1272 [1272] 25 May 23:53:24.133 #

=== REDIS BUG REPORT START: Cut & paste starting from here === [1272] 25 May 23:53:24.133 # Redis version: 3.0.501 [1272] 25 May 23:53:24.133 # --- EXCEPTION_ACCESS_VIOLATION [1272] 25 May 23:53:24.133 # --- STACK TRACE [1272] 25 May 23:53:24.133 # --- INFO OUTPUT [63288] 25 May 23:53:24.196 # fork operation failed [63288] 25 May 23:53:24.227 # Background saving terminated by signal 1 [63288] 25 May 23:53:30.015 * 10 changes in 300 seconds. Saving... [63288] 25 May 23:53:30.030 * Background saving started by pid 101752 [101752] 25 May 23:53:30.077 #

=== REDIS BUG REPORT START: Cut & paste starting from here === [101752] 25 May 23:53:30.077 # Redis version: 3.0.501 [101752] 25 May 23:53:30.077 # --- EXCEPTION_ACCESS_VIOLATION [101752] 25 May 23:53:30.077 # --- STACK TRACE [101752] 25 May 23:53:30.077 # --- INFO OUTPUT [63288] 25 May 23:53:30.139 # fork operation failed [63288] 25 May 23:53:30.171 # Background saving terminated by signal 1 [63288] 25 May 23:53:35.740 #

=== REDIS BUG REPORT START: Cut & paste starting from here === [63288] 25 May 23:53:35.740 # Redis version: 3.0.501 [63288] 25 May 23:53:35.740 # Out Of Memory allocating 50 bytes. [63288] 25 May 23:53:35.740 # --- ABORT [63288] 25 May 23:53:35.740 # --- STACK TRACE [63288] 25 May 23:53:35.740 # === REDIS BUG REPORT END. Make sure to include from START to END. ===

zhanjx1314 commented 8 years ago

redis continue to work for several hours, it stops working。 i add new value to redis and get value。 dump.rdb size:358MB. restart redis-server then use key * redis-server stop work too

=== REDIS BUG REPORT START: Cut & paste starting from here === [24552] 26 May 09:53:18.654 # Redis version: 3.0.501 [24552] 26 May 09:53:18.654 # Out Of Memory allocating 2249 bytes. [24552] 26 May 09:53:18.669 # --- ABORT [24552] 26 May 09:53:18.685 # --- STACK TRACE [24552] 26 May 09:53:18.685 # === REDIS BUG REPORT END. Make sure to include from START to END. ===

enricogior commented 8 years ago

Hi @zhanjx1314 it looks like the error is caused by a memory allocation failure. Make sure your Windows paging file is large enough, please refer to the wiki for documentation: https://github.com/MSOpenTech/redis/wiki/Memory-Configuration-For-Redis-3.0