You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2011/05/15 02:15:47 UTC

[jira] [Created] (TS-779) Set thread name for various event types

Set thread name for various event types
---------------------------------------

                 Key: TS-779
                 URL: https://issues.apache.org/jira/browse/TS-779
             Project: Traffic Server
          Issue Type: New Feature
          Components: Core
            Reporter: Leif Hedstrom
            Assignee: Leif Hedstrom


Where supported, I'd like to set the thread name (using prctl) for the various event threads that we have. This makes it much easier to see what type of thread is consuming resources.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (TS-779) Set thread name for various event types

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

Leif Hedstrom commented on TS-779:
----------------------------------

This is an example of what it would look like (using the "thread" view in top, "H" command):

http://fpaste.org/ycw4/

> Set thread name for various event types
> ---------------------------------------
>
>                 Key: TS-779
>                 URL: https://issues.apache.org/jira/browse/TS-779
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>         Attachments: TS-779.diff
>
>
> Where supported, I'd like to set the thread name (using prctl) for the various event threads that we have. This makes it much easier to see what type of thread is consuming resources.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (TS-779) Set thread name for various event types

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

Leif Hedstrom commented on TS-779:
----------------------------------

I'm going to give thread 0 a thread-name of [ET_NET 0] as well, since we turn the "main" thread into a net thread :)

> Set thread name for various event types
> ---------------------------------------
>
>                 Key: TS-779
>                 URL: https://issues.apache.org/jira/browse/TS-779
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>         Attachments: TS-779.diff
>
>
> Where supported, I'd like to set the thread name (using prctl) for the various event threads that we have. This makes it much easier to see what type of thread is consuming resources.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (TS-779) Set thread name for various event types

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

Leif Hedstrom resolved TS-779.
------------------------------

    Resolution: Fixed

> Set thread name for various event types
> ---------------------------------------
>
>                 Key: TS-779
>                 URL: https://issues.apache.org/jira/browse/TS-779
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 2.1.9
>
>         Attachments: TS-779.diff
>
>
> Where supported, I'd like to set the thread name (using prctl) for the various event threads that we have. This makes it much easier to see what type of thread is consuming resources.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (TS-779) Set thread name for various event types

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

Leif Hedstrom updated TS-779:
-----------------------------

    Attachment: TS-779.diff

Proposed patch

> Set thread name for various event types
> ---------------------------------------
>
>                 Key: TS-779
>                 URL: https://issues.apache.org/jira/browse/TS-779
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>         Attachments: TS-779.diff
>
>
> Where supported, I'd like to set the thread name (using prctl) for the various event threads that we have. This makes it much easier to see what type of thread is consuming resources.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (TS-779) Set thread name for various event types

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

John Plevyak commented on TS-779:
---------------------------------

Nice!  Looks good.

> Set thread name for various event types
> ---------------------------------------
>
>                 Key: TS-779
>                 URL: https://issues.apache.org/jira/browse/TS-779
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>         Attachments: TS-779.diff
>
>
> Where supported, I'd like to set the thread name (using prctl) for the various event threads that we have. This makes it much easier to see what type of thread is consuming resources.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (TS-779) Set thread name for various event types

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

Leif Hedstrom updated TS-779:
-----------------------------

    Fix Version/s: 2.1.9

> Set thread name for various event types
> ---------------------------------------
>
>                 Key: TS-779
>                 URL: https://issues.apache.org/jira/browse/TS-779
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Core
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 2.1.9
>
>         Attachments: TS-779.diff
>
>
> Where supported, I'd like to set the thread name (using prctl) for the various event threads that we have. This makes it much easier to see what type of thread is consuming resources.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira