there's sessions2trash.py for that http://web2py.com/books/default/chapter/29/13/deployment-recipes#Cleaning-up-sessions
On Friday, February 20, 2015 at 8:47:46 PM UTC+1, Omi Chiba wrote: > > I'm running web2py website about 2 years. Not much transactions maybe 10 > per day but # of files under sessions are enormous and total "size" for the > folder is around 100MB but the "Size on disk" shows about 10GB. I found it > because it takes too long time to copy the folder... I run the clean up. It > takes 15-30 min and finally removed all the files. > > Do you guys have a similar problem? Maybe we can automatically delete the > exipired sessions. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.