Hi,

using seafile client on OpenBSD 6.8 GENERIC on amd64 and xfce (but also on cwm)

I'm not able to sync files after first general server sync.

I observed the same problem with 6.6, 6.7 and on other laptops running OpenBSD.

When I first sync files from seafile server, everything goes fine and files are downloaded and synced; after that, seafile does not sync files anymore.

Here is an excerpt from seafile.log (directory names are purged for privacy):

[snip]

[11/13/20 22:51:37] seaf-daemon.c(504): starting seafile client 7.0.10
[11/13/20 22:51:37] seafile-session.c(382): client id = f571f96b1736859e8507ffb281e973ba23d97623, client_name = puffy.mydomain.local
[11/13/20 22:51:37] socket file exists, delete it anyway
[11/13/20 22:51:37] seaf-daemon.c(531): rpc server started.start to serve on pipe client

[11/13/20 22:51:37] wt-monitor-linux.c(548): [wt mon] fail to open dir /home/nicola/Seafile/condivisi/nico/a: Too many open files. [11/13/20 22:51:37] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/b: Too many open files. [11/13/20 22:51:37] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/c: Too many open files. [11/13/20 22:51:37] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/d: Too many open files. [11/13/20 22:51:37] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/e: Too many open files. [11/13/20 22:51:37] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/f: Too many open files. [11/13/20 22:51:37] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/g: Too many open files. [11/13/20 22:51:37] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/h: Too many open files. [11/13/20 22:51:37] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/i: Too many open files. [11/13/20 22:51:37] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/j: Too many open files. [11/13/20 22:51:37] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/k: Too many open files. [11/13/20 22:51:37] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/l: Too many open files. [11/13/20 22:51:37] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/m: Too many open files. [11/13/20 22:51:37] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/n: Bad file descriptor. [11/13/20 22:51:37] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/o: Bad file descriptor. [11/13/20 22:51:37] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/p: Bad file descriptor. [11/13/20 22:51:37] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/q: Bad file descriptor. [11/13/20 22:51:37] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/r: Bad file descriptor. [11/13/20 22:51:37] wt-monitor-linux.c(592): [wt mon] inotify_init failed: Too many open files. [11/13/20 22:51:37] wt-monitor-linux.c(701): [wt mon] failed to watch worktree of repo 2f5efa81-ca7d-4215-9103-777dbb13b0dd. [11/13/20 22:51:37] repo-mgr.c(5811): failed to watch repo 2f5efa81-ca7d-4215-9103-777dbb13b0dd. [11/13/20 22:51:37] wt-monitor-linux.c(592): [wt mon] inotify_init failed: Too many open files. [11/13/20 22:51:37] wt-monitor-linux.c(701): [wt mon] failed to watch worktree of repo dee58428-b4fe-4350-9819-41457816a024. [11/13/20 22:51:37] repo-mgr.c(5811): failed to watch repo dee58428-b4fe-4350-9819-41457816a024. [11/13/20 22:51:37] wt-monitor-linux.c(592): [wt mon] inotify_init failed: Too many open files. [11/13/20 22:51:37] wt-monitor-linux.c(701): [wt mon] failed to watch worktree of repo 25dbd508-ea4b-4b87-82ac-b054b6439ea7. [11/13/20 22:51:37] repo-mgr.c(5811): failed to watch repo 25dbd508-ea4b-4b87-82ac-b054b6439ea7.
[11/13/20 22:51:38] start to serve on pipe client
[11/13/20 22:51:38] start to serve on pipe client
[11/13/20 22:51:38] start to serve on pipe client
[11/13/20 22:51:38] start to serve on pipe client
[11/13/20 22:51:38] job-mgr.c(96): [Job Manager] pipe error: Too many open files
[11/13/20 22:51:39] start to serve on pipe client
[11/13/20 22:51:39] start to serve on pipe client
[11/13/20 22:51:39] failed to read rpc request size: Bad file descriptor
[11/13/20 22:51:39] start to serve on pipe client
[11/13/20 22:51:39] failed to read rpc request size: Bad file descriptor
[11/13/20 22:51:39] start to serve on pipe client
[11/13/20 22:51:39] start to serve on pipe client
[11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] [11/13/20 22:51:39] failed to read rpc request size: Bad file descriptor
[11/13/20 22:51:39] start to serve on pipe client
start to serve on pipe client

...

