Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis lru eviction: ERR wrong number of arguments for 'zrem' command #690

Closed
domsj opened this issue Mar 30, 2017 · 0 comments
Closed

Redis lru eviction: ERR wrong number of arguments for 'zrem' command #690

domsj opened this issue Mar 30, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@domsj
Copy link
Contributor

domsj commented Mar 30, 2017

# journalctl -u alba-maintenance_nvmebackend-gmZSRdsVWG9NiQnT.service | grep random | tail -n 10
Mar 30 07:38:54 ovs05 alba[1233]: 2017-03-30 07:38:54 478736 +0200 - ovs05 - 1233/0 - alba/maintenance - 1833 - info - redis based lru eviction failed, doing fallback to random: Albamgr_protocol.Protocol.Error.Albamgr_exn(5, "Albamgr_protocol.Protocol.Error.Namespace_does_not_exist"); backtrace:; Raised at file "map.ml", line 122, characters 16-25; Called from file "src/core/lwt.ml", line 161, characters 4-40
Mar 30 07:38:54 ovs05 alba[1233]: 2017-03-30 07:38:54 478773 +0200 - ovs05 - 1233/0 - alba/maintenance - 1834 - info - Alba_eviction: starting random eviction
Mar 30 08:03:02 ovs05 alba[37280]: 2017-03-30 08:03:02 978731 +0200 - ovs05 - 37280/0 - alba/maintenance - 626 - info - redis based lru eviction failed, doing fallback to random: Redis.Client.Make(IO).Error("ERR wrong number of arguments for 'zrem' command"); backtrace:; Raised at file "map.ml", line 122, characters 16-25; Called from file "src/core/lwt.ml", line 161, characters 4-40
Mar 30 08:03:02 ovs05 alba[37280]: 2017-03-30 08:03:02 978755 +0200 - ovs05 - 37280/0 - alba/maintenance - 627 - info - Alba_eviction: starting random eviction
Mar 30 08:59:12 ovs05 alba[37280]: 2017-03-30 08:59:12 262407 +0200 - ovs05 - 37280/0 - alba/maintenance - 2278 - info - redis based lru eviction failed, doing fallback to random: Albamgr_protocol.Protocol.Error.Albamgr_exn(5, "Albamgr_protocol.Protocol.Error.Namespace_does_not_exist"); backtrace:; Raised at file "map.ml", line 122, characters 16-25; Called from file "src/core/lwt.ml", line 161, characters 4-40
Mar 30 08:59:12 ovs05 alba[37280]: 2017-03-30 08:59:12 262425 +0200 - ovs05 - 37280/0 - alba/maintenance - 2279 - info - Alba_eviction: starting random eviction
Mar 30 09:25:42 ovs05 alba[32348]: 2017-03-30 09:25:42 273708 +0200 - ovs05 - 32348/0 - alba/maintenance - 1213 - info - redis based lru eviction failed, doing fallback to random: Redis.Client.Make(IO).Error("ERR wrong number of arguments for 'zrem' command"); backtrace:; Raised at file "map.ml", line 122, characters 16-25; Called from file "src/core/lwt.ml", line 161, characters 4-40
Mar 30 09:25:42 ovs05 alba[32348]: 2017-03-30 09:25:42 273734 +0200 - ovs05 - 32348/0 - alba/maintenance - 1214 - info - Alba_eviction: starting random eviction
Mar 30 09:41:43 ovs05 alba[32348]: 2017-03-30 09:41:43 927197 +0200 - ovs05 - 32348/0 - alba/maintenance - 1649 - info - redis based lru eviction failed, doing fallback to random: Redis.Client.Make(IO).Error("ERR wrong number of arguments for 'zrem' command"); backtrace:; Raised at file "map.ml", line 122, characters 16-25; Called from file "src/core/lwt.ml", line 161, characters 4-40
Mar 30 09:41:43 ovs05 alba[32348]: 2017-03-30 09:41:43 927227 +0200 - ovs05 - 32348/0 - alba/maintenance - 1650 - info - Alba_eviction: starting random eviction

We don't see this every minute, so I guess most of the time it actually works as desired.
Maybe this error only occurs if we''re trying to remove 0 items from the zset? To be further investigated...

@dejonghb dejonghb self-assigned this May 24, 2017
@wimpers wimpers added this to the H milestone May 29, 2017
@wimpers wimpers modified the milestones: G, H Jun 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants