[rt-users] RT session cleanup - session table size

Kristian Davies kristian.davies at gmail.com
Mon Jul 15 09:22:56 EDT 2013


On Mon, Jul 15, 2013 at 12:37 PM, Alex Decalli <alexdecalli71 at gmail.com>wrote:

> BIG NEWS:: solution discovered:
>
> I first hit this:
>
>
> sudo rt-clean-sessions --debug --older 1M
>
> and then:
>
> Mysql> OPTIMIZE TABLE sessions;
>
> Now my session table is 1K :]
>
>
That's what I did too but I had to re-run the rt-clean-sessions script
multiple times as it kept crashing due to running out of memory multiple
times.

-Kristian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130715/af3b44cc/attachment.html>


More information about the rt-users mailing list