On 2020-11-18, avv. Nicola Dell'Uomo <nicola.dellu...@delluomo-morettin.com> 
wrote:
> Hi Stuart,
>
> Il 17/11/20 12:45, Stuart Henderson ha scritto:
>> On 2020/11/14 21:02, avv. Nicola Dell'Uomo wrote:
>>> Hi Stuart,
>>>
>>> thank you for your help!
>>>
>>> Now it works (almost).
>>>
>>> The matter here was that login.conf limits were not high enough.
>>>
>>> With my server configuration seafile client opens ~ 43.000 files: I really 
>>> didn't expect such
>>> an high limit, so I set it to 8192 in login.conf.
>>>
>>> Now it works, but it definitely wastes an exaggerate amount of resources.
>>>
>>> When I close seafile client, kern.nfiles count drop form ~ 44.000 to ~ 890!
>> If you have that many files in the monitored directory tree, it's expected.
>
> hope this helps: I do have this many files in the directory tree;  \
> however, when I manually sync each library (autosync off), files \
> count never raises and everything definitely syncs in a few seconds (for \
> huge libraries).
> However the situation changes drastically when I enable autosync.

I guess "autosync" is what is telling it to use libinotify / kqueue.

> Moreover the client behaves differently in linux and in MacOS (it does not
> open all these files even with autosync enabled).

yes, I have explained about this.


Reply via email to