[ 
https://issues.apache.org/jira/browse/TS-4925?focusedWorklogId=30099&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30099
 ]

ASF GitHub Bot logged work on TS-4925:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 04/Oct/16 04:48
            Start Date: 04/Oct/16 04:48
    Worklog Time Spent: 10m 
      Work Description: GitHub user jpeach opened a pull request:

    https://github.com/apache/trafficserver/pull/1074

    TS-4925: Manager pollMgmtProcessServer stuck with EBADF.

    If the select in pollMgmtProcessServer fails with an actual error
    (EBADF, for example), it just returned back into the select loop
    and was unable to recover. This might happen if the server file
    descriptor is -1, or otherwise stale.
    
    The fix is to not put -1 into the select set, and to break the loop
    if select returns an error.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jpeach/trafficserver fix/4925

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/1074.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1074
    
----
commit a2ff45c956b9b69eb188b87ae1e4c02f74148aba
Author: James Peach <[email protected]>
Date:   2016-10-04T04:43:57Z

    TS-4925: Manager pollMgmtProcessServer stuck with EBADF.
    
    If the select in pollMgmtProcessServer fails with an actual error
    (EBADF, for example), it just returned back into the select loop
    and was unable to recover. This might happen if the server file
    descriptor is -1, or otherwise stale.
    
    The fix is to not put -1 into the select set, and to break the loop
    if select returns an error.

----


Issue Time Tracking
-------------------

            Worklog Id:     (was: 30099)
            Time Spent: 10m
    Remaining Estimate: 0h

> Manager puking EBADF everywhere.
> --------------------------------
>
>                 Key: TS-4925
>                 URL: https://issues.apache.org/jira/browse/TS-4925
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Manager
>            Reporter: James Peach
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {noformat}
> [Oct  3 20:19:53.824] Manager {0x7f7b699a2800} ERROR: 
> [LocalManager::pollMgmtProcessServer] select failed or was interrupted (9)
> ...
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to