Skip to content

Transfering large files fails #1814

@ronangaillard

Description

@ronangaillard

Describe the bug
When moving a large file (tried with a 842k file) from the hard drive to the shared folder it fails and disconnect from the shared drive.
If I move files around 200k it works fine.

I tried to set tickleval = 600 but it did not change anything (apart from failing later).

For information the transfer failed after 5 minutes and 15 seconds. The transfer speed seems very bad too, not sure why.

IMG_4890 Large

Here is the log I have on the netatalk side :

Dec 12 01:00:11.202087 afpd[61] {dsi_tcp.c:238} (info:DSI): AFP/TCP session from 192.168.1.12:2048
Dec 12 01:00:11.252691 afpd[23] {main.c:178} (info:AFPDaemon): child[61]: done
Dec 12 01:00:14.096343 afpd[62] {dsi_tcp.c:238} (info:DSI): AFP/TCP session from 192.168.1.12:2049
Dec 12 01:00:14.154146 afpd[62] {uams_randnum.c:306} (info:ad): randnum/rand2num login: ronan
Dec 12 01:00:14.227197 afpd[62] {auth.c:245} (note:AFPDaemon): Login by ronan (AFP2.2)
Dec 12 01:02:44.228089 afpd[62] {afp_dsi.c:326} (error:AFPDaemon): afp_alarm: child timed out, entering disconnected state
Dec 12 01:02:44.228106 afpd[62] {dsi_stream.c:259} (note:DSI): dsi_disconnect: entering disconnected state
Dec 12 01:02:44.228145 afpd[62] {afp_dsi.c:685} (error:AFPDaemon): dsi_wrtreply: Bad file descriptor
Dec 12 01:02:44.228151 afpd[62] {dsi_stream.c:259} (note:DSI): dsi_disconnect: entering disconnected state
Dec 12 01:02:44.228157 afpd[62] {dsi_stream.c:259} (note:DSI): dsi_disconnect: entering disconnected state

I tried
To Reproduce
Move file more then 800k from hard drive to the shared drive.

Expected behavior
To not fail

Environment

  • Server OS: Linux Tower 6.1.49-Unraid based on Unicode 7.0.0 #1 SMP PREEMPT_DYNAMIC Wed Aug 30 09:42:35 PDT 2023 x86_64 Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz GenuineIntel GNU/Linux
  • Client OS: Macintosh SE/30, 68MB RAM, System 7.5.3
  • Netatalk Version 4.0.8

Logs

Dec 12 01:00:11.202087 afpd[61] {dsi_tcp.c:238} (info:DSI): AFP/TCP session from 192.168.1.12:2048
Dec 12 01:00:11.252691 afpd[23] {main.c:178} (info:AFPDaemon): child[61]: done
Dec 12 01:00:14.096343 afpd[62] {dsi_tcp.c:238} (info:DSI): AFP/TCP session from 192.168.1.12:2049
Dec 12 01:00:14.154146 afpd[62] {uams_randnum.c:306} (info:ad): randnum/rand2num login: ronan
Dec 12 01:00:14.227197 afpd[62] {auth.c:245} (note:AFPDaemon): Login by ronan (AFP2.2)
Dec 12 01:02:44.228089 afpd[62] {afp_dsi.c:326} (error:AFPDaemon): afp_alarm: child timed out, entering disconnected state
Dec 12 01:02:44.228106 afpd[62] {dsi_stream.c:259} (note:DSI): dsi_disconnect: entering disconnected state
Dec 12 01:02:44.228145 afpd[62] {afp_dsi.c:685} (error:AFPDaemon): dsi_wrtreply: Bad file descriptor
Dec 12 01:02:44.228151 afpd[62] {dsi_stream.c:259} (note:DSI): dsi_disconnect: entering disconnected state
Dec 12 01:02:44.228157 afpd[62] {dsi_stream.c:259} (note:DSI): dsi_disconnect: entering disconnected state

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions