ownCloud 8.2 has implemented transactional file locking, which they recommend be done with a memory cache system. According to their docs, the only suitable product is redis (
www.redis.io). See
http://wiki.contribs.org/OwnCloud#Redis for some additional info.
When I start the redis server, two warning messages appear in the log file:
10171:M 29 Oct 11:09:02.864 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
10171:M 29 Oct 11:09:02.864 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
The messages indicate what needs to be done to address them, but I'm a little hesitant to tinker with the system internals like this. Any thoughts on these?