synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Madhawa Gunasekara (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SYNAPSE-1106) OOM with large responses where it involves content-aware mediation in response path
Date Sat, 01 Jun 2019 14:07:00 GMT

     [ https://issues.apache.org/jira/browse/SYNAPSE-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Madhawa Gunasekara updated SYNAPSE-1106:
----------------------------------------
    Description: MessageContext class store messageContext object in a ThreadLocalVariable
where it doesn't clear created ThreadLocal variables properly. Therefore synapse passthrough
threads contain created the Theadlocal variable which refers to the created soap envelope
during the mediation level. Because of the retained ThreadLocal variables, Passthrough threads
consumes a huge amount of memory which leads to OOM.  (was: Axis2 MessageContext class[1]
store messageContext object in a ThreadLocalVariable where it doesn't clear created ThreadLocal
variables properly.)

> OOM with large responses where it involves content-aware mediation in response path
> -----------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-1106
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-1106
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Madhawa Gunasekara
>            Assignee: Isuru Udana Loku Narangoda
>            Priority: Major
>         Attachments: Fix_SYNAPSE-1106.patch
>
>
> MessageContext class store messageContext object in a ThreadLocalVariable where it doesn't
clear created ThreadLocal variables properly. Therefore synapse passthrough threads contain
created the Theadlocal variable which refers to the created soap envelope during the mediation
level. Because of the retained ThreadLocal variables, Passthrough threads consumes a huge
amount of memory which leads to OOM.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message