mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joern Nettingsmeier <nettings@folkwang-hochschule.de>
To: bert hubert <ahu@ds9a.nl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: FUTEX deadlock in ping?
Date: Thu, 24 Feb 2005 14:44:23 +0100	[thread overview]
Message-ID: <421DDA37.7010300@folkwang-hochschule.de> (raw)
In-Reply-To: <20050224120750.GA18677@outpost.ds9a.nl>

hi bert!

thanks for your reply.

bert hubert wrote:
> On Thu, Feb 24, 2005 at 11:14:45AM +0100, J?rn Nettingsmeier wrote:
> 
> 
>>ever since moving to ldap for passwd/group/shadow/hosts lookup, ping to 
>>a non-reachable host just freezes up and never returns:
>>
>>spunk:~ # strace ping herrnilsson
>>execve("/bin/ping", ["ping", "herrnilsson"], [/* 61 vars */]) = 0
>>uname({sys="Linux", node="spunk", ...}) = 0
>>brk(0)                                  = 0x8063000
>>...
>>...
>>munmap(0x40504000, 4096)                = 0
>>brk(0x80a5000)                          = 0x80a5000
>>uname({sys="Linux", node="spunk", ...}) = 0
>>futex(0x401540f4, FUTEX_WAIT, 2, NULL
>>^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> 
> Try ping -n. This is most likely something else.
>

hmm. ping -n would still have to look up the hostname, and indeed the 
strace is identical (hanging). but when i ping the ip (this is probably 
what you had in mind), it works as expected.

anyway, why would a process block endlessly in a futex?



  reply	other threads:[~2005-02-24 13:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-24 10:14 Jörn Nettingsmeier
2005-02-24 12:07 ` bert hubert
2005-02-24 13:44   ` Joern Nettingsmeier [this message]
2005-02-24 14:46 ` Olof Johansson
2005-02-24 14:56   ` Jörn Nettingsmeier

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=421DDA37.7010300@folkwang-hochschule.de \
    --to=nettings@folkwang-hochschule.de \
    --cc=ahu@ds9a.nl \
    --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®