dlog_logger daemon: handle epoll dynamically 90/174690/7 accepted/tizen/unified/20180411.065555 submit/tizen/20180410.115257
authorMichal Bloch <m.bloch@samsung.com>
Wed, 4 Apr 2018 13:58:29 +0000 (15:58 +0200)
committersanghyeok oh <sanghyeok.oh@samsung.com>
Tue, 10 Apr 2018 11:50:54 +0000 (11:50 +0000)
commit7bba6ceaf662e1eb64444b48a19132cd87fd9d65
tree39f6627542f418113f760103940c93ff6f4d5b0f
parentda02cf20bcf1c4c159f58d85c79ef21d8fd8b1f1
dlog_logger daemon: handle epoll dynamically

The daemon used to have a static array for 1024 FDs (ie. the default
file descriptor limit). This was both wasteful in the usual case, as
usually this value is not reached, and incorrect otherwise, because
this limit can be increased, causing any extra FDs to starve.

Change-Id: Ifc61a2cecbfb1b78fcf00abe9655f02147f8316f
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
include/logcommon.h
src/logger/logger.c