linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Manfred Spraul" <manfred@colorfullife.com>
To: "Andrea Barisani" <lcars@infis.univ.trieste.it>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: Kernel 2.4.2 command execution hangs and then succeded after 2  minutes....!? STRACE-DUMP
Date: Wed, 7 Mar 2001 17:04:05 +0100	[thread overview]
Message-ID: <001501c0a720$76782030$5517fea9@local> (raw)
In-Reply-To: <Pine.LNX.4.10.10103071458560.9169-100000@sole.infis.univ.trieste.it>


----- Original Message -----
From: "Andrea Barisani" <lcars@infis.univ.trieste.it>
To: "Manfred Spraul" <manfred@colorfullife.com>
Cc: <linux-kernel@vger.kernel.org>
Sent: Wednesday, March 07, 2001 3:03 PM
Subject: Re: Kernel 2.4.2 command execution hangs and then succeded
after 2 minutes....!? STRACE-DUMP


> On Wed, 7 Mar 2001, Manfred Spraul wrote:
>
> > Could you use strace and check what the apps are doing during these
2
> > minutes?
> >
> > Perhaps it's a variation of the nis hang:
> > 2.4 doesn't forword udp error messages to the user space app, and
thus a
> > nis query to a nonexistant nis server blocks until the udp packets
time
> > out.
> >
>
> Here are the three traces (mc,pine,tar)
> The system hangs for minutes in the last part, before the interrupt
> Sorry for the size of this email...:)

I got a new DSL connection last week, and right now I have a flat rate
:-)

> sendto(5,
";\255Cn\0\0\0\0\0\0\0\2\0\1\206\240\0\0\0\2\0\0\0\3\0\0"..., 56, 0,
{sin_family=AF_INET, sin_port=htons(111),
sin_addr=inet_addr("127.0.0.1")}}, 16) = 56
That's the problem:
NIS is configured and tries to connect to the NIS server on localhost.
It uses portmap to locate the server, but portmap is not running.
2.2 just forwarded the error message to the application, but 2.4
silently ignores the error message because these error messages caused
spurious application faults.

Check your nis configuration (afaik /etc/nsswitch.conf)

--
    Manfred



  reply	other threads:[~2001-03-07 16:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3AA6356F.EC2AB4FA@colorfullife.com>
2001-03-07 14:03 ` Kernel 2.4.2 command execution hangs and then succeded after 2 minutes....!? STRACE-DUMP Andrea Barisani
2001-03-07 16:04   ` Manfred Spraul [this message]
2001-03-07 18:13   ` Kernel 2.4.2 command execution hangs and then succeded after 2 minutes....!? END! Andrea Barisani

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='001501c0a720$76782030$5517fea9@local' \
    --to=manfred@colorfullife.com \
    --cc=lcars@infis.univ.trieste.it \
    --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;
as well as URLs for NNTP newsgroup(s).