Welcome Guest, Not a member yet? Register   Sign In
Session error: "Query error: Commands out of sync; you can't run this command now..."

On the server in mysql error log for each such release lock issue we get messages like:
[Warning] Aborted connection 564845 to db: 'db' user: 'username' host: 'localhost' (Got an error reading communication packets)

As far as I read there might be various reasons, but as we get release lock issue it seems that the session lock release process for some reason stucks and this ends in connection being aborted by mysql, probably due to long time out.

I remember that in older versions of Codeigniter there was no session locking, does it mean now that all clients update the session table sequentially, means if one user for some reason takes too long, than the whole process can stuck and affect other users?
Or does it work in parallel?

Also is there a way to get rid of this locking, I know it can result in inconsistencies, but to try it out.
Also the file storage system should not have this issue?

Theme © iAndrew 2016 - Forum software by © MyBB