On 8/24/2015 1:47 AM, A.L.E.C wrote:
On 08/23/2015 10:14 PM, Luciano Gabriel Andino wrote:
Hi ! just finishing roudcube db backup via mysqldump, noticed that session table has 105K rows, cache_messeges table about 162K rows. Does rcu database needs some kind of maintenance? I am using rcu about 5 years ago with 30 email acounts.
On systems where default PHP session garbage collector is disabled (e.g. Debian) you should run bin/gc.sh script regularly. There's also bin/cleandb.sh script which removes records marked as deleted (e.g. contacts) after specified time from marking them as deleted.
A.L.E.C.,
When I run bin/gc.sh I get no output (which I suppose is not a bad default setting for a cron script) and no change to the session table in my Roundcube database. Is this the right script for that task and is there anything special I need to do when running it?
I'm using Roundcube 1.1.2.
Thanks.