Archive for April, 2013

Optimize roundcube

Posted: 04/04/2013 in Shell tips
Tags: ,

Use this to optimize roundcube load time. Just edit:

vim /var/lib/roundcube/config/main.inc.php

And make these changes

// Type of IMAP indexes cache. Supported values: 'db', 'apc' and 'memcache'.
$rcmail_config['imap_cache'] = 'db';
 
// Enables messages cache. Only 'db' cache is supported.
$rcmail_config['messages_cache'] = true;
Advertisements

I installed mytop in my debian system. Mytop is  is a console-based (non-gui) tool for monitoring the threads and overall performance of a MySQL server.
I got this error message when i run it

Error in option spec: "long|!"

to fix it i edit

vim /usr/local/bin/mytop

find

"long|!"              => \$config{long_nums},

and comment it out with #

or just install the new 1.7 version from here
https://github.com/jzawodn/mytop