diff options
author | Yousong Zhou <yszhou4tech@gmail.com> | 2015-06-14 06:14:47 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-06-14 18:30:59 +0200 |
commit | 46954a519259e1818117adee133c119dedbd4523 (patch) | |
tree | 5a994f9aee608f5070d0ccd5974c2aed0086cbbb /unitd.h | |
parent | 6a746e16105f5ad928d80f7584515f7e6ebb2005 (diff) | |
download | unitd-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 'unitd.h')
0 files changed, 0 insertions, 0 deletions