axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dinesh Premalal <xydin...@gmail.com>
Subject Re: Memory Issues in Sample Server Code
Date Tue, 30 Oct 2007 09:34:03 GMT
Hi David,

David Klassen <dbavedb@shaw.ca> writes:

> I am running my tests with v1.1 but on Windows with apache 2.2.x (latest
> September release). I tried various things. I did see one diff where the free
> statement was either lost during the correction of an indentation or purposely
> removed, however the free statement replacement did not solve the issue. Seeing
> how other JIRA issues seemed to be closed concerning similar reports, I kind of
> assumed that people were not focusing on server performance in this project,
> but embedded C client access.
I just compiled Axis2/C 1.1 and run server with Apache2.2.6
version.Tried to send 100,000 requests. I monitored memory
consumptions of the httpd. For me it never reach 400MB resident or
virtual memory. I also able to see the memory resetting thing, when it
comes to something around 250MB memory get reset.I attached my process
list and client response. 


thanks,
Dinesh


echo.xml
----------
<soapenv:Envelope
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Header
xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:To>http://localhost:9089/axis2/services/echo</wsa:To><wsa:Action>http://ws.apache.org/axis2/c/samples/echoString</wsa:Action><wsa:MessageID>0c69d0c6-86b6-1dc1-275c-001125b4e529</wsa:MessageID></soapenv:Header><soapenv:Body><ns1:echoString
xmlns:ns1="http://ws.apache.org/axis2/services/echo"><text>Hello
World!</text></ns1:echoString></soapenv:Body></soapenv:Envelope> 


client command
--------------
ab -T "application/soap+xml; charset=UTF-8" -p echo.xml -n 100000 -c 4 http://localhost:9090/axis2/services/echo



client response
---------------
Completed 90000 requests
Finished 100000 requests


Server Software:        Apache/2.2.6
Server Hostname:        localhost
Server Port:            9090

Document Path:          /axis2/services/echo
Document Length:        672 bytes

Concurrency Level:      4
Time taken for tests:   276.629621 seconds
Complete requests:      100000
Failed requests:        0
Write errors:           0
Total transferred:      83302499 bytes
Total POSTed:           69302079
HTML transferred:       67202016 bytes
Requests per second:    361.49 [/sec] (mean)
Time per request:       11.065 [s] (mean)
Time per request:       2.766 [s] (mean, across all concurrent requests)
Transfer rate:          294.08 [bytes/sec] received
                        244.65 kb/s sent
                        538.73 kb/s total

Connection Times (ms)
              min  mean[/-sd] median   max
Connect:        0    0   1.3      0     243
Processing:     0   10 110.7      1    5995
Waiting:        0    8 101.0      1    4267
Total:          0   10 110.7      2    5995

Percentage of the requests served within a certain time (ms)
  50%      2
  66%      2
  75%      2
  80%      2
  90%      3
  95%      3
  98%      8
  99%    218
 100%   5995 (longest request)




process list
---------------

USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+   UID   PID COMMAND
daemon    16   0  299m  69m 1772 D  0.0  6.9   0:06.14    1 29959 ./httpd -k start
daemon    16   0  237m  61m 1772 D  0.0  6.0   0:04.89    1 29957 ./httpd -k start
daemon    15   0  119m  47m 2260 S  0.0  4.7   0:02.39    1 30151 ./httpd -k start
daemon    15   0 91468  46m 2260 S  0.0  4.6   0:01.67    1 30215 ./httpd -k start
daemon    16   0  296m  46m 1772 S  0.0  4.6   0:06.18    1 29958 ./httpd -k start
daemon    15   0 89352  46m 2260 S  0.0  4.6   0:01.80    1 30205 ./httpd -k start
daemon    15   0  301m  45m 1612 S  0.0  4.5   0:06.17    1 29956 ./httpd -k start
daemon    15   0  133m  45m 2260 S  0.0  4.5   0:02.74    1 30110 ./httpd -k start
daemon    15   0 74116  44m 2260 S  0.0  4.4   0:01.46    1 30244 ./httpd -k start
daemon    15   0  128m  44m 2260 S  0.0  4.4   0:02.56    1 30120 ./httpd -k start
daemon    16   0  247m  40m 1764 D  0.0  4.0   0:05.45    1 30012 ./httpd -k start
daemon    15   0 45464  34m 2260 S  0.0  3.4   0:00.82    1 30364 ./httpd -k start
daemon    16   0  180m  32m 1764 D  0.0  3.2   0:03.99    1 30013 ./httpd -k start
daemon    16   0  160m  30m 1764 D  0.0  3.0   0:03.61    1 30014 ./httpd -k start
daemon    16   0  184m  28m 1652 D  0.0  2.9   0:04.04    1 30019 ./httpd -k start
dinesh    15   0 31024  15m 4972 S  0.0  1.5   0:19.63 1000  4763 emacs -f gnus
root      15   0 99.8m 6600 2044 S  0.0  0.6   0:18.99    0  4333 /usr/bin/X11/X -dpi 100
-nolisten tcp
d




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


Mime
View raw message