1) What: Install a PHP-Accelerator (php-apc recommended)
Why: Wikipedia promises about 3x faster page generation.
How: # apt-get install php-apc
You can check the php-apc settings by calling phpinfo() in a php-file. There should appear a section named APC.
2) What: Activate Cronjobs
Why: Per default owncloud executes background tasks by executing one each time a page is loaded. This slows down response times. By decoupling one from the other, response times should get better.
How: http://doc.owncloud.org/server/5.0/admi ... #cron-jobs
3) What: Activate serve static files option
Why: It should improve performance when transferring big files (>100mb)
How: Read here: http://doc.owncloud.org/server/5.0/admi ... dfile.html
4) What: Deactivate unnecessary modules
Why: Even if you don't use the calender the contacts-app, or any other app, they take performance. The amount depends on the app but e.g. lucene (the "Full Text Search"-module) can take quite a big amount.
How: Go to the Apps-Page and click "Disable" for modules you don't need.
5) What: (Windows-only) Change localhost in config.php to 127.0.0.1
Why: http://stackoverflow.com/questions/3715 ... -127-0-0-1
6) What: Install ntp (Actually not a performance tweak, but nevertheless useful)
Why: To ensure that the server always has the correct time. This is crucial to see which file was written last and to have it replicated the right way.
How: with debian, it's just "apt-get install ntp". Done. For other distributions or windows, ask google.
7) What: make symbolic link in data-directory of administrator to the owncloud.log-file
Why: To be able to view it in full and download it from the webinterface
How: something similar to
Code: Select all
ln -s /var/www/owncloud/data/owncloud.log /var/www/owncloud/data/admin/files/owncloud.log
8) What: RTFM for your server
Why: Because they know best how to tweak performance
How: Look here: [Apache 2.2] [Apache 2.4] [nginx]
Nginx even references an owncloud installation guide in its manual.
I would like this collection to get more comprehensive in time, and I'd like to see some "how to secure your server"-collection of hints too.
//edit: added point 6 and 7 because, although they don't really impact performance, they are quite useful to me.
//edit2: added point 8