Chinaunix首页 | 论坛 | 博客
  • 博客访问: 274529
  • 博文数量: 67
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 620
  • 用 户 组: 普通用户
  • 注册时间: 2015-07-12 19:56
文章分类

全部博文(67)

文章存档

2019年(1)

2018年(1)

2017年(4)

2016年(34)

2015年(27)

我的朋友

分类: LINUX

2015-08-21 15:04:05

 Teamtrack ID (Bug/RFE/Task):
           BUG84173: loggerd sending FWConfig log with empty model name on license change


        Root Cause (Bug) or Purpose (RFE/Task):
           The loggerd is a single thread. So once it sends a synchronous request to other daemon, it can't process any message before receiving the corresponding response until it is timeout.
           When license changes, the configd will send some logs to loggerd through synchronous socket during processing configurations which include the event of WGAPI_EVENT_PASSWD_CHANGE.
           When the loggerd receives this event, it will get model name from configd. At the same time, the configd maybe is sending logs to loggerd during its normal running.
           This case results that configd and loggerd wait for each response message from the other side. In a certain sense, it is deallock until the loggerd is timeout.


        Solution:
           The configd uses non-blocking socket for sending logs to loggerd.

阅读(947) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~