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/01/15 02:11:45 UTC

[jira] Created: (TS-640) Repeated INKInit() / INKTerminate() will leak lots of memory

Repeated INKInit() / INKTerminate() will leak lots of memory
------------------------------------------------------------

                 Key: TS-640
                 URL: https://issues.apache.org/jira/browse/TS-640
             Project: Traffic Server
          Issue Type: Bug
          Components: Mgmt API
            Reporter: Leif Hedstrom
             Fix For: 2.1.7


If you do

INKInit();
INKTerminate()

repeatedly, the process will leak memory something fiercely. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TS-640) Repeated INKInit() / INKTerminate() will leak lots of memory

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

Leif Hedstrom updated TS-640:
-----------------------------

    Fix Version/s:     (was: 2.1.7)
                   2.1.6

> Repeated INKInit() / INKTerminate() will leak lots of memory
> ------------------------------------------------------------
>
>                 Key: TS-640
>                 URL: https://issues.apache.org/jira/browse/TS-640
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Management API
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 2.1.6
>
>
> If you do
> INKInit();
> INKTerminate()
> repeatedly, the process will leak memory something fiercely. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TS-640) Repeated INKInit() / INKTerminate() will leak lots of memory

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

Leif Hedstrom resolved TS-640.
------------------------------

    Resolution: Fixed

> Repeated INKInit() / INKTerminate() will leak lots of memory
> ------------------------------------------------------------
>
>                 Key: TS-640
>                 URL: https://issues.apache.org/jira/browse/TS-640
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Management API
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 2.1.6
>
>
> If you do
> INKInit();
> INKTerminate()
> repeatedly, the process will leak memory something fiercely. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (TS-640) Repeated INKInit() / INKTerminate() will leak lots of memory

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

Leif Hedstrom reassigned TS-640:
--------------------------------

    Assignee: Leif Hedstrom

> Repeated INKInit() / INKTerminate() will leak lots of memory
> ------------------------------------------------------------
>
>                 Key: TS-640
>                 URL: https://issues.apache.org/jira/browse/TS-640
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Mgmt API
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 2.1.7
>
>
> If you do
> INKInit();
> INKTerminate()
> repeatedly, the process will leak memory something fiercely. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TS-640) Repeated INKInit() / INKTerminate() will leak lots of memory

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

Leif Hedstrom commented on TS-640:
----------------------------------

I suspect we fail to "kill" the following thread:

ink_thread_create(event_poll_thread_main, &event_socket_fd);


I think we should make INKInit() take an optional argument, to let the system know if we're interested in event callbacks. But even so, we obviously should properly "kill" this thread upon INKTerminate().

> Repeated INKInit() / INKTerminate() will leak lots of memory
> ------------------------------------------------------------
>
>                 Key: TS-640
>                 URL: https://issues.apache.org/jira/browse/TS-640
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Mgmt API
>            Reporter: Leif Hedstrom
>             Fix For: 2.1.7
>
>
> If you do
> INKInit();
> INKTerminate()
> repeatedly, the process will leak memory something fiercely. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.