Discussion:
關於IIS計算WWW與FTP服務上傳的方式
(时间太久无法回复)
smokehouse
2007-05-29 07:26:01 UTC
Permalink
您好

有一個問題再請教大家
因為本系統需要上傳每個檔約0.5 MB一次可能有幾十個檔案
連到一台AP網頁再利用程式將檔案傳送到另一台FTP主機上
因此參照微軟的文件去修改
%systemroot%\inetsrv\metabase.xml中兩個參數
AspBufferingLimit="4194304"
AspMaxRequestEntityAllowed="204800"
都將上述的參數值改成15MB

但是在傳檔時
不確定是否傳檔數太多
有時候都繪一段時間不能傳檔
如果從Client直接連FTP卻是正常的

想知道IIS這兩個參數值是如何去判定傳送量過大?


謝謝您
Bernard Cheah [MVP]
2007-05-29 08:52:17 UTC
Permalink
What's the error msgs ?
I think aspbufferinglimit is for asp response to write to the buffer before
it flush.
this mainly for download or page response.

aspmaxrequestentityallowed is for uploading to asp content size, it also
related to maxrequestentityallowed metabase key.
--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/
±zŠn
Š]Š¹°Ñ·Ó·L³nªº€å¥ó¥h­×§ï
%systemroot%\inetsrv\metabase.xml€€šâ­Ó°ÑŒÆ
AspBufferingLimit="4194304"
AspMaxRequestEntityAllowed="204800"
³£±N€W­zªº°ÑŒÆ­È§ïŠš15MB
Šý¬OŠb¶ÇÀÉ®É
€£œT©w¬O§_¶ÇÀɌƀӊh
ŠpªG±qClientªœ±µ³sFTP«o¬O¥¿±`ªº
·QªŸ¹DIIS³ošâ­Ó°ÑŒÆ­È¬OŠpŠó¥h§P©w¶Ç°e¶q¹L€j?
ÁÂÁ±z
smokehouse
2007-05-29 10:00:01 UTC
Permalink
Dear Bernard

我想說明不夠清楚
網頁是一台IIS執行JAVA的主機
另外有一台FTP主機
Client會利用IIS主機執行網頁功能
將檔案利用IIS主機傳到FTP主機上

有時候傳到一段時間
會出現 Connection Time out : Connect
FTP主機有一個連線逾時的設定
這個設定值是如何計算呢?
例如 : 逾時為600秒
是代表我有在使用600後一定會TimeOut掉
還是閒置後TimeOut

如果TimeOut掉後
是否會有一段時間不能在馬上連上去?

謝謝您

Cloud

"Bernard Cheah [MVP]" 來函:
Post by Bernard Cheah [MVP]
What's the error msgs ?
I think aspbufferinglimit is for asp response to write to the buffer before
it flush.
this mainly for download or page response.
aspmaxrequestentityallowed is for uploading to asp content size, it also
related to maxrequestentityallowed metabase key.
--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/
Post by smokehouse
您好
有一個問題再請教大家
因為本系統需要上傳每個檔約0.5 MB一次可能有幾十個檔案
連到一台AP網頁再利用程式將檔案傳送到另一台FTP主機上
因此參照微軟的文件去修改
%systemroot%\inetsrv\metabase.xml中兩個參數
AspBufferingLimit="4194304"
AspMaxRequestEntityAllowed="204800"
都將上述的參數值改成15MB
但是在傳檔時
不確定是否傳檔數太多
有時候都繪一段時間不能傳檔
如果從Client直接連FTP卻是正常的
想知道IIS這兩個參數值是如何去判定傳送量過大?
謝謝您
Bernard Cheah [MVP]
2007-05-30 05:58:42 UTC
Permalink
I think your problem is between your app and IIS FTP.
the timeout is in between the process. Well, the timeout value in the ftp
setting is for connection idle status, say 900 seconds if there's no
activities between client and server. IIS ftp will closed the connection.

I would suggest you try ftp.exe and simulate the upload. do you see any
problem?
most of the time - if a decent ftp client is talking to the ftp server, you
don't see such issue.
set aside of coz the IIS FTP itself is also not up to the standard.
--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/
Post by smokehouse
Dear Bernard
§Ú·Q»¡©ú€£°÷²M·¡
Client·|§Q¥ÎIIS¥DŸ÷°õŠæºô­¶¥\¯à
±NÀɮקQ¥ÎIIS¥DŸ÷¶ÇšìFTP¥DŸ÷€W
·|¥X²{ Connection Time out : Connect
³o­Ó³]©w­È¬OŠpŠó­pºâ©O?
šÒŠp : ¹O®É¬°600¬í
ÁÙ¬O¶¢žm«áTimeOut
ŠpªGTimeOut±Œ«á
ÁÂÁ±z
Cloud
"Bernard Cheah [MVP]" šÓšç¡G
Post by Bernard Cheah [MVP]
What's the error msgs ?
I think aspbufferinglimit is for asp response to write to the buffer before
it flush.
this mainly for download or page response.
aspmaxrequestentityallowed is for uploading to asp content size, it also
related to maxrequestentityallowed metabase key.
--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/
±zŠn
Š]Š¹°Ñ·Ó·L³nªº€å¥ó¥h­×§ï
%systemroot%\inetsrv\metabase.xml€€šâ­Ó°ÑŒÆ
AspBufferingLimit="4194304"
AspMaxRequestEntityAllowed="204800"
³£±N€W­zªº°ÑŒÆ­È§ïŠš15MB
Šý¬OŠb¶ÇÀÉ®É
€£œT©w¬O§_¶ÇÀɌƀӊh
ŠpªG±qClientªœ±µ³sFTP«o¬O¥¿±`ªº
·QªŸ¹DIIS³ošâ­Ó°ÑŒÆ­È¬OŠpŠó¥h§P©w¶Ç°e¶q¹L€j?
ÁÂÁ±z
继续阅读narkive:
Loading...