[fedora-virt] libvirtd boot start time? (looks like DBUS)

Daniel P. Berrange berrange at redhat.com
Wed Nov 17 12:16:16 UTC 2010


On Tue, Nov 16, 2010 at 09:40:41PM -0500, Tom Horsley wrote:
> On Tue, 16 Nov 2010 18:29:02 -0500
> Tom Horsley wrote:
> 
> > Weirdly, if I say service libvirtd stop after the
> > system is fully up and running followed by service
> > libvirtd start, it starts up near instantaneously
> > the second time.
> 
> I wedged some strace calls around the libvirtd startup
> and found this:
> 
> 21:05:07.481823 socket(PF_FILE, SOCK_STREAM|SOCK_CLOEXEC, 0) = 10
> 21:05:07.481912 connect(10, {sa_family=AF_FILE, path="/var/run/dbus/system_bus_socket"}, 33) = 0
> ...
> 21:05:07.487896 poll([{fd=10, events=POLLIN}], 1, 25000) = 1 ([{fd=10, revents=POLLIN}])
> 21:05:21.220829 recvmsg(10, {msg_name(0)=NULL, msg_iov(1)=[{"l\3\1\0012\0\0\0\6\0\0\0m\0\0\0\6\1s\0\4\0\0\0:1.4\0\0\0\0"..., 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 178
> 
> So it appears to be sitting around waiting on dbus to
> tell it something for almost 15 seconds at some point.

It isn't even using DBus, this is just the initial connection handshake
that libdbus.so does when you open a connection to the bus. Something is
badly wrong with dbus if its taking 20 seconds todo this

Daniel
-- 
|: Red Hat, Engineering, London    -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org        -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|


More information about the virt mailing list