Ticket #983 (new defect)
maintenance/cleanupWebSessions.py does not scale
| Reported by: | makub | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | v0.98.1 |
| Component: | General | Version: | 0.97.0 |
| Keywords: | Cc: |
Description
The script maintenance/cleanupWebSessions.py does not work for millions of web sessions, because it first collects all sessions keys, and then removes them. The script exhausts memory on a machine with 4GB memory.
The solution is to simply find and remove sessions in batches of small sizes, like 1000.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

