Hi Niphlod, Thanks for your reply.
I tested the sessions2trash.py from: https://github.com/web2py/web2py/ The script deletes the sessions but does not delete the folder structure, so the empty folders still pile up. It does return a different output: Last login: Thu Feb 19 12:37:33 on ttys000 lionserver:~ mymac$ cd /Users/mymac/web2py_develop lionserver:web2py_develop mymac$ python web2py.py -M -S init -R scripts/sessions2trash.py -A -vv -o web2py Web Framework Created by Massimo Di Pierro, Copyright 2007-2015 Version 2.9.11-stable+timestamp.2014.09.15.23.35.11 Database drivers available: SQLite(sqlite3), MySQL(pymysql), PostgreSQL(pg8000), MSSQL(pyodbc), DB2(pyodbc), Teradata(pyodbc), Ingres(pyodbc), IMAP(imaplib) key: applications/init/sessions/111/0c0/127.0.0.1-1e9c8383-9da1-49ff-9b80-cb1b01e9292b expiration: 3600 seconds last visit: 2015-02-19 12:37:56 age: 10760 seconds status: trashed lionserver:web2py_develop mymac$ Kind regards, Annet -- 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.