Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jul 2005 19:17:42 +0000 (UTC)
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: ports/devel/dbus Makefile ports/devel/dbus/files patch-bus_dir-watch.c
Message-ID:  <200507021917.j62JHgYq009572@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcus      2005-07-02 19:17:42 UTC

  FreeBSD ports repository

  Modified files:
    devel/dbus           Makefile 
    devel/dbus/files     patch-bus_dir-watch.c 
  Log:
  Fix a CPU hog problem with dbus running in fork mode.  Kqueue is not shared
  across fork(), and thus the file descriptor kevent was trying to read from
  was actually pointign to /dev/null.  This caused dbus to eat up 100% of the
  CPU.  Of course, tests with --nofork worked just fine.
  
  The new approach will detect if the kqueue has been closed, a reopen it
  after the fork.
  
  Revision  Changes    Path
  1.25      +1 -1      ports/devel/dbus/Makefile
  1.2       +15 -4     ports/devel/dbus/files/patch-bus_dir-watch.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507021917.j62JHgYq009572>