[
https://issues.apache.org/jira/browse/AXIS2C-858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12557897#action_12557897
]
Manjula Peiris commented on AXIS2C-858:
---------------------------------------
We have tested with the following configurations in my httpd mpm_prefork
module. I am using Apache 2.6 and this is in the conf/extra/httpd-mpm.conf.
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 4000
</IfModule>
Now we have run the tests for about 40 hours without any decrease in
performance or any issue with memory. So the solution is to configure the
MaxRequessPerChild directive appropriately with the system the service going to
be deployed. For example with these configurations apache requesting serving
processes automatically died after serving 4000 requests. That way memory
growth is stopped. We does not observe considerable degrade of a performance
with these configurations.
> Apache runs out of memory and crashes with a simple mtom service test run in
> a loop
> -----------------------------------------------------------------------------------
>
> Key: AXIS2C-858
> URL: https://issues.apache.org/jira/browse/AXIS2C-858
> Project: Axis2-C
> Issue Type: Bug
> Components: core/engine
> Affects Versions: 1.1.0
> Environment: Linux 2.6 kernel
> Reporter: Subra A Narayanan
> Assignee: Manjula Peiris
>
> I have a simple mtom service written in Axis2/C which receives requests from
> clients with attachments. I wrote a client to consume this service and ran a
> test in a loop with 4 mb attachments. I noticed that the apache server ran
> out of memory and became very unresponsive after about 45 mins and then core
> dumped. The server response seemed to improve after some of the
> threads/processes died due to lack of memory and new threads were created to
> process the request.
>
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]