FTP transfer of large files times out

Status
Not open for further replies.

VladMK

Cadet
Joined
Jun 5, 2014
Messages
3
Hello,

i have been using FreeNAS-9.2.0-RELEASE-x64 on:
Intel i3-4130 with 8GB RAM and it has been working perfectly, except the problem I have with trying to transfer large files over FTP and the connection times out. I've tried to increase the value of the field: SERVICES>FTP>Timeout to 6000sec, and to zero as well, but no luck.
I would really appreciate if any of You could help me set the timeout to infinity, or disable it whatsoever, so the connection never times out.

Thax in advance
 

VladMK

Cadet
Joined
Jun 5, 2014
Messages
3
What driver is the NIC using (from ifconfig)?

[root@freenas ~]# ifconfig
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGI
C,LINKSTATE>
ether 94:de:80:b9:fb:85
inet xxx.xxx.xxx.xxx netmask 0xffffff00 broadcast xxx.xxx.xxx.xxx
inet6 fe80::96de:80ff:feb9:fb85%re0 prefixlen 64 scopeid 0x2
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
media: Ethernet autoselect (1000baseT <full-duplex>)
status: active
ipfw0: flags=8801<UP,SIMPLEX,MULTICAST>
metric 0 mtu 65536
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
inet 127.0.0.1 netmask 0xff000000
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
 

VladMK

Cadet
Joined
Jun 5, 2014
Messages
3
is Realtek chipset the problem here?
I mean, I do not have any problems transferring files of any size locally (directly on the same LAN), the time out occurs only over FTP.
Do You have a solution maybe?
If not, can You recommend a chipset for another NIC please.
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
is Realtek chipset the problem here?
I mean, I do not have any problems transferring files of any size locally (directly on the same LAN), the time out occurs only over FTP.
Do You have a solution maybe?
If not, can You recommend a chipset for another NIC please.

Did you check out my noobie guide?

Did you check out the hardware requirements section of the FreeNAS documentation?

Did you check out out FAQ?

The answers to all of these questions can be found in those 3 places. ;)
 

Hyperion

Dabbler
Joined
Apr 3, 2014
Messages
44
Id probably go for an Intel NIC

The internal NICs in most MB are made in China and are kinda shit.

Remember FreeNAS is a storage option, does not need a powerful CPU, but needs a fast transfer device.
 

solarisguy

Guru
Joined
Apr 4, 2014
Messages
1,125
You will be very happy to use a quality Intel NIC, instead of Realtek. However, for your particular problem, if you are using Windows, you can try to use the FileZilla FTP client (a portable version exist). And change the Timeout ("Timeout in seconds") to 0, in FileZilla.

In the FreeNAS GUI for FTP, return the Timeout value to 600. Check whether the FreeNAS ProFTPD defaults have been changed: you should see
Code:
# grep Timeout /usr/local/etc/proftpd.conf
TimeoutIdle 600
TimeoutLogin 300
TimeoutNoTransfer 300
TimeoutStalled 3600
#


There is a parameter that could limit the entire FTP session http://www.proftpd.org/docs/directives/linked/config_ref_TimeoutSession.html However, by default it is not set and ProFTPD assumes no limit.

Again, the above is for your LAN only. For FTP transfers outside of you LAN all bets are off and for example it could be
  • your ISP that limits size of your FTP sessions;
  • your firewall that has problems;
  • use of IE for FTP transfer (IE transfers the file to its local cache, then copies it to the destination)
  • anything on the other end (try the FileZilla...).
 
Status
Not open for further replies.
Top