mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: piet@bluelane.com
Cc: linux-kernel@vger.kernel.org, piet at work <piet@work.piet.net>
Subject: Re: udev taking a long time during startup
Date: Wed, 02 Aug 2006 10:57:36 +0200	[thread overview]
Message-ID: <1154509056.3181.4.camel@min.off.vrfy.org> (raw)
In-Reply-To: <1154416586.4332.64.camel@piet2.bluelane.com>

On Tue, 2006-08-01 at 00:16 -0700, Piet Delaney wrote:
> We were wondering why there is a 60 second delay on our systems
> from the time that the kernel releases memory and the file system 
> is checked.
> 
> I dropped into kgdb during this period and found that an init
> script, S10udev in our case, was sleeping in sys_nanosleep()
> or sys_wait4(). Looks like thread/process S10udev forks udevstart
> which forks udev which appears to be sleeping or waiting every time
> I check in on it; Seems terribly wasteful.
> 
> udev seems to be a utility for hotplug and configured
> with /etc/udev/udev.conf. Since we have no hot plug devices
> I wonder if it really has to be called on every startup. On
> solaris the device nodes are only re-established if you boot
> with a -r option.
> 
> I never see any children of udev, so I wonder why it's
> calling wait4() and nanosleep() so often.

You may check with your distro, that sounds like a broken setup. And
please ask further questions on: linux-hotplug-devel@lists.sourceforge.net

Thanks,
Kay


      parent reply	other threads:[~2006-08-02  8:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-01  7:16 Piet Delaney
2006-08-02  3:37 ` Greg KH
2006-08-02  8:57 ` Kay Sievers [this message]

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=1154509056.3181.4.camel@min.off.vrfy.org \
    --to=kay.sievers@vrfy.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=piet@bluelane.com \
    --cc=piet@work.piet.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

all inboxes | Powered by JetHome®