public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Eric Wong <normalperson@yhbt.net>
Cc: Felix Becker <mail@felixbecker.name>,
	linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: socket file descriptor a/m/c-timestamps broken in <= 3.8.8?
Date: Mon, 22 Apr 2013 17:37:36 -0700	[thread overview]
Message-ID: <1366677456.16391.101.camel@edumazet-glaptop> (raw)
In-Reply-To: <20130423003015.GA26858@dcvr.yhbt.net>

On Tue, 2013-04-23 at 00:30 +0000, Eric Wong wrote:
> Cc:-ing netdev (no comments of my own)
> 
> Felix Becker <mail@felixbecker.name> wrote:
> > Hi,
> > 
> > I tried to figure out how old my TCP connections are and took a look
> > at /proc/<pid>/fd/<socketfdnum> using 'ls -la' / 'stat'.
> > 

Thanks, but its not a network issue, /proc/pid/fd are part of another
subsystem.

In particular, a/m/c timestamps are volatile (not meaningfull), as you
can make them disappear by 
"echo 3 >/proc/sys/vm/drop_caches"

Next time you use "ls /proc/pid/fd/..." timestamps are created.

  reply	other threads:[~2013-04-23  0:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5175CA2F.2030206@felixbecker.name>
2013-04-23  0:30 ` socket file descriptor a/m/c-timestamps broken in <= 3.8.8? Eric Wong
2013-04-23  0:37   ` Eric Dumazet [this message]
2013-04-23 22:53     ` Felix Becker
2013-04-23 23:18       ` Eric Dumazet

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=1366677456.16391.101.camel@edumazet-glaptop \
    --to=eric.dumazet@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mail@felixbecker.name \
    --cc=netdev@vger.kernel.org \
    --cc=normalperson@yhbt.net \
    /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