Wednesday, May 1, 2024
 Popular · Latest · Hot · Upcoming
13
rated 0 times [  13] [ 0]  / answers: 1 / hits: 11965  / 3 Years ago, sat, november 20, 2021, 12:16:19

On startup, Dropbox runs files indexing, which brings the system pretty much to a stand still for three minutes.



Is there a way to restrict Dropbox from accessing the hard disk, or decrease the priority of Dropbox's access to the hard disk?


More From » startup

 Answers
0

Complementing the answer of Carlos D. Barranco, you can edit the launcher file located in /usr/share/applications/dropbox.desktop and permanently set a low priority start for dropbox.



In my case, it was also useful to limit the processor usage of dropbox. You can install package cpulimit: # apt-get install cpulimit



For example, to limit dropbox up to 20% processor usage: # cpulimit -b -e dropbox -l 20



In order to configure both low IO and low processing for dropbox automatically with the system launch, edit /usr/share/applications/dropbox.desktop and replace dropbox start -i by ionice -c 3 dropbox start -i && cpulimit -b -e dropbox -l 20



Command ionice will set idle priority for IO access and the parameter -l of cpulimit configures the processing limit in percentual values. More information on cpulimit can be found in: http://www.nixtutor.com/linux/changing-priority-on-linux-processes/


[#32794] Sunday, November 21, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tionavocad

Total Points: 189
Total Questions: 101
Total Answers: 118

Location: Liechtenstein
Member since Wed, Dec 8, 2021
2 Years ago
tionavocad questions
Tue, May 23, 23, 00:07, 1 Year ago
Tue, Jan 17, 23, 20:38, 1 Year ago
Sun, Oct 10, 21, 04:50, 3 Years ago
Tue, Jun 7, 22, 08:50, 2 Years ago
;