CESNET / ipfixcol

IPFIXcol is an implementation of an IPFIX (RFC 7011) collector
Other
64 stars 37 forks source link

fbitexpire: fixed hanging pipe open #48

Closed ghost closed 9 years ago

ghost commented 9 years ago

The problem is that a second fbitexpire process instance is not able to open the pipe. Both process instances are using the same (default) pipe. The observed behavior is also described in [1], for example. Also, pipes are now cleaned up when an fbitexpire daemon is killed.

[1] http://stackoverflow.com/questions/12636485/non-blocking-call-to-ofstreamopen