From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <8607db9c49d8dc4c1073ac90653f6466@felloff.net> Date: Wed, 17 Feb 2016 03:19:19 +0100 From: cinap_lenrek@felloff.net To: 9fans@9fans.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] file descriptor leak Topicbox-Message-UUID: 8554de42-ead9-11e9-9d60-3106f5b1d025 > It's often better to use the Erlang fail-fast ("just fail") and restart > approach for persistent services. indeed. ndb/dns also has this "restart" ctl message where it restarts the server part but keeps the 9p pipe posted. tho that kills all the fid's and new fids starts as "dummy" user owned file, not a directory, so after restart /net/dns vanishes. doing some further experiments, it appears that when i make new fids start out as directories it works. :-) ndb/cs also has some logic where it remounts /srv/dns when opening /net/dns fails. -- cinap