Transmission keeps crashing, can't download anything

Hello everybody,

I have a strange issue with Transmission on my RPI 2. It used to work fine, but recently I have big problems with it.
I installed the OSMC version from the app store, configured it per instructions, but most of the times as soon as I add a torrent, the Web interface becomes unresponsive, the daemon hangs and there is nothing I can do anymore until I restart the dameon through SSH.
Sometimes I can’t even restart the daemon and I have to restart the whole mediacenter.
Sometimes the daemon works fine, but I can’t access the web interface (it just loads indefinitely) or it takse several minutes to fully display the interface with the torrent.
When the daemon hangs, I can’t even run the df command through SSH.
I download to an USB flash drive (64GB, exFAT) and there are no other USB devices connected.

Here is the log: https://paste.osmc.tv/ukizizanuc

The biggest problem of all is that these issues caused several of my USB flash drives to completely die (luckily I have warranty).

I tried switching PSU’s but nothing seems to change. I think maybe it has something to do with power, otherwise, why would the USB drive just stop working?

I have set the download dir and incomplete-dir to the same USB flash drive, is that ok?

If you need more information or logs, let me know.

Thank you for your help!

It might be power-related. You don’t say what power supply you’re using.

I don’t understand this time inconsistency:

May 31 19:55:32 osmc http-time[332]: Updated time from Sun May 31 17:55:17 UTC 2020 to Sun May 31 17:55:32 UTC 2020 using HTTP query to www.google.com
...
May 31 19:55:41 osmc systemd[1]: Started Transmission BitTorrent Daemon.
...
Jun 03 17:37:24 osmc ntfs-3g[10448]: Mounted /dev/sdb1 (Read-Write, label "ADATA UFD", NTFS 3.1)

but if the disk is mounted after transmission starts, that might cause a few issues.

It also says that the 64GB (Adata) drive is formatted as NTFS, not exFAT.

The Adata drive has been attached after all these problems appeared, only as a test if the problem is related to a different FS.
So the main download drive (for now) is mounted on the /dev/sda1.

I am using several different PSU’s that are capable of delivering at least 2.5A/5V (tested with a USB tester) with an extra short USB cable which should prevent any extra voltage drop compared to regular cables.

I didn’t notice any problems during testing with several USB flash drives along with an WI-FI dongle, or during movie playback. No lightning bolt icons are present…

That tells me that you have other issues, most likely either power or hardware. There should be no way that a problem with Transmission would make a drive fail. It may cause corruption, but not a physical failure that a reformat would not fix.

1 Like

Understood. Based on their serial numbers, I see that there are two Adata drives.

The first one is detected by the OS as a USB storage device but nothing more happens:

May 31 19:55:07 osmc kernel: usb 1-1.4: new high-speed USB device number 4 using dwc_otg
May 31 19:55:07 osmc kernel: usb 1-1.4: New USB device found, idVendor=125f, idProduct=cb23, bcdDevice=11.00
May 31 19:55:07 osmc kernel: usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 31 19:55:07 osmc kernel: usb 1-1.4: Product: ADATA USB Flash Drive
May 31 19:55:07 osmc kernel: usb 1-1.4: Manufacturer: ADATA
May 31 19:55:07 osmc kernel: usb 1-1.4: SerialNumber: 29C1921230090004
May 31 19:55:07 osmc kernel: usb-storage 1-1.4:1.0: USB Mass Storage device detected
May 31 19:55:07 osmc kernel: scsi host0: usb-storage 1-1.4:1.0

The second Adata device is again detected but this time the OS is also able to display its partition details:

Jun 03 17:37:18 osmc kernel: usb 1-1.3: new high-speed USB device number 6 using dwc_otg
Jun 03 17:37:18 osmc kernel: usb 1-1.3: New USB device found, idVendor=125f, idProduct=cb23, bcdDevice=11.00
Jun 03 17:37:18 osmc kernel: usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 03 17:37:18 osmc kernel: usb 1-1.3: Product: ADATA USB Flash Drive
Jun 03 17:37:18 osmc kernel: usb 1-1.3: Manufacturer: ADATA
Jun 03 17:37:18 osmc kernel: usb 1-1.3: SerialNumber: 2980616010740016
Jun 03 17:37:18 osmc kernel: usb-storage 1-1.3:1.0: USB Mass Storage device detected
Jun 03 17:37:18 osmc kernel: scsi host1: usb-storage 1-1.3:1.0
Jun 03 17:37:19 osmc kernel: Default I/O scheduler not found. Using noop.
Jun 03 17:37:23 osmc kernel: scsi 1:0:0:0: Direct-Access     ADATA    USB Flash Drive  1100 PQ: 0 ANSI: 4
Jun 03 17:37:23 osmc kernel: sd 1:0:0:0: Attached scsi generic sg1 type 0
Jun 03 17:37:23 osmc kernel: Default I/O scheduler not found. Using noop.
Jun 03 17:37:23 osmc kernel: sd 1:0:0:0: [sdb] 121241600 512-byte logical blocks: (62.1 GB/57.8 GiB)
Jun 03 17:37:23 osmc kernel: sd 1:0:0:0: [sdb] Write Protect is off
Jun 03 17:37:23 osmc kernel: sd 1:0:0:0: [sdb] Mode Sense: 43 00 00 00
Jun 03 17:37:23 osmc kernel: sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jun 03 17:37:23 osmc kernel:  sdb: sdb1
Jun 03 17:37:23 osmc kernel: sd 1:0:0:0: [sdb] Attached SCSI removable disk
Jun 03 17:37:23 osmc udisks-glue[360]: Device file /dev/sdb inserted

One possible interpretation is that the first drive has lost its partition table.