You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

When copying large files using SMB, the connection gets suddenly lost and the source computer gets a self-assigned IP address. How is that theoretically possible?

Greetings,


This is an issue I can reproduce at will and I can't understand the “reasoning”.

I have a 2008 Mac Pro and a 2020 Mac Mini both connected to a small switch with Ethernet. This switch is connected to my modem.


From the Mac Mini, I connect to a share at the Mac Pro, which contains 11 files of more than 2 GB in size. I attempt to copy any of these files to my Mac mini; the Finder starts copying and, at a random progress, stalls. Then I see the floating window telling the connection to the server has been interrupted (a “standard”, well-known window, but my OS not being set to English, I can't tell the exact phrasing) and the Finder eventually aborts the copy with an error code (The operation could not be completed because an unexpected error occurred - error code 100060).


At this point, I can't ping anything from the Mac Pro and Ethernet 1 (the Mac Pro's connected port) has a self-assigned address. Renewing the DHCP lease or unplugging and plugging the cable again has no effect.

Then I plug the cable to Ethernet 2 (this Mac Pro having 2 ports) and it gets a valid IP again. I can once more go to the mac mini and connect to the Mac Pro. But if I try again to copy any such big file, the same goes for Ethernet 2, which loses its valid address.

I only have two apparent fixes at this point: either restart the Mac Pro or define an IP address manually (yes, this method works, oddly).


Transmitting the files isn't a problem, though: I'll use an external hard disk. My question is rather theoretical: how is it possible that copying large files (i.e. a big stream of data) makes an Ethernet port losing its valid IP address, replaced by a self-assigned one, and not being able to query a new DHCP lease at that point? Has the port been “deactivated” (by hardware?) in some ways?


I'm a self-taught person who'd like to understand this issue in more depth.


Thanks in advance.

Posted on Oct 5, 2021 1:48 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 6, 2021 10:36 AM

As a check against "it's something you added", restart into Safe Mode and see if the transfer can complete in Safe Mode. Software such as Anti-Virus scanners are often implicated in interfering with file transfers -- they are an invasive MENACE that gets into everything and makes you Mac unstable.

Similar questions

7 replies
Question marked as Top-ranking reply

Oct 6, 2021 10:36 AM in response to Anic264b

As a check against "it's something you added", restart into Safe Mode and see if the transfer can complete in Safe Mode. Software such as Anti-Virus scanners are often implicated in interfering with file transfers -- they are an invasive MENACE that gets into everything and makes you Mac unstable.

Oct 6, 2021 8:43 AM in response to Anic264b

My query was fishing for a really old version of MacOS, because SMB was phased in over time as the primary server-to-server and File Sharing protocol, edging out Apple File Protocol for such transfers. A really OLD MacOS may have been to blame -- but not in this case.


You may want to check in File Sharing on each Mac and be sure the File Sharing is using SMB preferentially.


System Preferences > Sharing > [√] File sharing > (Options)

Oct 6, 2021 11:24 AM in response to Grant Bennet-Alder

Looks like a good catch.

With starting the Mac Pro in safe mode, I was able to copy the remaining files (3 large files) without a problem.


Despite its poor reputation, I have to confess I have CleanMyMac installed on that one. It was part of a bundle I bought, because there were applications with good reputation in it, like Mac Pilot (I thought, at that time, that a bundle wouldn't mix good and bad applications, so I expected all to be good. Won't think this again.)


I've not yet removed CMM because there's still one thing I'm still using that no other software seems to provide (as soon as I find another app for that or the API calls myself, I'll get rid of CMM).

Basically, I have apps that can hang for various “expectable” reasons (my slow and very poor Internet connection may block an app waiting for an answer; or a network share disappearing because another computer was shut down, or a mistake in code of my own apps, etc.). CMM shows when an app/process hangs, in a status menu, and I can investigate right now (to learn the underlying system deeper, also).

The other way would be to keep the activity monitor always open (and visible) to see red entries, but this wastes space and one cannot see all processes at a glance. Granted, hangs are happening not often, but I still like to see and track them down, regardless of its reputation.


I'll now try the same thing with starting normally, quitting CMM and copying again. If it works that way, this would be my first issue with CMM (can fairly well happen…).


Thank you.

Oct 6, 2021 2:00 PM in response to Anic264b

Well, it looks like it was it. I've removed CleanMyMac and restarted. Although LittleSnitch told me about a CleanMyMac process which wanted to connect to a server (and already terminated) after I logged in (will have to check, as I've removed all files…), nothing appears in Activity Monitor concerning CMM and I've been able to copy all my files as expected.

And it was not due to a simple restart, as I tried again after safe mode (but prior to removing CMM).


I have to agree about CMM's reputation ☹


Thank you, Grant.

When copying large files using SMB, the connection gets suddenly lost and the source computer gets a self-assigned IP address. How is that theoretically possible?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.