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

Race condition encountered: attempted to load session[SESSION_ID] which has been created but not yet serialized. #72

Open
asundaram opened this issue Aug 27, 2015 · 4 comments

Comments

@asundaram
Copy link

We are getting this error in Production while using Tomcat 6 version of the redis session manager. Since saveOnChange feature doesn't exist in this branch, we cannot use it (unfortunate). We would like to know what impact this exception has to the users.

In New Relic we see transactions with these errors have a 200 HTTP response code. Does this mean that the user did not receive errors(maybe because of a retry somewhere)? Also there are 100's of such errors everyday in our logs but haven't heard any issues reported from our users or testers.

Please advice.

@ijaychang
Copy link

I also have this problem,how to solve it?

@haroldyong
Copy link

yes. i met the same problem-when store large object into session. so i change google MSM . it fine.

@ijaychang
Copy link

What's google MSM?
Can you give the website address about google MSM.

jaychang@aliyun.com

From: 3Y03
Date: 2016-01-05 12:37
To: jcoleman/tomcat-redis-session-manager
CC: Jay Chang
Subject: Re: [tomcat-redis-session-manager] Race condition encountered: attempted to load session[SESSION_ID] which has been created but not yet serialized. (#72)
yes. i met the same problem-when store large object into session. so i change google MSM . it fine.

Reply to this email directly or view it on GitHub.

@maheshchotrani
Copy link

yes. i met the same problem-when store large object into session. so i change google MSM . it fine.

@haroldyong , can you please provide with an example, how did solve this.

Also appreciate if you can elaborate on MSM JAR(s) - kryo-serializer, javolution-serializer, xstream-serializer or any other.

Thanks

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

4 participants