summaryrefslogtreecommitdiffstats
path: root/service/service.c
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2015-06-14 06:14:47 +0200
committerFelix Fietkau <nbd@openwrt.org>2015-06-14 18:30:59 +0200
commit46954a519259e1818117adee133c119dedbd4523 (patch)
tree5a994f9aee608f5070d0ccd5974c2aed0086cbbb /service/service.c
parent6a746e16105f5ad928d80f7584515f7e6ebb2005 (diff)
downloadunitd-46954a519259e1818117adee133c119dedbd4523.tar
unitd-46954a519259e1818117adee133c119dedbd4523.zip
service: close instance pipe fd on restart.
Otherwise we hit max number of fd limit (1024) and instances fail to start with the following errors in syslog Sun Jun 14 01:27:38 2015 daemon.warn procd: pipe() failed: 24 (Too many open files) Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'service/service.c')
0 files changed, 0 insertions, 0 deletions