You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Igor Galić (JIRA)" <ji...@apache.org> on 2012/12/03 23:33:58 UTC

[jira] [Created] (TS-1609) Traffic Cop doesn't wait() for its children

Igor Galić created TS-1609:
------------------------------

             Summary: Traffic Cop doesn't wait() for its children
                 Key: TS-1609
                 URL: https://issues.apache.org/jira/browse/TS-1609
             Project: Traffic Server
          Issue Type: Bug
            Reporter: Igor Galić


When {{traffic_cop}} is killed by a supervising process it doesn't wait() for its children.
This can lead to race conditions where traffic cop is killed, for instance by {{upstart}}, and then started again, while a {{traffic_manager}} and {{traffic_server}} are still running.

n.b.: This does not happen on Solaris, where SMF kills off processes running in the same contract(4)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (TS-1609) Traffic Cop doesn't wait() for its children

Posted by "Igor Galić (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-1609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Galić updated TS-1609:
---------------------------

    Environment: Linux and possibly FreeBSD
    
> Traffic Cop doesn't wait() for its children
> -------------------------------------------
>
>                 Key: TS-1609
>                 URL: https://issues.apache.org/jira/browse/TS-1609
>             Project: Traffic Server
>          Issue Type: Bug
>         Environment: Linux and possibly FreeBSD
>            Reporter: Igor Galić
>            Assignee: Igor Galić
>
> When {{traffic_cop}} is killed by a supervising process it doesn't wait() for its children.
> This can lead to race conditions where traffic cop is killed, for instance by {{upstart}}, and then started again, while a {{traffic_manager}} and {{traffic_server}} are still running.
> n.b.: This does not happen on Solaris, where SMF kills off processes running in the same [contract(4)|http://illumos.org/man/4/contract].

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (TS-1609) Traffic Cop doesn't wait() for its children

Posted by "Igor Galić (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-1609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Galić updated TS-1609:
---------------------------

    Description: 
When {{traffic_cop}} is killed by a supervising process it doesn't wait() for its children.
This can lead to race conditions where traffic cop is killed, for instance by {{upstart}}, and then started again, while a {{traffic_manager}} and {{traffic_server}} are still running.

n.b.: This does not happen on Solaris, where SMF kills off all processes running in the same [contract(4)|http://illumos.org/man/4/contract].

  was:
When {{traffic_cop}} is killed by a supervising process it doesn't wait() for its children.
This can lead to race conditions where traffic cop is killed, for instance by {{upstart}}, and then started again, while a {{traffic_manager}} and {{traffic_server}} are still running.

n.b.: This does not happen on Solaris, where SMF kills off processes running in the same [contract(4)|http://illumos.org/man/4/contract].

    
> Traffic Cop doesn't wait() for its children
> -------------------------------------------
>
>                 Key: TS-1609
>                 URL: https://issues.apache.org/jira/browse/TS-1609
>             Project: Traffic Server
>          Issue Type: Bug
>         Environment: Linux and possibly FreeBSD
>            Reporter: Igor Galić
>            Assignee: Igor Galić
>
> When {{traffic_cop}} is killed by a supervising process it doesn't wait() for its children.
> This can lead to race conditions where traffic cop is killed, for instance by {{upstart}}, and then started again, while a {{traffic_manager}} and {{traffic_server}} are still running.
> n.b.: This does not happen on Solaris, where SMF kills off all processes running in the same [contract(4)|http://illumos.org/man/4/contract].

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (TS-1609) Traffic Cop doesn't wait() for its children

Posted by "Igor Galić (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-1609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Galić updated TS-1609:
---------------------------

    Description: 
When {{traffic_cop}} is killed by a supervising process it doesn't wait() for its children.
This can lead to race conditions where traffic cop is killed, for instance by {{upstart}}, and then started again, while a {{traffic_manager}} and {{traffic_server}} are still running.

n.b.: This does not happen on Solaris, where SMF kills off processes running in the same [contract(4)|http://illumos.org/man/4/contract].

  was:
When {{traffic_cop}} is killed by a supervising process it doesn't wait() for its children.
This can lead to race conditions where traffic cop is killed, for instance by {{upstart}}, and then started again, while a {{traffic_manager}} and {{traffic_server}} are still running.

n.b.: This does not happen on Solaris, where SMF kills off processes running in the same contract(4)

    
> Traffic Cop doesn't wait() for its children
> -------------------------------------------
>
>                 Key: TS-1609
>                 URL: https://issues.apache.org/jira/browse/TS-1609
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: Igor Galić
>
> When {{traffic_cop}} is killed by a supervising process it doesn't wait() for its children.
> This can lead to race conditions where traffic cop is killed, for instance by {{upstart}}, and then started again, while a {{traffic_manager}} and {{traffic_server}} are still running.
> n.b.: This does not happen on Solaris, where SMF kills off processes running in the same [contract(4)|http://illumos.org/man/4/contract].

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (TS-1609) Traffic Cop doesn't wait() for its children

Posted by "Igor Galić (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-1609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Galić reassigned TS-1609:
------------------------------

    Assignee: Igor Galić
    
> Traffic Cop doesn't wait() for its children
> -------------------------------------------
>
>                 Key: TS-1609
>                 URL: https://issues.apache.org/jira/browse/TS-1609
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: Igor Galić
>            Assignee: Igor Galić
>
> When {{traffic_cop}} is killed by a supervising process it doesn't wait() for its children.
> This can lead to race conditions where traffic cop is killed, for instance by {{upstart}}, and then started again, while a {{traffic_manager}} and {{traffic_server}} are still running.
> n.b.: This does not happen on Solaris, where SMF kills off processes running in the same [contract(4)|http://illumos.org/man/4/contract].

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (TS-1609) Traffic Cop doesn't wait() for its children

Posted by "Igor Galić (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-1609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509252#comment-13509252 ] 

Igor Galić commented on TS-1609:
--------------------------------

I propose the following patchset, and kindly ask for your test/review:

https://github.com/igalic/trafficserver/tree/sig_term
https://github.com/igalic/trafficserver/tree/3.2.x-sig

Those are rebased against the current master and 3.2.x branches respectively.

                
> Traffic Cop doesn't wait() for its children
> -------------------------------------------
>
>                 Key: TS-1609
>                 URL: https://issues.apache.org/jira/browse/TS-1609
>             Project: Traffic Server
>          Issue Type: Bug
>         Environment: Linux and possibly FreeBSD
>            Reporter: Igor Galić
>            Assignee: Igor Galić
>
> When {{traffic_cop}} is killed by a supervising process it doesn't wait() for its children.
> This can lead to race conditions where traffic cop is killed, for instance by {{upstart}}, and then started again, while a {{traffic_manager}} and {{traffic_server}} are still running.
> n.b.: This does not happen on Solaris, where SMF kills off processes running in the same [contract(4)|http://illumos.org/man/4/contract].

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira