You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "markus mayer (JIRA)" <ji...@apache.org> on 2007/02/27 20:42:05 UTC

[jira] Created: (AXIS2C-540) Memory Leaks - Test Suite

Memory Leaks - Test Suite
-------------------------

                 Key: AXIS2C-540
                 URL: https://issues.apache.org/jira/browse/AXIS2C-540
             Project: Axis2-C
          Issue Type: Test
    Affects Versions: 0.96
         Environment: Windows XP
            Reporter: markus mayer
            Priority: Critical


This is a follow-up to my post regarding memory-leaks on axis-c-dev (original message attached below). the test-tool i used for my tests is apache jmeter (http://jakarta.apache.org/jmeter/index.html). i am using the current version 2.2. unfortunately the component for creating soap requests has a minor bug in its current version. it is creating http requests with
"transfer-encoding: chunked". as it stands now the simple_axis_server does not handle this transfer-encoding, with mod_axis2 and apache it appears to be working. i am however not sure if simple_Axis_server is supposed to properly handle such requests. if
it is i can open a jira for this.
anyway i attach both a patched version of a jmeter library that addresses the "chunked" issue (hopefully without introducing a host of new ones...). 

instructions (after download/setup of jmeter 2.2):
- copy the jar to [jmeter_main_dir]\lib\ext. 
- replace the original apachejmeter_http.jar. 

this should work. i also attach the test suite i used (the .jmx file). it simply calls the add method of the math web-services with 5 concurrent threads.
i hope this helps you guys to reproduce my results.

================================================================================================
Original mesasge from axis-c-dev:

List:       axis-c-dev
Subject:    Memory leaks
From:       mgt () gmx ! at
Date:       2007-02-25 15:48:47
Message-ID: 20070225154847.73890 () gmx ! net

Hello,
A couple of your postings during the last days were concerning memory leaks within \
axis2c. I used a load testing tool to run a simple suite consisting of the concurrent \
invocations of the math sample web-service (the add service method).

In case you are interested find my results below (values are taken from windows \
                process view column "mem usage"):
- axis2_http_server doubles its memory usage after approx. 5000 requests (from \
                initially 5.5 megs to approx. 10 megs)
- when using mod_Axis2 with apache2 (2.0.59) the situation is as follows:
initially the server takes about 13 megs of memory. after 1000 "add" requests apache \
                went up to 40 mb of mem usage and kept increasing steadily. 
- when using apache2 ver. 2.2.3 the situation is almost the same.

If you are interested in investigating these issues further I can provide you with \
all the details about test-tool (jakarta jmeter), test-suite,etc.

I think especially fixes for the apache mod would be particularly important/helpful \
for 1.0 as this is the suggested deployment scenario (i assume?). Bye,
Markus


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


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


[jira] Updated: (AXIS2C-540) Memory Leaks - Test Suite

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

markus mayer updated AXIS2C-540:
--------------------------------

    Attachment: Axis2MathMemLeakSample.jmx

This is the test-suited I used...

> Memory Leaks - Test Suite
> -------------------------
>
>                 Key: AXIS2C-540
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-540
>             Project: Axis2-C
>          Issue Type: Test
>    Affects Versions: 0.96
>         Environment: Windows XP
>            Reporter: markus mayer
>            Priority: Critical
>         Attachments: Axis2MathMemLeakSample.jmx
>
>
> This is a follow-up to my post regarding memory-leaks on axis-c-dev (original message attached below). the test-tool i used for my tests is apache jmeter (http://jakarta.apache.org/jmeter/index.html). i am using the current version 2.2. unfortunately the component for creating soap requests has a minor bug in its current version. it is creating http requests with
> "transfer-encoding: chunked". as it stands now the simple_axis_server does not handle this transfer-encoding, with mod_axis2 and apache it appears to be working. i am however not sure if simple_Axis_server is supposed to properly handle such requests. if
> it is i can open a jira for this.
> anyway i attach both a patched version of a jmeter library that addresses the "chunked" issue (hopefully without introducing a host of new ones...). 
> instructions (after download/setup of jmeter 2.2):
> - copy the jar to [jmeter_main_dir]\lib\ext. 
> - replace the original apachejmeter_http.jar. 
> this should work. i also attach the test suite i used (the .jmx file). it simply calls the add method of the math web-services with 5 concurrent threads.
> i hope this helps you guys to reproduce my results.
> ================================================================================================
> Original mesasge from axis-c-dev:
> List:       axis-c-dev
> Subject:    Memory leaks
> From:       mgt () gmx ! at
> Date:       2007-02-25 15:48:47
> Message-ID: 20070225154847.73890 () gmx ! net
> Hello,
> A couple of your postings during the last days were concerning memory leaks within \
> axis2c. I used a load testing tool to run a simple suite consisting of the concurrent \
> invocations of the math sample web-service (the add service method).
> In case you are interested find my results below (values are taken from windows \
>                 process view column "mem usage"):
> - axis2_http_server doubles its memory usage after approx. 5000 requests (from \
>                 initially 5.5 megs to approx. 10 megs)
> - when using mod_Axis2 with apache2 (2.0.59) the situation is as follows:
> initially the server takes about 13 megs of memory. after 1000 "add" requests apache \
>                 went up to 40 mb of mem usage and kept increasing steadily. 
> - when using apache2 ver. 2.2.3 the situation is almost the same.
> If you are interested in investigating these issues further I can provide you with \
> all the details about test-tool (jakarta jmeter), test-suite,etc.
> I think especially fixes for the apache mod would be particularly important/helpful \
> for 1.0 as this is the suggested deployment scenario (i assume?). Bye,
> Markus

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


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


Have anyone documented how to build and use Guththila?

Posted by Samisa Abeysinghe <sa...@wso2.com>.
$subject?
I know how to use Guththila but in case anyone has a doc already that 
would be of great help for AXIS2C-540 (see below).

Thanks,
Samisa...

markus mayer (JIRA) wrote:

>    [ https://issues.apache.org/jira/browse/AXIS2C-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481828 ] 
>
>markus mayer commented on AXIS2C-540:
>-------------------------------------
>
>Hi Samisa,
>As far as I can tell I am using libxml2 (2.6.27). This appears to be the default in my configure.in settings. If you provide me instructions on how to use guththila instead I will try to make another build and compare the results...
>
>Bye,
>Markus
>
>
>  
>
>>Memory Leaks - Test Suite
>>-------------------------
>>
>>                Key: AXIS2C-540
>>                URL: https://issues.apache.org/jira/browse/AXIS2C-540
>>            Project: Axis2-C
>>         Issue Type: Test
>>   Affects Versions: 0.96
>>        Environment: Windows XP
>>           Reporter: markus mayer
>>           Priority: Critical
>>        Attachments: Axis2MathMemLeakSample.jmx, patched_ApacheJMeter_http.jar
>>
>>
>>This is a follow-up to my post regarding memory-leaks on axis-c-dev (original message attached below). the test-tool i used for my tests is apache jmeter (http://jakarta.apache.org/jmeter/index.html). i am using the current version 2.2. unfortunately the component for creating soap requests has a minor bug in its current version. it is creating http requests with
>>"transfer-encoding: chunked". as it stands now the simple_axis_server does not handle this transfer-encoding, with mod_axis2 and apache it appears to be working. i am however not sure if simple_Axis_server is supposed to properly handle such requests. if
>>it is i can open a jira for this.
>>anyway i attach both a patched version of a jmeter library that addresses the "chunked" issue (hopefully without introducing a host of new ones...). 
>>instructions (after download/setup of jmeter 2.2):
>>- copy the jar to [jmeter_main_dir]\lib\ext. 
>>- replace the original apachejmeter_http.jar. 
>>this should work. i also attach the test suite i used (the .jmx file). it simply calls the add method of the math web-services with 5 concurrent threads.
>>i hope this helps you guys to reproduce my results.
>>================================================================================================
>>Original mesasge from axis-c-dev:
>>List:       axis-c-dev
>>Subject:    Memory leaks
>>From:       mgt () gmx ! at
>>Date:       2007-02-25 15:48:47
>>Message-ID: 20070225154847.73890 () gmx ! net
>>Hello,
>>A couple of your postings during the last days were concerning memory leaks within \
>>axis2c. I used a load testing tool to run a simple suite consisting of the concurrent \
>>invocations of the math sample web-service (the add service method).
>>In case you are interested find my results below (values are taken from windows \
>>                process view column "mem usage"):
>>- axis2_http_server doubles its memory usage after approx. 5000 requests (from \
>>                initially 5.5 megs to approx. 10 megs)
>>- when using mod_Axis2 with apache2 (2.0.59) the situation is as follows:
>>initially the server takes about 13 megs of memory. after 1000 "add" requests apache \
>>                went up to 40 mb of mem usage and kept increasing steadily. 
>>- when using apache2 ver. 2.2.3 the situation is almost the same.
>>If you are interested in investigating these issues further I can provide you with \
>>all the details about test-tool (jakarta jmeter), test-suite,etc.
>>I think especially fixes for the apache mod would be particularly important/helpful \
>>for 1.0 as this is the suggested deployment scenario (i assume?). Bye,
>>Markus
>>    
>>
>
>  
>



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


[jira] Commented: (AXIS2C-540) Memory Leaks - Test Suite

Posted by "markus mayer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481828 ] 

markus mayer commented on AXIS2C-540:
-------------------------------------

Hi Samisa,
As far as I can tell I am using libxml2 (2.6.27). This appears to be the default in my configure.in settings. If you provide me instructions on how to use guththila instead I will try to make another build and compare the results...

Bye,
Markus


> Memory Leaks - Test Suite
> -------------------------
>
>                 Key: AXIS2C-540
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-540
>             Project: Axis2-C
>          Issue Type: Test
>    Affects Versions: 0.96
>         Environment: Windows XP
>            Reporter: markus mayer
>            Priority: Critical
>         Attachments: Axis2MathMemLeakSample.jmx, patched_ApacheJMeter_http.jar
>
>
> This is a follow-up to my post regarding memory-leaks on axis-c-dev (original message attached below). the test-tool i used for my tests is apache jmeter (http://jakarta.apache.org/jmeter/index.html). i am using the current version 2.2. unfortunately the component for creating soap requests has a minor bug in its current version. it is creating http requests with
> "transfer-encoding: chunked". as it stands now the simple_axis_server does not handle this transfer-encoding, with mod_axis2 and apache it appears to be working. i am however not sure if simple_Axis_server is supposed to properly handle such requests. if
> it is i can open a jira for this.
> anyway i attach both a patched version of a jmeter library that addresses the "chunked" issue (hopefully without introducing a host of new ones...). 
> instructions (after download/setup of jmeter 2.2):
> - copy the jar to [jmeter_main_dir]\lib\ext. 
> - replace the original apachejmeter_http.jar. 
> this should work. i also attach the test suite i used (the .jmx file). it simply calls the add method of the math web-services with 5 concurrent threads.
> i hope this helps you guys to reproduce my results.
> ================================================================================================
> Original mesasge from axis-c-dev:
> List:       axis-c-dev
> Subject:    Memory leaks
> From:       mgt () gmx ! at
> Date:       2007-02-25 15:48:47
> Message-ID: 20070225154847.73890 () gmx ! net
> Hello,
> A couple of your postings during the last days were concerning memory leaks within \
> axis2c. I used a load testing tool to run a simple suite consisting of the concurrent \
> invocations of the math sample web-service (the add service method).
> In case you are interested find my results below (values are taken from windows \
>                 process view column "mem usage"):
> - axis2_http_server doubles its memory usage after approx. 5000 requests (from \
>                 initially 5.5 megs to approx. 10 megs)
> - when using mod_Axis2 with apache2 (2.0.59) the situation is as follows:
> initially the server takes about 13 megs of memory. after 1000 "add" requests apache \
>                 went up to 40 mb of mem usage and kept increasing steadily. 
> - when using apache2 ver. 2.2.3 the situation is almost the same.
> If you are interested in investigating these issues further I can provide you with \
> all the details about test-tool (jakarta jmeter), test-suite,etc.
> I think especially fixes for the apache mod would be particularly important/helpful \
> for 1.0 as this is the suggested deployment scenario (i assume?). Bye,
> Markus

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


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


[jira] Commented: (AXIS2C-540) Memory Leaks - Test Suite

Posted by "Evanthika Amarasiri (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504628 ] 

Evanthika Amarasiri commented on AXIS2C-540:
--------------------------------------------

I tried the same as mentioned above and below are the memory usage stats

Request count = 6000

Cycle1 													Memory usage
=====													----------------------
axis2c_server started										198
request sending completed								4640

Cycle2 													Memory usage
=====												       ----------------------
axis2c_server started										120
request sending completed								3780

Cycle3 													Memory usage
=====													----------------------
axis2c_server started										5544
few seconds after requests sending started		                     2120
request sending completed								 4224

> Memory Leaks - Test Suite
> -------------------------
>
>                 Key: AXIS2C-540
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-540
>             Project: Axis2-C
>          Issue Type: Test
>    Affects Versions: 0.96
>         Environment: Windows XP
>            Reporter: markus mayer
>            Priority: Critical
>         Attachments: Axis2MathMemLeakSample.jmx, patched_ApacheJMeter_http.jar
>
>
> This is a follow-up to my post regarding memory-leaks on axis-c-dev (original message attached below). the test-tool i used for my tests is apache jmeter (http://jakarta.apache.org/jmeter/index.html). i am using the current version 2.2. unfortunately the component for creating soap requests has a minor bug in its current version. it is creating http requests with
> "transfer-encoding: chunked". as it stands now the simple_axis_server does not handle this transfer-encoding, with mod_axis2 and apache it appears to be working. i am however not sure if simple_Axis_server is supposed to properly handle such requests. if
> it is i can open a jira for this.
> anyway i attach both a patched version of a jmeter library that addresses the "chunked" issue (hopefully without introducing a host of new ones...). 
> instructions (after download/setup of jmeter 2.2):
> - copy the jar to [jmeter_main_dir]\lib\ext. 
> - replace the original apachejmeter_http.jar. 
> this should work. i also attach the test suite i used (the .jmx file). it simply calls the add method of the math web-services with 5 concurrent threads.
> i hope this helps you guys to reproduce my results.
> ================================================================================================
> Original mesasge from axis-c-dev:
> List:       axis-c-dev
> Subject:    Memory leaks
> From:       mgt () gmx ! at
> Date:       2007-02-25 15:48:47
> Message-ID: 20070225154847.73890 () gmx ! net
> Hello,
> A couple of your postings during the last days were concerning memory leaks within \
> axis2c. I used a load testing tool to run a simple suite consisting of the concurrent \
> invocations of the math sample web-service (the add service method).
> In case you are interested find my results below (values are taken from windows \
>                 process view column "mem usage"):
> - axis2_http_server doubles its memory usage after approx. 5000 requests (from \
>                 initially 5.5 megs to approx. 10 megs)
> - when using mod_Axis2 with apache2 (2.0.59) the situation is as follows:
> initially the server takes about 13 megs of memory. after 1000 "add" requests apache \
>                 went up to 40 mb of mem usage and kept increasing steadily. 
> - when using apache2 ver. 2.2.3 the situation is almost the same.
> If you are interested in investigating these issues further I can provide you with \
> all the details about test-tool (jakarta jmeter), test-suite,etc.
> I think especially fixes for the apache mod would be particularly important/helpful \
> for 1.0 as this is the suggested deployment scenario (i assume?). Bye,
> Markus

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


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


[jira] Issue Comment Edited: (AXIS2C-540) Memory Leaks - Test Suite

Posted by "Evanthika Amarasiri (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504628 ] 

Evanthika Amarasiri edited comment on AXIS2C-540 at 6/14/07 3:14 AM:
---------------------------------------------------------------------

I tried the same as mentioned above and below are the memory usage stats

Request count = 6000

Cycle1 
=====
axis2c_server started -    198 Kb
request sending completed -   4640 Kb

Cycle2
=====
axis2c_server started  -  120 Kb
request sending completed  -  3780 Kb

Cycle3
=====
axis2c_server started  -  5544 Kb
few seconds after requests sending started  -  2120 Kb
request sending completed  - 4224 Kb

As mentioned in the issue, I did not experience the memory going up till about 10meg


 was:
I tried the same as mentioned above and below are the memory usage stats

Request count = 6000

Cycle1 													Memory usage
=====													----------------------
axis2c_server started										198
request sending completed								4640

Cycle2 													Memory usage
=====												       ----------------------
axis2c_server started										120
request sending completed								3780

Cycle3 													Memory usage
=====													----------------------
axis2c_server started										5544
few seconds after requests sending started		                     2120
request sending completed								 4224

> Memory Leaks - Test Suite
> -------------------------
>
>                 Key: AXIS2C-540
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-540
>             Project: Axis2-C
>          Issue Type: Test
>    Affects Versions: 0.96
>         Environment: Windows XP
>            Reporter: markus mayer
>            Priority: Critical
>         Attachments: Axis2MathMemLeakSample.jmx, patched_ApacheJMeter_http.jar
>
>
> This is a follow-up to my post regarding memory-leaks on axis-c-dev (original message attached below). the test-tool i used for my tests is apache jmeter (http://jakarta.apache.org/jmeter/index.html). i am using the current version 2.2. unfortunately the component for creating soap requests has a minor bug in its current version. it is creating http requests with
> "transfer-encoding: chunked". as it stands now the simple_axis_server does not handle this transfer-encoding, with mod_axis2 and apache it appears to be working. i am however not sure if simple_Axis_server is supposed to properly handle such requests. if
> it is i can open a jira for this.
> anyway i attach both a patched version of a jmeter library that addresses the "chunked" issue (hopefully without introducing a host of new ones...). 
> instructions (after download/setup of jmeter 2.2):
> - copy the jar to [jmeter_main_dir]\lib\ext. 
> - replace the original apachejmeter_http.jar. 
> this should work. i also attach the test suite i used (the .jmx file). it simply calls the add method of the math web-services with 5 concurrent threads.
> i hope this helps you guys to reproduce my results.
> ================================================================================================
> Original mesasge from axis-c-dev:
> List:       axis-c-dev
> Subject:    Memory leaks
> From:       mgt () gmx ! at
> Date:       2007-02-25 15:48:47
> Message-ID: 20070225154847.73890 () gmx ! net
> Hello,
> A couple of your postings during the last days were concerning memory leaks within \
> axis2c. I used a load testing tool to run a simple suite consisting of the concurrent \
> invocations of the math sample web-service (the add service method).
> In case you are interested find my results below (values are taken from windows \
>                 process view column "mem usage"):
> - axis2_http_server doubles its memory usage after approx. 5000 requests (from \
>                 initially 5.5 megs to approx. 10 megs)
> - when using mod_Axis2 with apache2 (2.0.59) the situation is as follows:
> initially the server takes about 13 megs of memory. after 1000 "add" requests apache \
>                 went up to 40 mb of mem usage and kept increasing steadily. 
> - when using apache2 ver. 2.2.3 the situation is almost the same.
> If you are interested in investigating these issues further I can provide you with \
> all the details about test-tool (jakarta jmeter), test-suite,etc.
> I think especially fixes for the apache mod would be particularly important/helpful \
> for 1.0 as this is the suggested deployment scenario (i assume?). Bye,
> Markus

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


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


[jira] Resolved: (AXIS2C-540) Memory Leaks - Test Suite

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

Samisa Abeysinghe resolved AXIS2C-540.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.0

Accrding to test results by Evanthinka, these problems have been solved.

> Memory Leaks - Test Suite
> -------------------------
>
>                 Key: AXIS2C-540
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-540
>             Project: Axis2-C
>          Issue Type: Test
>    Affects Versions: 0.96
>         Environment: Windows XP
>            Reporter: markus mayer
>            Priority: Critical
>             Fix For: 1.1.0
>
>         Attachments: Axis2MathMemLeakSample.jmx, patched_ApacheJMeter_http.jar
>
>
> This is a follow-up to my post regarding memory-leaks on axis-c-dev (original message attached below). the test-tool i used for my tests is apache jmeter (http://jakarta.apache.org/jmeter/index.html). i am using the current version 2.2. unfortunately the component for creating soap requests has a minor bug in its current version. it is creating http requests with
> "transfer-encoding: chunked". as it stands now the simple_axis_server does not handle this transfer-encoding, with mod_axis2 and apache it appears to be working. i am however not sure if simple_Axis_server is supposed to properly handle such requests. if
> it is i can open a jira for this.
> anyway i attach both a patched version of a jmeter library that addresses the "chunked" issue (hopefully without introducing a host of new ones...). 
> instructions (after download/setup of jmeter 2.2):
> - copy the jar to [jmeter_main_dir]\lib\ext. 
> - replace the original apachejmeter_http.jar. 
> this should work. i also attach the test suite i used (the .jmx file). it simply calls the add method of the math web-services with 5 concurrent threads.
> i hope this helps you guys to reproduce my results.
> ================================================================================================
> Original mesasge from axis-c-dev:
> List:       axis-c-dev
> Subject:    Memory leaks
> From:       mgt () gmx ! at
> Date:       2007-02-25 15:48:47
> Message-ID: 20070225154847.73890 () gmx ! net
> Hello,
> A couple of your postings during the last days were concerning memory leaks within \
> axis2c. I used a load testing tool to run a simple suite consisting of the concurrent \
> invocations of the math sample web-service (the add service method).
> In case you are interested find my results below (values are taken from windows \
>                 process view column "mem usage"):
> - axis2_http_server doubles its memory usage after approx. 5000 requests (from \
>                 initially 5.5 megs to approx. 10 megs)
> - when using mod_Axis2 with apache2 (2.0.59) the situation is as follows:
> initially the server takes about 13 megs of memory. after 1000 "add" requests apache \
>                 went up to 40 mb of mem usage and kept increasing steadily. 
> - when using apache2 ver. 2.2.3 the situation is almost the same.
> If you are interested in investigating these issues further I can provide you with \
> all the details about test-tool (jakarta jmeter), test-suite,etc.
> I think especially fixes for the apache mod would be particularly important/helpful \
> for 1.0 as this is the suggested deployment scenario (i assume?). Bye,
> Markus

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


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


[jira] Updated: (AXIS2C-540) Memory Leaks - Test Suite

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

markus mayer updated AXIS2C-540:
--------------------------------

    Attachment: patched_ApacheJMeter_http.jar

This is the patched .jar file for jmeter. copy to [jmeter dir]\lib\ext and replace "ApacheJMeter_http.jar"


> Memory Leaks - Test Suite
> -------------------------
>
>                 Key: AXIS2C-540
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-540
>             Project: Axis2-C
>          Issue Type: Test
>    Affects Versions: 0.96
>         Environment: Windows XP
>            Reporter: markus mayer
>            Priority: Critical
>         Attachments: Axis2MathMemLeakSample.jmx, patched_ApacheJMeter_http.jar
>
>
> This is a follow-up to my post regarding memory-leaks on axis-c-dev (original message attached below). the test-tool i used for my tests is apache jmeter (http://jakarta.apache.org/jmeter/index.html). i am using the current version 2.2. unfortunately the component for creating soap requests has a minor bug in its current version. it is creating http requests with
> "transfer-encoding: chunked". as it stands now the simple_axis_server does not handle this transfer-encoding, with mod_axis2 and apache it appears to be working. i am however not sure if simple_Axis_server is supposed to properly handle such requests. if
> it is i can open a jira for this.
> anyway i attach both a patched version of a jmeter library that addresses the "chunked" issue (hopefully without introducing a host of new ones...). 
> instructions (after download/setup of jmeter 2.2):
> - copy the jar to [jmeter_main_dir]\lib\ext. 
> - replace the original apachejmeter_http.jar. 
> this should work. i also attach the test suite i used (the .jmx file). it simply calls the add method of the math web-services with 5 concurrent threads.
> i hope this helps you guys to reproduce my results.
> ================================================================================================
> Original mesasge from axis-c-dev:
> List:       axis-c-dev
> Subject:    Memory leaks
> From:       mgt () gmx ! at
> Date:       2007-02-25 15:48:47
> Message-ID: 20070225154847.73890 () gmx ! net
> Hello,
> A couple of your postings during the last days were concerning memory leaks within \
> axis2c. I used a load testing tool to run a simple suite consisting of the concurrent \
> invocations of the math sample web-service (the add service method).
> In case you are interested find my results below (values are taken from windows \
>                 process view column "mem usage"):
> - axis2_http_server doubles its memory usage after approx. 5000 requests (from \
>                 initially 5.5 megs to approx. 10 megs)
> - when using mod_Axis2 with apache2 (2.0.59) the situation is as follows:
> initially the server takes about 13 megs of memory. after 1000 "add" requests apache \
>                 went up to 40 mb of mem usage and kept increasing steadily. 
> - when using apache2 ver. 2.2.3 the situation is almost the same.
> If you are interested in investigating these issues further I can provide you with \
> all the details about test-tool (jakarta jmeter), test-suite,etc.
> I think especially fixes for the apache mod would be particularly important/helpful \
> for 1.0 as this is the suggested deployment scenario (i assume?). Bye,
> Markus

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


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


[jira] Commented: (AXIS2C-540) Memory Leaks - Test Suite

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-540?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12481797 ] 

Samisa Abeysinghe commented on AXIS2C-540:
------------------------------------------

I assume you have done the tests with libxml2 parser.
If you use guththila parser, you will get less leaks.

Anyway we need to fix the leaks for libxml2

> Memory Leaks - Test Suite
> -------------------------
>
>                 Key: AXIS2C-540
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-540
>             Project: Axis2-C
>          Issue Type: Test
>    Affects Versions: 0.96
>         Environment: Windows XP
>            Reporter: markus mayer
>            Priority: Critical
>         Attachments: Axis2MathMemLeakSample.jmx, patched_ApacheJMeter_http.jar
>
>
> This is a follow-up to my post regarding memory-leaks on axis-c-dev (original message attached below). the test-tool i used for my tests is apache jmeter (http://jakarta.apache.org/jmeter/index.html). i am using the current version 2.2. unfortunately the component for creating soap requests has a minor bug in its current version. it is creating http requests with
> "transfer-encoding: chunked". as it stands now the simple_axis_server does not handle this transfer-encoding, with mod_axis2 and apache it appears to be working. i am however not sure if simple_Axis_server is supposed to properly handle such requests. if
> it is i can open a jira for this.
> anyway i attach both a patched version of a jmeter library that addresses the "chunked" issue (hopefully without introducing a host of new ones...). 
> instructions (after download/setup of jmeter 2.2):
> - copy the jar to [jmeter_main_dir]\lib\ext. 
> - replace the original apachejmeter_http.jar. 
> this should work. i also attach the test suite i used (the .jmx file). it simply calls the add method of the math web-services with 5 concurrent threads.
> i hope this helps you guys to reproduce my results.
> ================================================================================================
> Original mesasge from axis-c-dev:
> List:       axis-c-dev
> Subject:    Memory leaks
> From:       mgt () gmx ! at
> Date:       2007-02-25 15:48:47
> Message-ID: 20070225154847.73890 () gmx ! net
> Hello,
> A couple of your postings during the last days were concerning memory leaks within \
> axis2c. I used a load testing tool to run a simple suite consisting of the concurrent \
> invocations of the math sample web-service (the add service method).
> In case you are interested find my results below (values are taken from windows \
>                 process view column "mem usage"):
> - axis2_http_server doubles its memory usage after approx. 5000 requests (from \
>                 initially 5.5 megs to approx. 10 megs)
> - when using mod_Axis2 with apache2 (2.0.59) the situation is as follows:
> initially the server takes about 13 megs of memory. after 1000 "add" requests apache \
>                 went up to 40 mb of mem usage and kept increasing steadily. 
> - when using apache2 ver. 2.2.3 the situation is almost the same.
> If you are interested in investigating these issues further I can provide you with \
> all the details about test-tool (jakarta jmeter), test-suite,etc.
> I think especially fixes for the apache mod would be particularly important/helpful \
> for 1.0 as this is the suggested deployment scenario (i assume?). Bye,
> Markus

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


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