MozTW 討論區
https://forum.moztw.org/

network.http.max-connections 預設值變更為 256
https://forum.moztw.org/viewtopic.php?f=18&t=32951
1 頁 (共 1 頁)

發表人:  adam [ 2011-07-07, 13:38 ]
文章主題 :  network.http.max-connections 預設值變更為 256

代碼:
network.http.max-connections;256

在 Firefox 6 beta 中 network.http.max-connections 預設值變更為 256,
沒想到這麼高的值已經被官方認可了,這個值沒有以往想像中的保守,
所以應該不會出現以往連線數調得太高會被 ban 的說法,看來以前是白擔心了。

其他像是
代碼:
network.http.max-connections-per-server;15
network.http.max-persistent-connections-per-server;6
network.http.max-persistent-connections-per-proxy;8

依然沒變動。這數值好像是參考 Chrome 的作法,
至於為何是 256 有人知道原因嗎?

發表人:  Fanolian [ 2011-07-07, 15:10 ]
文章主題 :  Re: network.http.max-connections 預設值變更為 256

https://bugzilla.mozilla.org/show_bug.cgi?id=648570
相關的bug。調成256 應該只是跟chrome 相容吧?

發表人:  adam [ 2011-07-07, 21:24 ]
文章主題 :  Re: network.http.max-connections 預設值變更為 256

Fanolian 寫:
https://bugzilla.mozilla.org/show_bug.cgi?id=648570
相關的bug。調成256 應該只是跟chrome 相容吧?

跟 Chrome 相容?什麼意思?

裡面似乎有說明
引言回覆:
this limit is currently at 30. This limit is global, it is different than the per host limit of 6 which remains unchanged.

The primary problem with the low limit is that it forces valid idle connections to be closed in order to meet demand for connections to different hosts. This happens a lot, and of course some fraction of those connections we close would have been useful in the future. There are some pages that involve more than 5 hosts and therefore exhaust the pool all by themselves.

the resources used to manage an idle connection in the client are pretty minimal, even the kernel.

This patch does not change the limit on mobile, the mobile pref file already overrides the 30 default.

發表人:  orange [ 2011-07-08, 01:07 ]
文章主題 :  Re: network.http.max-connections 預設值變更為 256

稍微簡單的翻譯一下好了
標題這個是全部的連線數(各網站加總),單一網站連線數還是不超過6
怕同時上太多網站 總連線數不夠用

發表人:  watson [ 2011-07-10, 13:32 ]
文章主題 :  Re: network.http.max-connections 預設值變更為 256

剛升級至6.0
預設的還是30啊

發表人:  matson [ 2011-07-11, 21:38 ]
文章主題 :  Re: network.http.max-connections 預設值變更為 256

Build不一樣吧?..我這個Build 20110707120024 預設己變成256

發表人:  MoonMoon [ 2011-08-12, 22:52 ]
文章主題 :  Re: network.http.max-connections 預設值變更為 256

6.0-candidates 的 network.http.max-connections 預設值也成為了 256

不過, 在 ff4 時就已把它修改為 1000 了 :lol:

附加檔案:
檔案註釋: network.http.max-connections
max-connections.png [5.81 KiB]
被下載 1125 次

1 頁 (共 1 頁) 所有顯示的時間為 UTC + 8 小時
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/