George Gallen on 11 Jul 2006 13:42:19 -0000 |
If you are able to. Try replacing the NIC. This was one of the problems we were having, only small ftp transfers would work, and successive ftp transfer would get hung up (not dropped). Also, had problems with telnet connections being randomly dropped, or hung (even while typing). Webserver had difficulty passing image files. Luckily on our server we had 5 NICs with 2 spare at the time, so switching was just a matter of moving the cable, and ifdown/ifup. If nothing software seems to add up. Try the hardware route. Our NICS were PCI-X cards running 10/100/1000 and were fairly new at the time we purchased them (to the market that is) I kept thinking it was a driver issue. George > -----Original Message----- > From: plug-bounces@lists.phillylinux.org > [mailto:plug-bounces@lists.phillylinux.org]On Behalf Of Eric > Sent: Monday, July 10, 2006 10:03 AM > To: PLUG > Subject: [PLUG] perplexing file transfer problem > > > I've encountered a file transfer problem that is quite perplexing - > and I'm at a loss to identify the cause. Part of the problem is > that it's random and it's complex (a number of variables are > involved) and therefore hard to narrow down to a single failure > point. > > The basic scenario is this: I have a shell script that uses curl > commands to retrieve multiple files from two ftp servers. The > host for this is a rented box that I do not have root or physical > access to. I do not have root or physical access to the ftp > server either for that matter... I'm just a user/developer > tryin' to bring the data home :-) > > The script ran on a shared box for several months but was moved to > it's own box with a new IP on Thursday. On Friday the random > failures began.. some initial portion of the file would download at > normal speed then the rate would drop to zero bytes per second and > stay there. If the script is re-run it may download that file just > fine only to fail on the next download. Also, the size of the > initial download appears random too - one was 292 kB, the > next was 1.9 > Meg... etc. There is a log fragment at the bottom of this email > showing the relevant part (the output of the curl command). > > Other factors I've considered: > > The transfer randomly fails if we use ftp from the command line too > - it's not just curl > > For security reasons, the ftp server must have the IP of the > requestor on file - and it does. Otherwise, we could not > even log it. > > The failure can be from either of the ftp servers - although they > are on the same domain they are separate host names. > > ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|