Ashley Reid
Ashley Reid

Reputation: 163

REDIS BGSAVE Assertion failed, terminated by signal 6. (macos / python)

Fairly new to Redis (3days, ha) all working fine in gereral but getting this error.

              _._                                                  
           _.-``__ ''-._                                             
      _.-``    `.  `_.  ''-._           Redis 5.0.7 (00000000/0) 64 bit
  .-`` .-```.  ```\/    _.,_ ''-._                                   
 (    '      ,       .-`  | `,    )     Running in standalone mode
 |`-._`-...-` __...-.``-._|'` _.-'|     Port: 6379
 |    `-._   `._    /     _.-'    |     PID: 53149
  `-._    `-._  `-./  _.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |           http://redis.io        
  `-._    `-._`-.__.-'_.-'    _.-'                                   
 |`-._`-._    `-.__.-'    _.-'_.-'|                                  
 |    `-._`-._        _.-'_.-'    |                                  
  `-._    `-._`-.__.-'_.-'    _.-'                                   
      `-._    `-.__.-'    _.-'                                       
          `-._        _.-'                                           
              `-.__.-'                                               

53149:M 18 Jan 2020 21:02:34.415 # Server initialized
53149:M 18 Jan 2020 21:02:34.426 * Module 'timeseries' loaded from /Users/ash/RedisTimeSeries/bin/macosx-x64-release/redistimeseries.so
53149:M 18 Jan 2020 21:02:35.238 * DB loaded from disk: 0.812 seconds
53149:M 18 Jan 2020 21:02:35.238 * Ready to accept connections
53149:M 18 Jan 2020 21:11:40.475 * Background saving started by pid 53691
Assertion failed: (leading + blocksize <= BINW), function readV, file gorilla.c, line 432.
53149:M 18 Jan 2020 21:11:40.630 # Background saving terminated by signal 6

I have already changed the location of the rdb file to a writable location as per answers to previous questions that I have read on Stackoverflow.

In fact my script successfully executes BGSAVE , repeatedly, for a time, and then at some-point it starts throwing the above error.

I restarted the server, just to 'see', hence the code snippet above is not showing the successful attempts. But you can see DB loaded from disk as an indicator of this.

Any help with this directly, or, further reading on helpful topics related to this is appreciated.

Thankyou

Upvotes: 2

Views: 291

Answers (1)

Ariel
Ariel

Reputation: 577

This is a bug. Two issues were open for it within the last few days.

A PR was published and it will be merged soon.

Thank you for the input.

Upvotes: 2

Related Questions