2013/12/04

KB-Redmine 網站反應速度很慢

Redmine 裝在 WEBrick 1.9.3 上面,某些電腦有可能出現速度很慢的問題,這是因為 WEBrick 有進行 DNS 反查的動作,若有電腦開啟防火牆,不允許反查的話,就有可能會發現 Retry。

 

可以解決茶包的方法, Windows 是在 ruby 安裝目錄裡面,例如:C:\Ruby\v1.9.3\lib\ruby\1.9.1\webrick

=============

Having the same issue here (even a year later). Under linux you have to do the following:

Look for the file /usr/lib/ruby/1.9.1/webrick/config.rb and edit it.

Replace the line

:DoNotReverseLookup => nil,

with

:DoNotReverseLookup => true,

Restart webrick and it'll work like a charm :)

 

http://stackoverflow.com/questions/1156759/webrick-is-very-slow-to-respond-how-to-speed-it-up/3465134#3465134

沒有留言: