Stats: Add field PendingReplies 99/233899/10
authorsanghyeok.oh <sanghyeok.oh@samsung.com>
Wed, 20 May 2020 07:32:23 +0000 (16:32 +0900)
committersanghyeok.oh <sanghyeok.oh@samsung.com>
Fri, 22 May 2020 06:15:07 +0000 (15:15 +0900)
commit73a3cf6d05ed26c5c62eb22ffa9146bdca446358
treeaacbeaae8174d9af102a840a21f9b4c91735f331
parent09b3f42114e5ff61b8bd2fb10862eb8fff7b4f97
Stats: Add field PendingReplies

Pending replies will increasing
1) if client sending lots of messages to destination at once
2) if server eats incoming messages.(no reply)

In case of 2) dbus-daemon still has pending information.
With default bus context option (reply_timeout=-1) it never freed.

Assuming 2) happended repeatedly, then it is hard to detect until it
exceeds maximum pending replies limit, because of dbus-daemon print warning messages
only if pending replies over bus limit(default 1024 for system bus).

Change-Id: Iee0515fac68af7586547cc5ef5e6fa73d388a312
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
bus/connection.c
bus/connection.h
bus/stats.c