mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Diane Jaquay <djaquay@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: file descriptor leak in 64-bit 2.6.8?
Date: Wed, 15 Jun 2005 13:33:53 -0700 (PDT)	[thread overview]
Message-ID: <20050615203353.37738.qmail@web52508.mail.yahoo.com> (raw)

Are there known problems with file descriptor leaks in 2.6.8 running on an
Athlon 64?

The details: I recently ran out of file descriptors (got a line in
/var/log/messages of "kernel: VFS: file-max limit 203424 reached", also "Too
many open files in system" when running various commands not as root).  lsof |
wc reported around 4000 files in use, which, (while I understand that lsof
won't match file-nr due to maps, etc.), still struck me as odd to have an
orders-of-magnatude difference between the two numbers.

I then started shutting things down.  Nothing caused file-nr to shrink by more
than a few hundred.  Eventually, I rebooted, and started logging file-nr.  

Seems that the number of allocated descriptors grows steadily, even though
process-wise, not much is running on the box (just Apache and Postgres).  After
14 days uptime, I'm up to 65235 descriptors allocated per file-nr, and lsof |
wc reporting 2813.  The lsof number is fairly stable, while file-nr has
steadily grown.

Box details:

SuSE 9.2 running stock kernel: 2.6.8-24.11-default
/proc/cpuinfo says "AMD Athlon(tm) 64 Processor 3000+"

Clues most welcome,
Dave


                 reply	other threads:[~2005-06-15 20:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20050615203353.37738.qmail@web52508.mail.yahoo.com \
    --to=djaquay@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®