Skip to content

Instantly share code, notes, and snippets.

@Waltibaba
Last active December 23, 2015 18:51
Show Gist options
  • Select an option

  • Save Waltibaba/213d3bcb3073bd750213 to your computer and use it in GitHub Desktop.

Select an option

Save Waltibaba/213d3bcb3073bd750213 to your computer and use it in GitHub Desktop.
mysql buffer increase:
in /etc/mysql/my.cnf
-- innodb_buffer_pool_size=536870912 [512MB]
decrease root size by remapping /var/www/owncloud/data
this is the cache directory for uploads, that gets broken in every other patch, meaning loads of junk files there
map /var/www/owncloud/data -> /mnt/[nfs share]/dataroot to save space (soft symlink works)
OR
/var/www/owncloud/config/config.php
...
'datadirectory' => '/mnt/[nfs share]/owncloud/data',
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment