- Install cpulimit
- Try cpulimit when owncloud use 50% of your cpu usage and make sure it can reduce owncloud cpu usage. In this tutorial I limit owncloud cpu usage to only 20%. You can change 20 to whatever you want.
- Make a simple script to run cpulimit on boot with text editor and save as owncloudLimit. I recommended to save it in /usr/bin/
- Make owncloudLimit executable
- Add owncloud limit to your startup program
apt-get install -y cpulimit
cpulimit -e owncloud -l 20
#!/bin/sh cpulimit -e owncloud -l 20
sudo chmod +x /usr/bin/owncloudLimit
And you get finished. Now owncloud will never eat your cpu usage again. The side effect using this startup script is longer time needed by owncloud to sync all of your file. But I think that is no problem because it not make your computer lag anymore :D
For more usage of cpulimit, visit here
0 comments:
:)) :)] ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* : 8-} ~x( :-t b-( :-L x( =))
Post a Comment