Page 1 of 2
Suddenly loss of connection when sharing files
Posted: Fri Feb 26, 2010 9:27 am
by DaMerc91
Hi
Since i reinstalled my Amahi home server, i'm having some serious problems when i'm exposing my server to high traffic. He never did that before, so i guess it has nothing to do with the system capabilities.
The configuration: 2.3 Ghz Celeron, 1024 mb, 10 Gig systemdisk, 1000 gig for data.
So when i copy a lot of files (starting from 5 gigs) to or from the server, the connection suddenly interrupts and gives me the error that the device cannot be accessed. When I stream video, same problem. I also use CD images placed on the server on different computers, so for some programs i'm very dependent of Amahi.
After a reboot however (which i do by the dashboard) everything is back normal, untill the next videostream or big file copy.
Is anyone experiencing the same problem, or has anyone a solution for this matter??
Thx a lot in advance!!
Grtz
DaMerc91
Re: Suddenly loss of connection when sharing files
Posted: Fri Feb 26, 2010 1:46 pm
by cpg
details on the exact wording of the error please. as you can imagine this does not happen to many people (otherwise you will hear about it here in the forums!)
i routinely transfer 7+gb files (blueray disks, etc.), with ease and without any seeming issue.
Re: Suddenly loss of connection when sharing files
Posted: Mon Mar 01, 2010 4:03 am
by moredruid
hmm, what if you have an ssh connection open to the server and then start a file transfer. Is that aborted too? If the ssh connection is also dropped the fault is somewhere in the network stack (driver/software). Is there anything in the logs about this? Check /var/log/messages and the command "dmesg" for pointers.
Re: Suddenly loss of connection when sharing files
Posted: Sun May 08, 2011 6:04 am
by autumnwalker
I'm having a similar issue when transferring a large batch of files.
One or two of the files will transfer across and then I get an error (Win7 and OS X) that says the server cannot be accessed. In W7 when I click "try again" it will continually fail, but if I cancel and start another batch another file or two will transfer and then fail again.
Re: Suddenly loss of connection when sharing files
Posted: Sat May 14, 2011 6:15 am
by autumnwalker
Screenshot of the error I get in Windows 7. It is happening mid-file now as well. If the file transfer is unsuccessful, it doesn't show up as a partial file in the HDA window.
I watched /var/log/messages and the following was written to the log when I got the error:
May 14 10:25:10 SUNDER smbd_greyhole: [2011/05/14 10:25:10.689531, 0] lib/util_sock.c:474(read_fd_with_timeout)
May 14 10:25:10 SUNDER smbd_greyhole: [2011/05/14 10:25:10.707671, 0] lib/util_sock.c:1432(get_peer_addr_internal)
May 14 10:25:10 SUNDER smbd_greyhole: getpeername failed. Error was Transport endpoint is not connected
May 14 10:25:10 SUNDER smbd_greyhole: read_fd_with_timeout: client 0.0.0.0 read error = Connection reset by peer.
May 14 10:25:10 SUNDER smbd_greyhole: [2011/05/14 10:25:10.709238, 0] lib/util_sock.c:675(write_data)
May 14 10:25:10 SUNDER smbd_greyhole: [2011/05/14 10:25:10.709465, 0] lib/util_sock.c:1432(get_peer_addr_internal)
May 14 10:25:10 SUNDER smbd_greyhole: getpeername failed. Error was Transport endpoint is not connected
May 14 10:25:10 SUNDER smbd_greyhole: write_data: write failure in writing to client 0.0.0.0. Error Broken pipe
May 14 10:25:10 SUNDER smbd_greyhole: [2011/05/14 10:25:10.709954, 0] smbd/process.c:79(srv_send_smb)
May 14 10:25:10 SUNDER smbd_greyhole: Error writing 75 bytes to client. -1. (Transport endpoint is not connected)
May 14 10:25:59 SUNDER smbd_greyhole: [2011/05/14 10:25:59.003478, 0] smbd/nttrans.c:2204(call_nt_transact_ioctl)
May 14 10:25:59 SUNDER smbd_greyhole: call_nt_transact_ioctl(0x900eb): Currently not implemented.
May 14 10:26:50 SUNDER nmbd[1974]: [2011/05/14 10:26:50.063340, 0] nmbd/nmbd_browsesync.c:350(find_domain_master_name_query_fail)
May 14 10:26:50 SUNDER nmbd[1974]: find_domain_master_name_query_fail:
May 14 10:26:50 SUNDER nmbd[1974]: Unable to find the Domain Master Browser name EASTBRIDGE<1b> for the workgroup EASTBRIDGE.
May 14 10:26:50 SUNDER nmbd[1974]: Unable to sync browse lists in this workgroup.
May 14 10:27:29 SUNDER dhcpd: DHCPINFORM from 172.16.111.101 via eth0
May 14 10:27:29 SUNDER dhcpd: DHCPACK to 172.16.111.101 (6c:f0:49:05:8a:35) via eth0
Second attempt:
May 14 10:31:10 SUNDER smbd_greyhole: [2011/05/14 10:31:10.653501, 0] lib/util_sock.c:474(read_fd_with_timeout)
May 14 10:31:10 SUNDER smbd_greyhole: [2011/05/14 10:31:10.666866, 0] lib/util_sock.c:1432(get_peer_addr_internal)
May 14 10:31:10 SUNDER smbd_greyhole: getpeername failed. Error was Transport endpoint is not connected
May 14 10:31:10 SUNDER smbd_greyhole: read_fd_with_timeout: client 0.0.0.0 read error = Connection reset by peer.
May 14 10:31:10 SUNDER smbd_greyhole: [2011/05/14 10:31:10.675726, 0] lib/util_sock.c:675(write_data)
May 14 10:31:10 SUNDER smbd_greyhole: [2011/05/14 10:31:10.676056, 0] lib/util_sock.c:1432(get_peer_addr_internal)
May 14 10:31:10 SUNDER smbd_greyhole: getpeername failed. Error was Transport endpoint is not connected
May 14 10:31:10 SUNDER smbd_greyhole: write_data: write failure in writing to client 0.0.0.0. Error Broken pipe
May 14 10:31:10 SUNDER smbd_greyhole: [2011/05/14 10:31:10.676928, 0] smbd/process.c:79(srv_send_smb)
May 14 10:31:10 SUNDER smbd_greyhole: Error writing 75 bytes to client. -1. (Transport endpoint is not connected)
Re: Suddenly loss of connection when sharing files
Posted: Mon Apr 30, 2012 11:26 pm
by sven86
I'm having the same problem as well.
Re: Suddenly loss of connection when sharing files
Posted: Tue May 01, 2012 4:50 am
by bigfoot65
Looks like it could be Greyhole related. Have you upgraded Greyhole or invoked the mount_shares_locally script? Using that script might help.
http://wiki.amahi.org/index.php/Greyhole
sven86,
It helps if you can provide details. Just stating you have the same problem does not give us enough info to assist you.
Re: Suddenly loss of connection when sharing files
Posted: Mon Aug 18, 2014 2:02 pm
by pfinlay
Hi,
I seem to be experiencing this same issue. I'm running Amahi 7 on Fedora 19 and have greyhole installed. I'm trying to migrate my music over to my HDA via my windows 7 laptop. I had no issues with ~8G or so today, but this evening while trying to move another big chunk I get the windows error "Cannot access //hda/Music", and the "Retry" button fails. If I open a file browser I can navigate to the location no problem, so I don't know what it's complaining about. I hit "Skip", then the same thing happens with the next file. I see in this thread that others had a similar problem a few years ago, was a solution found? Is there a better way to move a large amount of data to the hda than good old copy/paste in Windows? Thanks!
Re: Suddenly loss of connection when sharing files
Posted: Mon Aug 18, 2014 2:28 pm
by bigfoot65
Could be the size of your Landing Zone (LZ).
https://wiki.amahi.org/index.php/Greyhole_landing_zone
You can check to see how Greyhole is progressing with your files by doing the following as root user:
greyhole -q
You may need to do a smaller chunk of files and wait for Greyhole, or move your LZ to a bigger drive. No guarantee this is your issue, but kinda sounds like it.
Re: Suddenly loss of connection when sharing files
Posted: Tue Aug 19, 2014 2:01 am
by pfinlay
Could be the size of your Landing Zone (LZ).
https://wiki.amahi.org/index.php/Greyhole_landing_zone
You can check to see how Greyhole is progressing with your files by doing the following as root user:
greyhole -q
You may need to do a smaller chunk of files and wait for Greyhole, or move your LZ to a bigger drive. No guarantee this is your issue, but kinda sounds like it.
Thanks for the reply. I don't think this is the issue as my LZ is on a 4TB drive with 2TB free.
I just tried again and it only got stuck once. After hitting Skip it actually continued this time and completed the transfer. Could be because there's no other network activity now? Not sure...