[rt-users] 3.6.3 - Cleaning Sessions

Jesse Vincent jesse at bestpractical.com
Wed Mar 7 16:06:40 EST 2007


On Mar 7, 2007, at 4:01 PM, Joe Casadonte wrote:

> I had it on my todo list to go and read:
>
>    http://wiki.bestpractical.com/index.cgi?CleanupSessions
>
> and implement it on our site before it got out of hand.  I first  
> looked to see how many sessions I had, and I had none!
>

The default for RT on Oracle (which I presume you're running ;) is to  
store sessions on disk, due to some historical bugs in  
Apache::Session's oracle support. (Though I believe they're now  
resolved)
-jesse

> SQL> select count(*) from sessions;
>
>   COUNT(*)
> ----------
>          0
>
> SQL> select * from sessions;
>
> no rows selected
>
>
> Should I have sessions here?  I have a ton of session files on disk  
> -- is that where sessions are being cached, instead of the DB?  If  
> so, which is better?  Is there a way to safely clear up old session  
> files > XX days old?
>
> Thanks!
>
> -- 
> Regards,
>
>
> joe
> Joe Casadonte
> joe.casadonte at oracle.com
>
> ==========                                                  ==========
> == The statements and opinions expressed here are my own and do not ==
> == necessarily represent those of Oracle Corporation.               ==
> ==========                                                  ==========
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly  
> Media. Buy a copy at http://rtbook.bestpractical.com
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070307/e6f2342a/attachment.sig>


More information about the rt-users mailing list