ubuntuone client should warn if max_user_watches is reached

Bug #931327 reported by Roberto Suárez Soto
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Triaged
Undecided
Ubuntu One Client Engineering team

Bug Description

Hi,

I'm running Ubuntu One and Dropbox (and previously, yet another file synchronization service) in the same box, and I've hit the limit of max_user_watches (/proc/sys/fs/inotify/max_user_watches) a few times, because I have a bazillion small files in the directories that I'm sincying.

Dropbox client warns you when you hit the limit, and tells you how to solve it ("echo 10000 > /prox/sys/fs/inotify/max_user_watches"). It would be good that U1 client did it too, because I had a problem of some folders not syncing and had to scratch my head for a while until I realized it was caused by this.

Thanks in advance.

Tags: desktop+
Revision history for this message
John Lenton (chipaca) wrote :

That would be better suggested as “sudo sysctl -w fs.inotify.max_user_watches=10000” (although 10k might or might not be the right number, there).

Revision history for this message
Roberto Alsina (ralsina) wrote :

Or just read it, double it, and show the user a dialog saying "You have run into a limit for file system watches. To make Ubuntu One work properly, this has to be increased to NNNN" and using gksudo or whatever to get it done.

Leo Arias (elopio)
Changed in ubuntuone-client:
status: New → Triaged
assignee: nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+)
tags: added: desktop+
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.