Suddenly loss of connection when sharing files

DaMerc91
Posts: 4
Joined: Thu Dec 10, 2009 12:53 am
Location: Europe

Suddenly loss of connection when sharing files

Postby DaMerc91 » Fri Feb 26, 2010 9:27 am

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
Qui vit d'espoir meurt de désir

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Suddenly loss of connection when sharing files

Postby cpg » Fri Feb 26, 2010 1:46 pm

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.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

User avatar
moredruid
Expert
Posts: 791
Joined: Tue Jan 20, 2009 1:33 am
Location: Netherlands
Contact:

Re: Suddenly loss of connection when sharing files

Postby moredruid » Mon Mar 01, 2010 4:03 am

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.
echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D2173656C7572206968616D41snlbxq' | dc
Galileo - HP Proliant ML110 G6 quad core Xeon 2.4GHz, 4GB RAM, 2x750GB RAID1 + 2x1TB RAID1 HDD

autumnwalker
Posts: 30
Joined: Sat Jan 08, 2011 10:52 am
Location: Nova Scotia, Canada

Re: Suddenly loss of connection when sharing files

Postby autumnwalker » Sun May 08, 2011 6:04 am

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.

autumnwalker
Posts: 30
Joined: Sat Jan 08, 2011 10:52 am
Location: Nova Scotia, Canada

Re: Suddenly loss of connection when sharing files

Postby autumnwalker » Sat May 14, 2011 6:15 am

Image

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)

sven86
Posts: 9
Joined: Sun Apr 29, 2012 7:10 pm

Re: Suddenly loss of connection when sharing files

Postby sven86 » Mon Apr 30, 2012 11:26 pm

I'm having the same problem as well.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Suddenly loss of connection when sharing files

Postby bigfoot65 » Tue May 01, 2012 4:50 am

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

pfinlay
Posts: 14
Joined: Mon Aug 18, 2014 1:55 pm

Re: Suddenly loss of connection when sharing files

Postby pfinlay » Mon Aug 18, 2014 2:02 pm

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!

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Suddenly loss of connection when sharing files

Postby bigfoot65 » Mon Aug 18, 2014 2:28 pm

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

pfinlay
Posts: 14
Joined: Mon Aug 18, 2014 1:55 pm

Re: Suddenly loss of connection when sharing files

Postby pfinlay » Tue Aug 19, 2014 2:01 am

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...

Who is online

Users browsing this forum: No registered users and 22 guests