Jump to content

Error: Exception: Unable to obtain lock for session


Recommended Posts

Hi,

I upgraded 100+ sites to the latest master on Friday, and we've gotten the following error email notification from a few of them over the weekend:

Umm… Error: Exception: Unable to obtain lock for session (retry in 30s) (in processwire/wire3/modules/Session/SessionHandlerDB/SessionHandlerDB.module line 96) 
User: ?, Version: 3.0.184

This is a new error, added in the latest master release: https://github.com/processwire/processwire/commit/7a2ff6c15dde8f6768676181bfbeeaefe4761b0b#diff-4c158c18e5f331d4e9ff8b27eff8ae2c4cd34d16f6d0f2b427aa36791637c64f

The session lock time is set to 50 seconds, I think this is the default, so I suspect the issue is on our end with our databases/server(s). 

I'm going to investigate further and try and figure out the issue and will update here if/when I do.

If anyone else has come across this or has any more info, please let me know!

Cheers,

Chris

  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...

Hi Chris,

This error usually occurs when your page is loading too slowly (there might be many reasons of this). It's good to check the performance of the sites where the error occurs.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...