|
Home > Archive > IIS FTP Server > November 2005 > Upload of large files hangs at CWD command
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Upload of large files hangs at CWD command
|
|
| J. van Dorsten 2005-10-28, 4:54 pm |
| Hi,
We run IIS on a windows 2003 server, and have a problem with uploading large
files to the server.
When a user uploads a large file (100MB) to the server, they report it gets
stuck somwhere at the last seconds. Most of our users upload through Internet
Explorer but we tried ourselfves and have the problem with an FTP client also.
We think it has something todo with refreshing the file directory after the
upload because the FTP client gets stuck on the CWD command. Ofcourse our
users with IE don't see that.
Do you have any idea of settings i can change on my server, or is this
problem known on IIS FTP?
Kind regards,
Jon van Dorsten
| |
| Bernard Cheah [MVP] 2005-10-28, 4:54 pm |
| Haven't seen those.
It hang? forever? IIS ftp log status code?
how about other command ? ls, etc.
--
Regards,
Bernard Cheah
http://www.iis-resources.com/
http://www.iiswebcastseries.com/
http://www.msmvps.com/bernard/
"J. van Dorsten" <JvanDorsten@discussions.microsoft.com> wrote in message
news:4C12571B-5BB1-49E0-85D9-69B548DFA055@microsoft.com...
> Hi,
>
> We run IIS on a windows 2003 server, and have a problem with uploading
> large
> files to the server.
>
> When a user uploads a large file (100MB) to the server, they report it
> gets
> stuck somwhere at the last seconds. Most of our users upload through
> Internet
> Explorer but we tried ourselfves and have the problem with an FTP client
> also.
>
> We think it has something todo with refreshing the file directory after
> the
> upload because the FTP client gets stuck on the CWD command. Ofcourse our
> users with IE don't see that.
>
> Do you have any idea of settings i can change on my server, or is this
> problem known on IIS FTP?
>
> Kind regards,
> Jon van Dorsten
| |
| J. van Dorsten 2005-10-28, 4:54 pm |
| Hy thanks for your awnser.
Yes it hangs forever.
I went trough the logfiles on the server but could not find any status
codes? this is the part where an 100mb file is uploaded and IE hangs after
the upload.
08:18:30 82.151.38.18 [265]created /uploads/100mb.bin 226 0
08:18:55 82.151.40.113 [268]QUIT - 226 0
08:23:14 83.98.246.183 [269]USER anonymous 331 0
08:23:14 83.98.246.183 [269]PASS IEUser@ 230 0
08:23:14 83.98.246.183 [269]CWD /uploads 250 0
08:23:14 83.98.246.183 [269]CWD /uploads 250 0
08:23:20 83.98.246.183 [270]USER anonymous 331 0
08:23:20 83.98.246.183 [270]PASS IEUser@ 230 0
08:23:20 83.98.246.183 [270]sent /uploads/100mb.bin 550 5
08:23:20 83.98.246.183 [270]CWD /uploads/100mb.bin 550 267
08:23:20 83.98.246.183 [271]USER anonymous 331 0
08:23:20 83.98.246.183 [271]PASS IEUser@ 230 0
08:23:20 83.98.246.183 [271]sent /uploads/100mb.bin 550 5
08:23:20 83.98.246.183 [271]CWD /uploads/100mb.bin 550 267
There is no QUIT or CLOSED command from this ip adres..
I dont know of any other commands, it happens directly after uploading the
file in IE and LeapFTP.
Kind regards,
Jon van Dorsten.
"Bernard Cheah [MVP]" wrote:
> Haven't seen those.
> It hang? forever? IIS ftp log status code?
>
> how about other command ? ls, etc.
>
> --
> Regards,
> Bernard Cheah
> http://www.iis-resources.com/
> http://www.iiswebcastseries.com/
> http://www.msmvps.com/bernard/
>
>
> "J. van Dorsten" <JvanDorsten@discussions.microsoft.com> wrote in message
> news:4C12571B-5BB1-49E0-85D9-69B548DFA055@microsoft.com...
>
>
>
| |
| Bernard Cheah [MVP] 2005-10-31, 2:49 am |
| upload or download?
Does it happen when you try ftp.exe to upload?
I see one successful upload
08:18:30 82.151.38.18 [265]created /uploads/100mb.bin 226 0
while these are download
08:23:20 83.98.246.183 [270]sent /uploads/100mb.bin 550 5
08:23:20 83.98.246.183 [271]sent /uploads/100mb.bin 550 5
--
Regards,
Bernard Cheah
http://www.iis-resources.com/
http://www.iiswebcastseries.com/
http://www.msmvps.com/bernard/
"J. van Dorsten" <JvanDorsten@discussions.microsoft.com> wrote in message
news:4E76AC6A-F525-4723-AFCA-519E964ABCF5@microsoft.com...[vbcol=seagreen]
> Hy thanks for your awnser.
>
> Yes it hangs forever.
>
> I went trough the logfiles on the server but could not find any status
> codes? this is the part where an 100mb file is uploaded and IE hangs after
> the upload.
>
> 08:18:30 82.151.38.18 [265]created /uploads/100mb.bin 226 0
> 08:18:55 82.151.40.113 [268]QUIT - 226 0
> 08:23:14 83.98.246.183 [269]USER anonymous 331 0
> 08:23:14 83.98.246.183 [269]PASS IEUser@ 230 0
> 08:23:14 83.98.246.183 [269]CWD /uploads 250 0
> 08:23:14 83.98.246.183 [269]CWD /uploads 250 0
> 08:23:20 83.98.246.183 [270]USER anonymous 331 0
> 08:23:20 83.98.246.183 [270]PASS IEUser@ 230 0
> 08:23:20 83.98.246.183 [270]sent /uploads/100mb.bin 550 5
> 08:23:20 83.98.246.183 [270]CWD /uploads/100mb.bin 550 267
> 08:23:20 83.98.246.183 [271]USER anonymous 331 0
> 08:23:20 83.98.246.183 [271]PASS IEUser@ 230 0
> 08:23:20 83.98.246.183 [271]sent /uploads/100mb.bin 550 5
> 08:23:20 83.98.246.183 [271]CWD /uploads/100mb.bin 550 267
>
> There is no QUIT or CLOSED command from this ip adres..
>
> I dont know of any other commands, it happens directly after uploading the
> file in IE and LeapFTP.
>
> Kind regards,
> Jon van Dorsten.
>
> "Bernard Cheah [MVP]" wrote:
>
| |
| J. van Dorsten 2005-10-31, 7:56 am |
| Ftp.exe don't give any problems, that kind of logical because there you have
to give the CDW command yourself and its not automaticly requested by a
program.
The problem occurs when the user uploads a file.
Regards,
Jon van Dorsten
"Bernard Cheah [MVP]" wrote:
> upload or download?
> Does it happen when you try ftp.exe to upload?
>
> I see one successful upload
> 08:18:30 82.151.38.18 [265]created /uploads/100mb.bin 226 0
>
> while these are download
> 08:23:20 83.98.246.183 [270]sent /uploads/100mb.bin 550 5
> 08:23:20 83.98.246.183 [271]sent /uploads/100mb.bin 550 5
>
> --
> Regards,
> Bernard Cheah
> http://www.iis-resources.com/
> http://www.iiswebcastseries.com/
> http://www.msmvps.com/bernard/
>
>
> "J. van Dorsten" <JvanDorsten@discussions.microsoft.com> wrote in message
> news:4E76AC6A-F525-4723-AFCA-519E964ABCF5@microsoft.com...
>
>
>
| |
| Bernard Cheah [MVP] 2005-11-02, 2:48 am |
| Mm.. in this case. does it happen if you try ftp it on the server itself ?
Not sure what's wrong, but from the log, it is download that having problem
not upload.
--
Regards,
Bernard Cheah
http://www.iis-resources.com/
http://www.iiswebcastseries.com/
http://www.msmvps.com/bernard/
"J. van Dorsten" <JvanDorsten@discussions.microsoft.com> wrote in message
news:47DD4754-D56E-423D-BDB3-5CC29C946AB9@microsoft.com...[vbcol=seagreen]
> Ftp.exe don't give any problems, that kind of logical because there you
> have
> to give the CDW command yourself and its not automaticly requested by a
> program.
>
> The problem occurs when the user uploads a file.
>
> Regards,
> Jon van Dorsten
>
> "Bernard Cheah [MVP]" wrote:
>
| |
| J. van Dorsten 2005-11-03, 2:50 am |
| No there is no problem when i upload the file on the server itself, i tried
it again today and made an screenshot to clairify the behaviour.
This is the result as the user sees it, the upload hangs at the last seconds:
http://www.snelstart.nl/schermafdruk.jpg
But when i check the file on the server the file is already completely
uploaded
http://www.snelstart.nl/schermafdruk.jpg
Here are the logs again, the first ip is the upload at the ftp server itself
the second is the one where it goes wrong (from my pc but also a lot of other
pc's have that behaviour).
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2005-11-03 07:05:37
#Fields: time c-ip cs-method cs-uri-stem sc-status sc-win32-status
07:05:37 111.111.111.111 [674]USER anonymous 331 0
07:05:37 111.111.111.111 [674]PASS IEUser@ 230 0
07:05:37 111.111.111.111 [674]CWD / 250 0
07:05:40 111.111.111.111 [674]CWD /uploads 250 0
07:05:43 111.111.111.111 [674]CWD /uploads 250 0
07:05:43 111.111.111.111 [674]CWD /uploads 250 0
07:05:43 111.111.111.111 [674]CWD /uploads 250 0
07:05:50 111.111.111.111 [674]created /uploads/100mb.bin 226 0
07:05:54 111.111.111.111 [674]CWD /uploads 250 0
07:05:54 111.111.111.111 [674]DELE 100mb.bin 550 5
07:06:02 111.111.111.111 [674]CWD /uploads 250 0
07:09:59 **.***.***.*** [675]USER anonymous 331 0
07:09:59 **.***.***.*** [675]PASS IEUser@ 230 0
07:09:59 **.***.***.*** [675]CWD /uploads 250 0
07:09:59 **.***.***.*** [675]CWD /uploads 250 0
07:10:01 **.***.***.*** [675]CWD /uploads 250 0
07:10:01 **.***.***.*** [675]CWD /uploads 250 0
07:10:01 **.***.***.*** [675]CWD /uploads 250 0
07:23:11 **.***.***.*** [676]USER uploads 331 0
07:23:11 **.***.***.*** [676]PASS - 230 0
07:23:23 **.***.***.*** [676]QUIT - 226 0
07:24:19 **.***.***.*** [675]created /uploads/100mb.bin 226 0
Kind regards,
Jon van Dorsten
"Bernard Cheah [MVP]" wrote:
> Mm.. in this case. does it happen if you try ftp it on the server itself ?
> Not sure what's wrong, but from the log, it is download that having problem
> not upload.
>
> --
> Regards,
> Bernard Cheah
> http://www.iis-resources.com/
> http://www.iiswebcastseries.com/
> http://www.msmvps.com/bernard/
>
>
> "J. van Dorsten" <JvanDorsten@discussions.microsoft.com> wrote in message
> news:47DD4754-D56E-423D-BDB3-5CC29C946AB9@microsoft.com...
>
>
>
| |
|
|
| stevenh@hcitraining.com 2005-11-03, 5:57 pm |
| I'm seeing the exact same problem, but with files as small as 1MB. What
I'm seeing is:
1. No reported problems with files less than 1MB.
2. Occasionally hangs on the FTP client (and we use several - IE,
WS_FTP, Leech, Macromedia products) at the completion of the file
transfer, I would guess about 50% of the time.
3. No error reported on the IIS FTP log, or system error files.
4. If the client is abnormally terminated during the hang, the result
is a succesful transfer to the server.
5. The problem is relatively recent on an otherwise stable system
6. Microsoft Windows Server 2003, Standard Edition, SP1
Steven
J. van Dorsten wrote:
> Hi,
>
> We run IIS on a windows 2003 server, and have a problem with uploading large
> files to the server.
>
> When a user uploads a large file (100MB) to the server, they report it gets
> stuck somwhere at the last seconds. Most of our users upload through Internet
> Explorer but we tried ourselfves and have the problem with an FTP client also.
>
> We think it has something todo with refreshing the file directory after the
> upload because the FTP client gets stuck on the CWD command. Ofcourse our
> users with IE don't see that.
>
> Do you have any idea of settings i can change on my server, or is this
> problem known on IIS FTP?
>
> Kind regards,
> Jon van Dorsten
| |
| passie 2005-11-09, 7:49 am |
| I also have the same problem.
From what i have saw is that if i remove SP1 the upload works.
When i install SP1 again the problem is back.
but when i remove SP1 the file copying is slow again.
I also tried installing KB898060 but without any luck.
any advice would be good
"stevenh@hcitraining.com" wrote:
> I'm seeing the exact same problem, but with files as small as 1MB. What
> I'm seeing is:
>
> 1. No reported problems with files less than 1MB.
> 2. Occasionally hangs on the FTP client (and we use several - IE,
> WS_FTP, Leech, Macromedia products) at the completion of the file
> transfer, I would guess about 50% of the time.
> 3. No error reported on the IIS FTP log, or system error files.
> 4. If the client is abnormally terminated during the hang, the result
> is a succesful transfer to the server.
> 5. The problem is relatively recent on an otherwise stable system
> 6. Microsoft Windows Server 2003, Standard Edition, SP1
>
> Steven
>
> J. van Dorsten wrote:
>
>
| |
| JimMcGowanInlet 2005-11-09, 5:52 pm |
|
I've got the same problem on a Win2k3 server after installing SP1. We
use an ftp script with windows scheduler for Symantec AntiVirus that
ftp's rapidrelease def files every 2 hours. After installing SP1 it
stopped working. If I use IE on the server and browse to the same file
and try to download it, the file seems to get downloaded completely and
then consistently hangs at the point I suspect it should be finishing
the process.
I'm on eternal hold for Microsoft support now. I'll post what I find
out after I speak to them.
| |
|
|
| JimMcGowanInlet 2005-11-10, 2:48 am |
|
Ok here is the final out come after 7 hours and 57 minutes on the phone
with Microsoft.
The problem is the Routing and Remote Access Service. If you don't
need it, disable it, and wait about 5 minutes. Your problem should go
away.
If you need the service, goto
START/PROGRAMS/ADMINISTRATIVE TOOLS\Routing and Remote Access
look for an object called "Nat Basic Firewall". Right click on it and
delete it. Then restart the "Routing and Remote Access" service. Once
I deleted the "Nat Basic Firewall" my problem went away. You should
also install the hot fix from KB898060
http://support.microsoft.com/defaul...kb;en-us;898060 I don't
think it plays a roll in this issue but it was installed as part of the
resolution so I can't say ignore it.
My server is not used for Nat, but if yours is... you may need to get
more information before you delete the "Nat Basic Firewall".
Hope this helps
Jim
--
JimMcGowanInlet
------------------------------------------------------------------------
JimMcGowanInlet's Profile: http://www.highdots.com/forums/m1425
View this thread: http://www.highdots.com/forums/t3054213
| |
| passie 2005-11-10, 7:51 am |
| yeah this seems to solve the problem.
after 1 week searching on the internet, i'm happyu with the out come.
So no problems anymore @ here
"JimMcGowanInlet" wrote:
>
> Ok here is the final out come after 7 hours and 57 minutes on the phone
> with Microsoft.
>
> The problem is the Routing and Remote Access Service. If you don't
> need it, disable it, and wait about 5 minutes. Your problem should go
> away.
>
> If you need the service, goto
>
> START/PROGRAMS/ADMINISTRATIVE TOOLS\Routing and Remote Access
>
> look for an object called "Nat Basic Firewall". Right click on it and
> delete it. Then restart the "Routing and Remote Access" service. Once
> I deleted the "Nat Basic Firewall" my problem went away. You should
> also install the hot fix from KB898060
> http://support.microsoft.com/defaul...kb;en-us;898060 I don't
> think it plays a roll in this issue but it was installed as part of the
> resolution so I can't say ignore it.
>
> My server is not used for Nat, but if yours is... you may need to get
> more information before you delete the "Nat Basic Firewall".
>
> Hope this helps
> Jim
>
>
> --
> JimMcGowanInlet
> ------------------------------------------------------------------------
> JimMcGowanInlet's Profile: http://www.highdots.com/forums/m1425
> View this thread: http://www.highdots.com/forums/t3054213
>
>
| |
| Bernard Cheah [MVP] 2005-11-14, 2:49 am |
| Sorry, been busy. now... this log shows error after upload.
because of the delete ??
> 07:05:54 111.111.111.111 [674]DELE 100mb.bin 550 5
--
Regards,
Bernard Cheah
http://www.iis-resources.com/
http://www.iiswebcastseries.com/
http://www.msmvps.com/bernard/
"J. van Dorsten" <JvanDorsten@discussions.microsoft.com> wrote in message
news:7BB92A54-0CEB-4E52-96E4-7D2FFBCE2BA7@microsoft.com...[vbcol=seagreen]
> No there is no problem when i upload the file on the server itself, i
> tried
> it again today and made an screenshot to clairify the behaviour.
>
> This is the result as the user sees it, the upload hangs at the last
> seconds:
> http://www.snelstart.nl/schermafdruk.jpg
>
> But when i check the file on the server the file is already completely
> uploaded
> http://www.snelstart.nl/schermafdruk.jpg
>
> Here are the logs again, the first ip is the upload at the ftp server
> itself
> the second is the one where it goes wrong (from my pc but also a lot of
> other
> pc's have that behaviour).
>
> #Software: Microsoft Internet Information Services 6.0
> #Version: 1.0
> #Date: 2005-11-03 07:05:37
> #Fields: time c-ip cs-method cs-uri-stem sc-status sc-win32-status
> 07:05:37 111.111.111.111 [674]USER anonymous 331 0
> 07:05:37 111.111.111.111 [674]PASS IEUser@ 230 0
> 07:05:37 111.111.111.111 [674]CWD / 250 0
> 07:05:40 111.111.111.111 [674]CWD /uploads 250 0
> 07:05:43 111.111.111.111 [674]CWD /uploads 250 0
> 07:05:43 111.111.111.111 [674]CWD /uploads 250 0
> 07:05:43 111.111.111.111 [674]CWD /uploads 250 0
> 07:05:50 111.111.111.111 [674]created /uploads/100mb.bin 226 0
> 07:05:54 111.111.111.111 [674]CWD /uploads 250 0
> 07:05:54 111.111.111.111 [674]DELE 100mb.bin 550 5
> 07:06:02 111.111.111.111 [674]CWD /uploads 250 0
> 07:09:59 **.***.***.*** [675]USER anonymous 331 0
> 07:09:59 **.***.***.*** [675]PASS IEUser@ 230 0
> 07:09:59 **.***.***.*** [675]CWD /uploads 250 0
> 07:09:59 **.***.***.*** [675]CWD /uploads 250 0
> 07:10:01 **.***.***.*** [675]CWD /uploads 250 0
> 07:10:01 **.***.***.*** [675]CWD /uploads 250 0
> 07:10:01 **.***.***.*** [675]CWD /uploads 250 0
> 07:23:11 **.***.***.*** [676]USER uploads 331 0
> 07:23:11 **.***.***.*** [676]PASS - 230 0
> 07:23:23 **.***.***.*** [676]QUIT - 226 0
> 07:24:19 **.***.***.*** [675]created /uploads/100mb.bin 226 0
>
> Kind regards,
> Jon van Dorsten
>
> "Bernard Cheah [MVP]" wrote:
>
| |
| Bernard Cheah [MVP] 2005-11-14, 2:49 am |
| Wow!
Thanks for the update.
--
Regards,
Bernard Cheah
http://www.iis-resources.com/
http://www.iiswebcastseries.com/
http://www.msmvps.com/bernard/
"JimMcGowanInlet" <JimMcGowanInlet.1y9g1y@no-mx.forums.yourdomain.com.au>
wrote in message
news:JimMcGowanInlet.1y9g1y@no-mx.forums.yourdomain.com.au...
>
> Ok here is the final out come after 7 hours and 57 minutes on the phone
> with Microsoft.
>
> The problem is the Routing and Remote Access Service. If you don't
> need it, disable it, and wait about 5 minutes. Your problem should go
> away.
>
> If you need the service, goto
>
> START/PROGRAMS/ADMINISTRATIVE TOOLS\Routing and Remote Access
>
> look for an object called "Nat Basic Firewall". Right click on it and
> delete it. Then restart the "Routing and Remote Access" service. Once
> I deleted the "Nat Basic Firewall" my problem went away. You should
> also install the hot fix from KB898060
> http://support.microsoft.com/defaul...kb;en-us;898060 I don't
> think it plays a roll in this issue but it was installed as part of the
> resolution so I can't say ignore it.
>
> My server is not used for Nat, but if yours is... you may need to get
> more information before you delete the "Nat Basic Firewall".
>
> Hope this helps
> Jim
>
>
> --
> JimMcGowanInlet
> ------------------------------------------------------------------------
> JimMcGowanInlet's Profile: http://www.highdots.com/forums/m1425
> View this thread: http://www.highdots.com/forums/t3054213
>
| |
| stevenh@hcitraining.com 2005-11-14, 5:56 pm |
| I owe you a beer. Or two.
Steven
| |
| J. van Dorsten 2005-11-22, 5:56 pm |
| Yes, i was trying with an anonymous account, they cannot delete files so the
error is because of that.
I tried the solution below but it did not work for me, any other ideas maybe?
"Bernard Cheah [MVP]" wrote:
> Sorry, been busy. now... this log shows error after upload.
> because of the delete ??
>
>
>
> --
> Regards,
> Bernard Cheah
> http://www.iis-resources.com/
> http://www.iiswebcastseries.com/
> http://www.msmvps.com/bernard/
>
>
> "J. van Dorsten" <JvanDorsten@discussions.microsoft.com> wrote in message
> news:7BB92A54-0CEB-4E52-96E4-7D2FFBCE2BA7@microsoft.com...
>
>
>
|
|
|
|
|