2021-06-03T00:48:56.688092739Z 00:48:56 [WARNING] sentry.tasks.process_buffer: process_pending.fail (error=UnableToAcquireLock(u"Unable to acquire <Lock: ‘buffer:process_pending’> due to error: Could not set key: u’l:buffer:process_pending’",))
We noticed several errors recently and everytime end up nuke redis to get the service back. How this happen and is there any better workaround ?
Redis is also used as a task queue. If you are using an older version of Sentry, we do store the whole event payload in Redis which would explain this.
And also found something interesting
[00.00%] Biggest string found so far ‘c:1:e:1888dd214eda48e89a0c4f00b91f795b:2’ with 4929 bytes
[00.00%] Biggest string found so far ‘c:1:e:c497ca832c604361abbf780b75908ec3:2’ with 6889 bytes
[00.00%] Biggest string found so far ‘c:1:e:3153570a07ec433eaabf43ae4e177d9c:4:u’ with 8858 bytes
[00.00%] Biggest string found so far ‘c:1:e:5426c9c4e31f48b6b6e7cb143ad9eb21:4’ with 16452 bytes
[00.00%] Biggest string found so far ‘c:1:e:b497d80bc6834c669b34e6ea884aa67d:9’ with 24101 bytes
[00.00%] Biggest hash found so far ‘ts:0:450748:42’ with 1 fields
[00.00%] Biggest string found so far ‘c:1:e:dbb387d9d7704f41abbdb032a4a48b34:2’ with 93139 bytes
[00.02%] Biggest string found so far ‘c:1:e:f33b85934c7a4504893abb3d6b7b661f:3:u’ with 125998 bytes
[00.05%] Biggest string found so far ‘c:1:e:2fccfc23c7f847ef92ca5004dd852fd0:3’ with 181382 bytes
[00.05%] Biggest hash found so far ‘ts:0:162271008:56’ with 2 fields
[00.07%] Biggest hash found so far ‘ts:0:18780:21’ with 5 fields
[00.12%] Biggest string found so far ‘c:1:e:4f61b737f8b3466eab584efd64c66d30:3’ with 182627 bytes
[00.19%] Biggest string found so far ‘c:1:e:b21ee85a347342dfbbd52930e3aaadcc:3’ with 182753 bytes
[00.20%] Biggest string found so far ‘c:1:e:ab476c13d2e9464c908c54aaa59f5804:3’ with 258843 bytes
[01.09%] Biggest string found so far ‘c:1:e:4cad0b74e84c4dae8d59b505c70aa2fb:3’ with 259299 bytes
[01.77%] Biggest string found so far ‘c:1:e:3da30f464538432bb897ab333e8354f0:3’ with 269841 bytes
[34.97%] Biggest hash found so far ‘b:k:sentry.group:4f6217d711bb772d8db49d8c8ff14500’ with 6 fields
[53.13%] Biggest set found so far ‘organization-feature-adoption:1’ with 1 members
[62.33%] Sampled 1000000 keys so far
[73.19%] Biggest zset found so far ‘b:p’ with 9 members
[77.40%] Biggest hash found so far ‘b:k:sentry.group:308c6795e1a9cc214e46f1c4b119fa8c’ with 8 fields
Don’t know about expiration but those big keys and your Sentry version tells me that you’d benefit greatly from an upgrade where we optimized this stuff
Well thanks for that, but I did have some concerns about the upgrade since we are way behind the current release. I guess we can’t just jump into the latest right ?