===Some Problem=== 1.Server data service不绿 由于做data 连接是异步操作
def service_running?
service_running = true
if @connection && !@connection.closed? && !@connection.closing? && $rabbitmq_live
return true
else #try to connect once
self.connection
return @connection && !@connection.closed? && !@connection.closing? && $rabbitmq_live
end
end
@connection = AMQP.connect(:host => RailsSettings::Settings.rabbitmq_server, :port=>RailsSettings::Settings.rabbitmq_server_port||5672,
:on_tcp_connection_failure => handler, :on_possible_authentication_failure => handler) do |connection|
@connection = connection
$rabbitmq_live = true
所以可能此http response直接返回时候$rabbitmq_live还是false
解决方法:启动的时候即连接rabbitmq server,降低异步差别的可能性。
2. client有时会有卡死现象。
等待许久进入http://localhost:9292/call
你没有权限访问这个功能.登录,
怀疑仍然是/, /call redirect没处理好,循环来循环去的老bug。
3.Client Reset之后Server list为空白,
因为findme是每隔20s
解决方法,reset之后马上做一次findme,这样减少confusing
4.downloader有时候会无缘无故挂掉
5.arm机上client thin restart
使用命令
bundle exec thin restart -C config/luna-client-thin.yml
但是还是有时候起不来,而且reboot一开始也启动不了thin, Please check.
6.arm机上client响应比较慢,
常常call,broadcast,conference点完了,要好一伙提示栏才有这个call Pause/挂断 的提示。
怀疑与性能有关,即使admin,user login也要等好一伙,所以导致延迟。