9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: ori@eigenstate.org
To: lucio.dere@gmail.com, 9fans@9fans.net
Subject: Re: [9fans] Re: Flakey DNS server
Date: Tue, 27 Oct 2020 20:18:58 -0700	[thread overview]
Message-ID: <8CF14FFBB1391EA2E53B771B23D0E0C3@eigenstate.org> (raw)
In-Reply-To: <CAJQ9t7gAtzozZ63k3P9b66g42MYLYX08wx-Mphp+Yf6fm8xuFg@mail.gmail.com>

> A few steps down the line, I managed to use the second Internet link
> to provision data for the mobile backup link (2), by which time the
> Internet link (would you believe that both Internet services run on a
> long distance wi-fi connection?) had been restored. And that is when I
> noticed that the Plan 9 DNS server had reached 100, then 200 opened
> file handles as reported by the kernel console.

Sounds like an fd leak; I'd grep around for open() calls,
and see if any were missing a close in if the open fails.

You can get some hints at what's been opened by looking
in /proc/$pid/fd -- there'll probably be a bunch of things
open to the same file.


  reply	other threads:[~2020-10-28  3:19 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-07  4:08 Lucio De Re
2020-10-07 13:15 ` [9fans] " Wes Kussmaul
2020-10-07 16:14   ` Kurt H Maier
2020-10-08  0:45     ` Wes Kussmaul
2020-10-08  0:59       ` ori
2020-10-08  3:48         ` Lucio De Re
2020-10-08 10:54           ` Ethan Gardener
2020-10-08 12:48         ` Wes Kussmaul
2020-10-24 22:14   ` cigar562hfsp952fans
2020-10-24 22:48     ` [9fans] " Charles Forsyth
2020-10-24 23:01       ` Calvin Morrison
2020-10-25  2:09       ` Wes Kussmaul
2020-10-25 13:33         ` hiro
2020-10-25 16:43           ` Wes Kussmaul
2020-10-25 18:32             ` hiro
2020-10-25 18:38               ` Wes Kussmaul
2020-10-25 18:54                 ` hiro
2020-10-25 19:00                   ` Wes Kussmaul
2020-10-25 19:28                     ` hiro
2020-10-25 20:19                       ` Wes Kussmaul
2020-10-27  0:39         ` Thaddeus Woskowiak
2020-10-27  7:06           ` Lucio De Re
2020-10-28  3:18             ` ori [this message]
2020-10-27 14:51           ` Wes Kussmaul
2020-10-29  0:24         ` cigar562hfsp952fans
2020-10-08  0:58 ` [9fans] " ori
2020-10-08  3:29   ` Lucio De Re
2020-10-08 12:06     ` kvik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8CF14FFBB1391EA2E53B771B23D0E0C3@eigenstate.org \
    --to=ori@eigenstate.org \
    --cc=9fans@9fans.net \
    --cc=lucio.dere@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).