正常情況下GatewayWorker平滑重啟不會造成客戶端中斷鏈接, 但是如果在平滑重啟的那一刻, 客戶端有發(fā)送數(shù)據(jù)進來, GatewayWorker就會報下面的錯誤:
SendBufferToWorker fail. The connections between Gateway and BusinessWorker are not ready. See http://wiki.workerman.net/Error3
客戶端也同時中斷了鏈接, 但尷尬的是worker進程卻不會收到onClose消息, 造成服務(wù)器一些資源沒有被釋放, 怎么破呢?