Re: posible bug in daemontools

Jurjen Oskam <[email protected]>
Newsgroups gmane.network.djbdns
Message-ID <[email protected]>
On Sun, Mar 14, 2010 at 10:17:15AM +0100, Jan Moj?????? wrote:

> I found posible bug in daemontools supervise.
> 
> When is system out of memory, and some service (dnscache) is killed by OOM or die and
> supervise than fails to fork new process, supervise never start dnscache.
> 
> In readproctitle is only message:
> supervise: warning: unable to fork for dnscache, sleeping 60 seconds: out of memory
> 
> Did anyone see same problem or am I first?

I ran into this problem some years ago, and Paul Jarc suggested a fix:

http://marc.info/?l=log&m=113571910024742&w=2

Unfortunately (or perhaps, fortunately), I didn't run into the low memory
situation again so was not able to test his proposed fix.

-- 
Jurjen Oskam

Savage's Law of Expediency:
        You want it bad, you'll get it bad.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.