Closed
Bug 922732
Opened 12 years ago
Closed 12 years ago
Cleanup Django session table regularly
Categories
(developer.mozilla.org Graveyard :: Performance, defect)
developer.mozilla.org Graveyard
Performance
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jezdez, Unassigned)
Details
I realized that we have a large set of entries in the session table and don't clean them out (or not often enough).
Django contains a "cleanup" management command (run it with `./manage.py cleanup` inside the kuma directory) but that sometimes breaks due to high memory usage.
Alternative this SQL does the trick, too:
DELETE FROM django_session WHERE expire_date < NOW();
| Reporter | ||
Comment 1•12 years ago
|
||
This was fixed a while ago in https://github.com/mozilla/kuma/pull/1901
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•