Hi, I read this thread, I waited some months till new version was released in the libreelec OS for the raspberry, but it doesn’t seem to be working.
My folders don’t synchronize, and I get this message:
2019-03-03 09:02:15: Syncthing should not run as a privileged or system user. Please consider using a normal user account.
2019-03-03 09:02:16: Listen (BEP/tcp): Accepting connection: accept tcp [::]:22000: accept4: too many open files
2019-03-03 09:02:17: Listen (BEP/tcp): Accepting connection: accept tcp [::]:22000: accept4: too many open files
2019-03-03 09:02:19: Listen (BEP/tcp): Accepting connection: accept tcp [::]:22000: accept4: too many open files
No need for proc interaction, we already attempt to raise the soft limit to the hard limit and know the result of the operation (that function returns the new limit). We don’t specifically log anything about it, although we could do so and flag a warning if it’s scary low.
Okay, I’ve thought it was too simple.
Android virtual machine with Android 9 has 32768 ulimit. My physical device (Xiaomi mi8) has 1024 as ulimit. Android is simply never uniform …
Just for writing this to the paper: I’ve updated Xiaomi miui from 10.0.x to 10.2.3 (Android 8.1 to 9) and my open file limit changed from 1024 to 32768.
@cromoduro I’ve just added the info about the file limit to the app so if anyone has problems it’s easier to investigate. My sync was working fine with both ulimits.