[11/13/20 22:51:43] [11/13/20 22:51:43] [11/13/20 22:51:43] [11/13/20 22:51:43] start to serve on pipe client
[11/13/20 22:51:43] start to serve on pipe client
[11/13/20 22:51:43] [11/13/20 22:51:43] [11/13/20 22:51:43] [11/13/20 22:51:43] start to serve on pipe client
[11/13/20 22:51:43] failed to read rpc request size: Bad file descriptor
[11/13/20 22:51:43] start to serve on pipe client
start to serve on pipe client
[11/13/20 22:51:43] start to serve on pipe client
failed to read rpc request size: Bad file descriptor
[11/13/20 22:51:43] start to serve on pipe client
[11/13/20 22:51:43] failed to read rpc request size: Bad file descriptor
[11/13/20 22:51:45] seaf-daemon.c(504): starting seafile client 7.0.10
[11/13/20 22:51:45] seafile-session.c(382): client id = number client_name = [email protected]
[11/13/20 22:51:45] socket file exists, delete it anyway
[11/13/20 22:51:45] seaf-daemon.c(531): rpc server started.
[11/13/20 22:51:45] wt-monitor-linux.c(548): [wt mon] fail to open dir /home/nicola/Seafile/condivisi/nico/a: Too many open files. [11/13/20 22:51:45] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/b: Too many open files. [11/13/20 22:51:45] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/c: Too many open files. [11/13/20 22:51:45] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/d: Too many open files. [11/13/20 22:51:45] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/e Too many open files. [11/13/20 22:51:45] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/f: Too many open files. [11/13/20 22:51:45] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/g: Too many open files. [11/13/20 22:51:45] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/h: Too many open files. [11/13/20 22:51:45] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/i: Too many open files. [11/13/20 22:51:45] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/j: Too many open files. [11/13/20 22:51:45] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/k: Too many open files. [11/13/20 22:51:45] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/l: Too many open files. [11/13/20 22:51:45] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/nico/m: Too many open files. [11/13/20 22:51:45] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/n: Bad file descriptor. [11/13/20 22:51:45] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/o: Bad file descriptor. [11/13/20 22:51:45] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/p: Bad file descriptor. [11/13/20 22:51:45] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/q: Bad file descriptor. [11/13/20 22:51:45] wt-monitor-linux.c(539): [wt mon] fail to add watch to /home/nicola/Seafile/condivisi/r: Bad file descriptor. [11/13/20 22:51:45] wt-monitor-linux.c(592): [wt mon] inotify_init failed: Too many open files. [11/13/20 22:51:45] wt-monitor-linux.c(701): [wt mon] failed to watch worktree of repo 2f5efa81-ca7d-4215-9103-777dbb13b0dd. [11/13/20 22:51:45] repo-mgr.c(5811): failed to watch repo 2f5efa81-ca7d-4215-9103-777dbb13b0dd. [11/13/20 22:51:45] wt-monitor-linux.c(592): [wt mon] inotify_init failed: Too many open files. [11/13/20 22:51:45] wt-monitor-linux.c(701): [wt mon] failed to watch worktree of repo dee58428-b4fe-4350-9819-41457816a024. [11/13/20 22:51:45] repo-mgr.c(5811): failed to watch repo dee58428-b4fe-4350-9819-41457816a024. [11/13/20 22:51:45] wt-monitor-linux.c(592): [wt mon] inotify_init failed: Too many open files. [11/13/20 22:51:45] wt-monitor-linux.c(701): [wt mon] failed to watch worktree of repo 25dbd508-ea4b-4b87-82ac-b054b6439ea7. [11/13/20 22:51:45] repo-mgr.c(5811): failed to watch repo 25dbd508-ea4b-4b87-82ac-b054b6439ea7.

[snip]

And this is an excerpt from applet.log:

[snip]

[11/13/20 22:51:37]read id from id file
[11/13/20 22:51:37]starting seaf-daemon:  ("-c", "/home/nicola/.ccnet", "-d", "/home/nicola/Seafile/.seafile-data", "-w", "/home/nicola/Seafile")
[11/13/20 22:51:38][Rpc Client] connected to daemon
[11/13/20 22:51:38][Rpc Client] connected to daemon
[11/13/20 22:51:39]Starting the network status detector
[11/13/20 22:51:39][AutoUpdateManager] cancel all download tasks
[11/13/20 22:51:39][AutoUpdateManager] clean file caches db
[11/13/20 22:51:39][AutoUpdateManager] clean file caches
[11/13/20 22:51:39]starting applet rpc service
[11/13/20 22:51:39]socket file exists, delete it anyway
[11/13/20 22:51:39]applet rpc service started
[11/13/20 22:51:39][Rpc Client] connected to daemon
[11/13/20 22:51:40]failed to get repo list: unable to decode byte 0xdf

[11/13/20 22:51:40]unable to refresh local repos

[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]Seafile daemon process crashed with code 6
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe

[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to send rpc call: Broken pipe
[11/13/20 22:51:40]failed to get repo list: Transport Error

[11/13/20 22:51:41]failed to send rpc call: Broken pipe
[11/13/20 22:51:41]failed to send rpc call: Broken pipe
[11/13/20 22:51:41]failed to send rpc call: Broken pipe
[11/13/20 22:51:41]failed to send rpc call: Broken pipe
[11/13/20 22:51:41]failed to send rpc call: Broken pipe
[11/13/20 22:51:41]failed to send rpc call: Broken pipe
[11/13/20 22:51:41]failed to send rpc call: Broken pipe
[11/13/20 22:51:41]failed to send rpc call: Broken pipe
[11/13/20 22:51:41]failed to send rpc call: Broken pipe
[11/13/20 22:51:41]failed to send rpc call: Broken pipe
[11/13/20 22:51:41]failed to send rpc call: Broken pipe
[11/13/20 22:51:41]failed to get repo list: Transport Error

[11/13/20 22:51:42]Trying to restart seafile daemon
[11/13/20 22:51:42]starting seaf-daemon:  ("-c", "/home/nicola/.ccnet", "-d", "/home/nicola/Seafile/.seafile-data", "-w", "/home/nicola/Seafile")
[11/13/20 22:51:42]failed to send rpc call: Broken pipe
[11/13/20 22:51:42]failed to send rpc call: Broken pipe
[11/13/20 22:51:42]failed to send rpc call: Broken pipe
[11/13/20 22:51:42]failed to send rpc call: Broken pipe
[11/13/20 22:51:42]failed to send rpc call: Broken pipe
[11/13/20 22:51:42]failed to send rpc call: Broken pipe
[11/13/20 22:51:42]failed to send rpc call: Broken pipe
[11/13/20 22:51:42]failed to send rpc call: Broken pipe
[11/13/20 22:51:42]failed to send rpc call: Broken pipe
[11/13/20 22:51:42]failed to send rpc call: Broken pipe
[11/13/20 22:51:42]failed to send rpc call: Broken pipe
[11/13/20 22:51:42]failed to send rpc call: Broken pipe
[11/13/20 22:51:42]failed to get repo list: Transport Error

[11/13/20 22:51:43][Rpc Client] connected to daemon
[11/13/20 22:51:43][Rpc Client] connected to daemon
[11/13/20 22:51:43][Rpc Client] connected to daemon
[11/13/20 22:51:43]Seafile daemon process crashed with code 6
[11/13/20 22:51:43]failed to send rpc call: Broken pipe
[11/13/20 22:51:43]failed to send rpc call: Broken pipe
[11/13/20 22:51:43]failed to send rpc call: Broken pipe
[11/13/20 22:51:43]failed to send rpc call: Broken pipe
[11/13/20 22:51:43]failed to get repo list: Transport Error

[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to get repo list: Transport Error

[11/13/20 22:51:44]unable to refresh local repos

[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:44]failed to send rpc call: Broken pipe
[11/13/20 22:51:45]failed to send rpc call: Broken pipe
[11/13/20 22:51:45]failed to get repo list: Transport Error

[11/13/20 22:51:45]failed to send rpc call: Broken pipe
[11/13/20 22:51:45]failed to send rpc call: Broken pipe
[11/13/20 22:51:45]failed to send rpc call: Broken pipe
[11/13/20 22:51:45]failed to send rpc call: Broken pipe
[11/13/20 22:51:45]failed to send rpc call: Broken pipe
[11/13/20 22:51:45]failed to send rpc call: Broken pipe
[11/13/20 22:51:45]failed to send rpc call: Broken pipe
[11/13/20 22:51:45]Trying to restart seafile daemon
[11/13/20 22:51:45]starting seaf-daemon:  ("-c", "/home/nicola/.ccnet", "-d", "/home/nicola/Seafile/.seafile-data", "-w", "/home/nicola/Seafile")
[11/13/20 22:51:45]failed to send rpc call: Broken pipe
[snip]

I also tried raising kern.maxfiles=3000000 but nothing changed.

Seafile client app running on OpenBSD can definitely connect to server, open files in temporary locations using file manager and download choosen files, but it won't sync files to (or from) local destination.

Clients work perfectly under linux and MacOS, so this is not a server problem.

Firewall parameters are ok as seafile app can "show files on cloud" and "on server".

Can somebody help?


Reply via email to