djangosnippets.org: Latest snippets posted by patsplathttps://djangosnippets.org/users/patsplat/2008-12-31T16:09:44.045570-06:00patsplatClean up expired django.contrib.session's in a huge MySQL InnoDB table
2008-12-31T16:09:44.045570-06:00patsplathttps://djangosnippets.org/snippets/1273/<p>While django provides the <code>django_admin.py cleanup</code> script, if sessions get out of control sometimes you have to go lower level to get everything cleaned up. If the problem gets out of hand and you hit the resource limits of the machine, it is very difficult to get anything done in …</p>
Freely redistributable