You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2016/06/27 15:56:05 UTC

[Bug 59762] New: after poll error, listener thread tight loops while workers are shutting down

https://bz.apache.org/bugzilla/show_bug.cgi?id=59762

            Bug ID: 59762
           Summary: after poll error, listener thread tight loops while
                    workers are shutting down
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mpm_event
          Assignee: bugs@httpd.apache.org
          Reporter: covener@gmail.com

after poll error, listener thread tight loops while workers are shutting down
(including over a CRIT message).

Seems like it may just be short a break, but maybe not until after a
back-to-back poll error? Probably need to review what errors are possible in
different pollset providers and if any are really recoverable (minimally, only
log the CRIT message once!)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59762] after poll error, listener thread tight loops while workers are shutting down

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59762

--- Comment #4 from Eric Covener <co...@gmail.com> ---
In the repeated log I saw, it was EINVAL, which comes from msgrcv() in the
"asio" pollset provider.  EINVAL or EBADF would probably be similar for epoll
(something has been clobbered and isn't going to get any better)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59762] after poll error, listener thread tight loops while workers are shutting down

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59762

--- Comment #1 from Yann Ylavic <yl...@gmail.com> ---
Which AH number for the CRIT message ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59762] after poll error, listener thread tight loops while workers are shutting down

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59762

--- Comment #3 from Yann Ylavic <yl...@gmail.com> ---
Thanks, maybe the errno too? :p

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59762] after poll error, listener thread tight loops while workers are shutting down

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59762

--- Comment #2 from Eric Covener <co...@gmail.com> ---
(In reply to Yann Ylavic from comment #1)
> Which AH number for the CRIT message ?

whoops, 03267

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59762] after poll error, listener thread tight loops while workers are shutting down

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59762

--- Comment #7 from Eric Covener <co...@gmail.com> ---
(In reply to Yann Ylavic from comment #6)
> (In reply to Eric Covener from comment #5)
> 
> Looks good, but is it still needed after r1759011?

Haha, yes this little bug caused big pain and is likely the reason I saw this
looping on a real system.  It seems a little unnecessarily risky but maybe I'll
leave it linger for a while here.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59762] after poll error, listener thread tight loops while workers are shutting down

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59762

--- Comment #6 from Yann Ylavic <yl...@gmail.com> ---
(In reply to Eric Covener from comment #5)

Looks good, but is it still needed after r1759011?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59762] after poll error, listener thread tight loops while workers are shutting down

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59762

--- Comment #5 from Eric Covener <co...@gmail.com> ---
Maybe something like this to help contain the damage on a rare case where poll
stops working:

http://people.apache.org/~covener/patches/event-poll_failure.diff

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 59762] after poll error, listener thread tight loops while workers are shutting down

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59762

Rich Bowen <rb...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #8 from Rich Bowen <rb...@apache.org> ---
Thank you for your report. As part of an effort to clean up our issue tracker,
we are closing tickets that have seen no activity for more than 5 years. If
this issue is still relevant to a current version of Apache httpd (2.4.x or
trunk), please reopen this ticket or open a new one with updated information.
We appreciate your contribution to the project.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org