Bug 204990

Summary: [patch] libevent uses a short default poll timeout for no apparent reason
Product: [Fedora] Fedora Reporter: Arjan van de Ven <arjan>
Component: libeventAssignee: Steve Dickson <steved>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: bnocera, triage
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: bzcl34nup
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-06 20:48:27 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 204948, 418441    
Description Flags
patch to increase the delay none

Description Arjan van de Ven 2006-09-01 17:15:36 EDT
Description of problem:

libevent decides to wake up every 5 seconds, for no apparent reason whatsoever.
The patch below makes this default poll timeout more pallable to 60 seconds, but
even longer would be better.
Comment 1 Arjan van de Ven 2006-09-01 17:15:36 EDT
Created attachment 135414 [details]
patch to increase the delay
Comment 2 Steve Dickson 2006-09-05 07:34:50 EDT
I just sent some mail to the  libevent-users mailing list to see
why this value can not be set to -1 which would make the epoll
wait forever or even make the time out configurable... 

Comment 3 Arjan van de Ven 2006-11-09 03:21:45 EST
Comment 4 Steve Dickson 2007-03-09 10:35:10 EST
Fixed in libevent-1.3b-1.fc7
Comment 5 Scott Lamb 2007-07-25 16:50:52 EDT
The purpose of the delay is to handle (as best as possible) cases where the clock goes backwards. But with 
CLOCK_MONOTONIC, this is unnecessary. I just sent a couple patches to the upstream list which make the 
delay infinite on Linux. Hopefully they'll make it into libevent-1.3c.


Comment 6 Bug Zapper 2008-04-03 14:07:12 EDT
Based on the date this bug was created, it appears to have been reported
against rawhide during the development of a Fedora release that is no
longer maintained. In order to refocus our efforts as a project we are
flagging all of the open bugs for releases which are no longer
maintained. If this bug remains in NEEDINFO thirty (30) days from now,
we will automatically close it.

If you can reproduce this bug in a maintained Fedora version (7, 8, or
rawhide), please change this bug to the respective version and change
the status to ASSIGNED. (If you're unable to change the bug's version
or status, add a comment to the bug and someone will change it for you.)

Thanks for your help, and we apologize again that we haven't handled
these issues to this point.

The process we're following is outlined here:

We will be following the process here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this
doesn't happen again.
Comment 7 Bug Zapper 2008-05-06 20:48:25 EDT
This bug has been in NEEDINFO for more than 30 days since feedback was
first requested. As a result we are closing it.

If you can reproduce this bug in the future against a maintained Fedora
version please feel free to reopen it against that version.

The process we're following is outlined here: