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 clearing expired sessions. #61

Open
hoaithing opened this issue Oct 10, 2018 · 2 comments
Open

Can not clearing expired sessions. #61

hoaithing opened this issue Oct 10, 2018 · 2 comments

Comments

@hoaithing
Copy link

hoaithing commented Oct 10, 2018

I relize that when i logout old session key still remaining.

Then I get some problem when try to clear session by execute command:

python manage.py clearsessions

then get :
Session engine 'redis_sessions.session' doesn't support clearing expired sessions.

I have a lot of remaining session in redis DB. so it's usually out of Memory on my server.

I am using version django-redis-sessions-0.4.0.

Thanks for help.

@e911
Copy link

e911 commented Apr 28, 2019

I got the same problem too. Did you find any solutions to this?

@Eerovil
Copy link

Eerovil commented Jan 2, 2020

Since redis itself supports key expiration, clearsessions shouldn't be needed. Can you check the expiration dates for your very old sessions?

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

3 participants