Eric on 30 Dec 2007 19:00:14 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] curl error


JP Vossen wrote:
>> Date: Sat, 29 Dec 2007 15:41:22 -0500
>> From: Eric <eric@lucii.org>
>>
>> I'm using the curl command in a bash script to transfer some files from an ftp
>> server to a database/web server.   Occasionally, the file is about 1/2 received
>> when the download stops and curl just keeps on counting.... sometimes for days.
>>
>> Besides a --max-time 600 option to stop the runaway aspect of this how do I
>> start to find out what's causing it?  I do know 2 things:
>>
>> 1. The ftp server is on a Microsoft server:
>>
>> 220 tftp2 Microsoft FTP Service (Version 5.0).
>> 331 Password required for User.
>> 230 User User logged in.
>> Remote system type is Windows_NT.
>>
>> 2. The day that this happens is the busiest day of the month.
> 
> I don't recall seeing this (wild guess) in any of the other replies. 
> What about a firewall problem?  I've seen cases where I FW will time-out 
> a connection (more-or-less idle SSH in my case) such that it's dead and 
> won't work, but the client isn't totally aware of that and thinks it's 
> still here.
> 
> I admit this is a long shot, given that the the x-fer traffic *should* 
> act as a keep-alive.  Then again, it's M$ and you said it's on busy days 
> when things take a while.  Just a thought....
> 
> Later,
> JP

That is a good idea.  I've asked the hosting company to look and the server logs
but perhaps I should ask them to examine the firewall logs as well.

Thanks,
Eric
-- 
#  Eric Lucas
#
#                "Oh, I have slipped the surly bond of earth
#                 And danced the skies on laughter-silvered wings...
#                                        -- John Gillespie Magee Jr
___________________________________________________________________________
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