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

Can not lock, Someone else has lock and lockId is.... #172

Open
priyank89patel opened this issue Dec 9, 2022 · 0 comments
Open

Can not lock, Someone else has lock and lockId is.... #172

priyank89patel opened this issue Dec 9, 2022 · 0 comments

Comments

@priyank89patel
Copy link

Hello team,
We have a ASP.NET web application that uses redis for session state management. From my dev machine I'm getting lock related issues. The application works for sometime and then starts failing due to the same reasons.

I think my application is creating a lock on a key and then for some reason the lock is not getting released because of which other requests are failing because the previous lock was not released. The application starts working again when the lock expires and the same issue happens after sometime.

Please see below errors from the log:

[2022-12-09 02:07:33.364][Info]GetItemExclusive => Session Id: xxx, Session provider object: xxx.
2022-12-08 20:07:33,409 [21] INFO  (null):(null) (null) - RedisSessionState: [2022-12-09 02:07:33.409][Info]GetItemFromSessionStore => Session Id: xxx, Session provider object: xxx => Can not lock, Someone else has lock and lockId is xxx
2022-12-08 20:07:33,912 [110] INFO  (null):(null) (null) - RedisSessionState: [2022-12-09 02:07:33.912][Info]GetItemExclusive => Session Id: xxx, Session provider object: xxx.
2022-12-08 20:07:33,961 [110] INFO  (null):(null) (null) - RedisSessionState: [2022-12-09 02:07:33.961][Info]GetItemFromSessionStore => Session Id: xxx, Session provider object: xxx => Can not lock, Someone else has lock and lockId is xxx
2022-12-08 20:07:34,474 [105] INFO  (null):(null) (null) - RedisSessionState: [2022-12-09 02:07:34.474][Info]GetItemExclusive => Session Id: xxx, Session provider object: xxx.
2022-12-08 20:07:34,520 [105] INFO  (null):(null) (null) - RedisSessionState: [2022-12-09 02:07:34.520][Info]GetItemFromSessionStore => Session Id: xxx, Session provider object: xxx => Can not lock, Someone else has lock and lockId is xxx
2022-12-08 20:07:35,035 [30] INFO  (null):(null) (null) - RedisSessionState: [2022-12-09 02:07:35.035][Info]GetItemExclusive => Session Id: xxx, Session provider object: xxx.
2022-12-08 20:07:35,081 [30] INFO  (null):(null) (null) - RedisSessionState: [2022-12-09 02:07:35.081][Info]GetItemFromSessionStore => Session Id: xxx, Session provider object: xxx => Can not lock, Someone else has lock and lockId is xxx
2022-12-08 20:07:35,582 [101] INFO  (null):(null) (null) - RedisSessionState: [2022-12-09 02:07:35.582][Info]GetItemExclusive => Session Id: xxx, Session provider object: xxx.
2022-12-08 20:07:35,633 [101] INFO  (null):(null) (null) - RedisSessionState: [2022-12-09 02:07:35.633][Info]GetItemFromSessionStore => Session Id: xxx, Session provider object: xxx => Can not lock, Someone else has lock and lockId is xxx
2022-12-08 20:07:36,143 [105] INFO  (null):(null) (null) - RedisSessionState: [2022-12-09 02:07:36.143][Info]GetItemExclusive => Session Id: xxx, Session provider object: xxx.
2022-12-08 20:07:36,180 [105] INFO  (null):(null) (null) - RedisSessionState: [2022-12-09 02:07:36.180][Info]GetItemFromSessionStore => Session Id: xxx, Session provider object: xxx => Can not lock, Someone else has lock and lockId is xxx

Can someone please help me understand what is causing this issue?

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant