I’m running syncthing on a Raspberry Pi Zero W and trying to sync a 50gb folder on an external SATA drive connected over USB. After a while the process will halt and the drive stops seeing any activity. There is no logs over journalctl
and nothing of note happens over syncthing logs:
● syncthing@syncthing.service - Syncthing - Open Source Continuous File Synchronization for syncthing
Loaded: loaded (/lib/systemd/system/syncthing@.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2023-08-03 11:19:12 BST; 26min ago
Docs: man:syncthing(1)
Main PID: 389 (syncthing)
Tasks: 16 (limit: 414)
CPU: 18min 18.239s
CGroup: /system.slice/system-syncthing.slice/syncthing@syncthing.service
├─389 /usr/bin/syncthing serve --no-browser --no-restart --logflags=0
└─405 /usr/bin/syncthing serve --no-browser --no-restart --logflags=0
Aug 03 11:23:14 raspberrypi syncthing[389]: [G2JAE] INFO: Device 72P353T-7GBTOTW-3NLHFFM-YD4545X-RGJYKEW-YTDPR3K-R6LRTZP-ZRRFRAA >
Aug 03 11:24:09 raspberrypi syncthing[389]: [G2JAE] INFO: Completed initial scan of sendreceive folder "dl-server/primary" (d5har>
Aug 03 11:24:09 raspberrypi syncthing[389]: [G2JAE] INFO: Completed initial scan of sendreceive folder "dl-server/management" (dc>
Aug 03 11:24:24 raspberrypi syncthing[389]: [G2JAE] INFO: Relay listener (dynamic+https://relays.syncthing.net/endpoint) starting
Aug 03 11:24:34 raspberrypi syncthing[389]: [G2JAE] INFO: Relay listener (dynamic+https://relays.syncthing.net/endpoint) shutting>
Aug 03 11:24:34 raspberrypi syncthing[389]: [G2JAE] INFO: listenerSupervisor@dynamic+https://relays.syncthing.net/endpoint: servi>
Aug 03 11:24:34 raspberrypi syncthing[389]: [G2JAE] INFO: Relay listener (dynamic+https://relays.syncthing.net/endpoint) starting
Aug 03 11:25:28 raspberrypi syncthing[389]: [G2JAE] INFO: Joined relay relay://148.251.237.21:22067
Aug 03 11:28:16 raspberrypi syncthing[389]: [G2JAE] INFO: quic://0.0.0.0:22000 detected NAT type: Port restricted NAT
Aug 03 11:28:16 raspberrypi syncthing[389]: [G2JAE] INFO: quic://0.0.0.0:22000 resolved external address quic://91.224.192.163:22>
lines 1-21/21 (END)
I can tell there’s nothing happening because the scan isn’t even nearly done and the drive activity indicator has stopped flashing. I also can’t access the GUI.
An error message appears in the console:
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.714222] Internal error: Oops: 8000000d [#1] ARM
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.715361] Process syncthing (pid: 482, stack limit = 0x9c8a9c36)
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.715392] Stack: (0xdc90ddc0 to 0xdc90e000)
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.715423] ddc0: c0df7444 c01f09d8 c1f07d70 dc90de1f 0f140003 fbff43bd 00000001 dc90deec
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.715457] dde0: 00000004 c6ce4dc8 c0c2f02c dc90de58 00000000 dc90de1f c0cb92d4 c01f1218
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.715490] de00: dc90de1f 00000000 c0c2f7dc 00100cca 00025b92 cbba2ea4 00000001 01439340
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.715522] de20: 00000000 c19ab5e0 00000000 00010001 c3000100 dc90de34 dc90de34 00000008
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.715555] de40: 00000008 012dc900 012dc880 012dc800 012dc780 012dc700 012dc680 012dc600
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.715588] de60: 012dc580 fbff43bd c6ce4dc8 00000000 dc90deec 00025b92 00000040 c0c2f02c
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.715620] de80: c6ce4dc8 00000000 c2f6ee40 c01cd7e0 c3073cd8 cba0c554 c5f68380 00000a55
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.715652] dea0: cbaea368 00000255 14863000 c6ce4dc8 00000040 c0c2f02c dc90dfb0 00000002
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.715685] dec0: c5f683b0 c01ce42c 00000000 fbff43bd 00000000 c6e13320 0000000f 0000000f
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.715718] dee0: c558b900 c5f68380 ffffffff c6ce4dc8 00000cc0 00014863 14863000 14863000
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.715750] df00: 00000a55 c5e78520 c5e78520 012dc900 00000000 00000000 00000000 00000000
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.715781] df20: 00000000 fbff43bd 00000817 dc90dfb0 c5f68380 14863000 00000817 00000255
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.715815] df40: c6ce4dc8 00000002 c5f683b0 c08cd358 00000000 c6e13323 c6e13320 c0c2f02c
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.715847] df60: 08e3f500 c0c34bfc 00000817 c08cd220 14863000 dc90dfb0 00000000 02802f00
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.715879] df80: 14880000 c00189fc 00000000 00000000 02802f48 c0008404 0008be0c 80000010
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.715911] dfa0: ffffffff c6d46180 00c5387d c0008f94 00000000 00000000 00000000 00000000
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.715943] dfc0: 00000000 00000000 00000000 00000000 14863000 00000000 02802f00 14880000
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.715975] dfe0: 1487ffe1 0ede3870 0001d5fc 0008be0c 80000010 ffffffff 00000000 00000000
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.716014] swap_readpage from swapin_readahead+0x344/0x42c
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.716066] swapin_readahead from do_swap_page+0x41c/0x7f8
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.716129] do_swap_page from handle_mm_fault+0x5b0/0xd94
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.716177] handle_mm_fault from do_page_fault+0x138/0x3a8
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.716239] do_page_fault from do_DataAbort+0x40/0xb4
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.716299] do_DataAbort from __dabt_usr+0x54/0x60
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.716341] Exception stack(0xdc90dfb0 to 0xdc90dff8)
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.716368] dfa0: 00000000 00000000 00000000 00000000
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.716401] dfc0: 00000000 00000000 00000000 00000000 14863000 00000000 02802f00 14880000
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.716433] dfe0: 1487ffe1 0ede3870 0001d5fc 0008be0c 80000010 ffffffff
Message from syslogd@raspberrypi at Aug 3 11:44:59 ...
kernel:[ 1371.716463] Code: 00000000 00000000 00000000 00000000 (00000000)
Attempts to restart the system service take a long time and don’t work:
blackshibe@raspberrypi:~ $ sudo systemctl restart syncthing@syncthing.service
blackshibe@raspberrypi:~ $ sudo systemctl status syncthing@syncthing.service
● syncthing@syncthing.service - Syncthing - Open Source Continuous File Synchronization for syncthing
Loaded: loaded (/lib/systemd/system/syncthing@.service; enabled; vendor preset: enabled)
Active: deactivating (final-sigkill) (Result: exit-code) since Thu 2023-08-03 11:50:49 BST; 1min 56s ago
Docs: man:syncthing(1)
Process: 810 ExecStart=/usr/bin/syncthing serve --no-browser --no-restart --logflags=0 (code=exited, status=1/FAILURE)
Main PID: 810 (code=exited, status=1/FAILURE)
Tasks: 2 (limit: 414)
CPU: 1.153s
CGroup: /system.slice/system-syncthing.slice/syncthing@syncthing.service
Aug 03 11:50:48 raspberrypi systemd[1]: Started Syncthing - Open Source Continuous File Synchronization for syncthing.
Aug 03 11:50:48 raspberrypi syncthing[810]: [start] INFO: syncthing v1.23.6 "Fermium Flea" (go1.20.5 linux-arm) debian@github.syncthing.net 2023-07-03 09:51:12 UTC [noupgrade]
Aug 03 11:50:49 raspberrypi syncthing[810]: [start] WARNING: Error opening database: resource temporarily unavailable (is another instance of Syncthing running?)
Aug 03 11:50:49 raspberrypi systemd[1]: syncthing@syncthing.service: Main process exited, code=exited, status=1/FAILURE
Aug 03 11:50:49 raspberrypi systemd[1]: syncthing@syncthing.service: Killing process 406 (syncthing) with signal SIGKILL.
Aug 03 11:52:19 raspberrypi systemd[1]: syncthing@syncthing.service: Processes still around after SIGKILL. Ignoring.
Aug 03 11:52:19 raspberrypi systemd[1]: syncthing@syncthing.service: Killing process 406 (syncthing) with signal SIGKILL.