Skip to content

Question about the sessions collection #1772

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

Closed
andershagebakken opened this issue Apr 13, 2016 · 3 comments
Closed

Question about the sessions collection #1772

andershagebakken opened this issue Apr 13, 2016 · 3 comments

Comments

@andershagebakken
Copy link

I was wondering about the sessions collection in my MongoDB database, it is just growing and growing and more and more documents are added. In a few minutes, about 100 new session documents are added. Are these not supposed to be deleted? Is it safe for me to delete them?

@Awk34
Copy link
Member

Awk34 commented Apr 16, 2016

It should be safe to delete sessions (seeing the obvious consequences of doing so), especially expired ones.

Your sessions should not be growing and growing without any new users actually creating new sessions.

@andershagebakken
Copy link
Author

andershagebakken commented Apr 17, 2016

I have not altered anything in relations to users in a new generated project, but this happens. How can I fix it?

Edit: I have previous found issue 1597 that has a similar problem, just not with mongodb

@Awk34
Copy link
Member

Awk34 commented Apr 24, 2016

Let's track it there

@Awk34 Awk34 closed this as completed Apr 24, 2016
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

2 participants