You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Samisa Abeysinghe <sa...@gmail.com> on 2006/07/13 07:43:57 UTC

Re: Axis2 mtom example

Paweł Pustelnik wrote:

> Hi,
>
> I checked Axis2 mtom example on my Windows machine. I checked it with  
> simple axis server and
> it was working fine for the default file (small jpg image). However 
> when I  replace this file
> with a bigger one (45 Mb) then axis server uses 99% of my CPU and  
> hangs...Is it normal?

This is abnormal. We have tested the thing with large files on Linux, 
but not on windows.
Could you please try with a medium size file (say 20MB) and see if the 
same happpens.

BTW, what is the version of Axis2/C you are using.

Thanks,
Samisa...

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


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


Re: Axis2 mtom example

Posted by Samisa Abeysinghe <sa...@gmail.com>.
Paweł Pustelnik wrote:

> Hi,
>
> I teted with 11Mb and 26Mb and it was fine.
>
> It exactly does not hang because server still can work (echo examle works
> during this sending 46 Mb), however this 46 mb can not be received.
> I was waiting for 3 minutes with no result...

3 minutes it too bad. There seems to be a bug for sure.
Need to dig and see.

Samisa...

>
> Pawel
>
> Dnia 13-07-2006 o 08:29:48 Samisa Abeysinghe 
> <sa...@gmail.com>  napisał:
>
>> Sahan Gamage wrote:
>>
>>> Hi,
>>>
>>> I tested this with 45Mb file in my Debian box with current svn HEAD.
>>> Resuls are as:
>>> Time : 08.22 seconds
>>> CPU usage: 95 %
>>>
>> Yes this is understandable as we have the file read loop. We need 
>> some  optimizations here.
>> But does it hang? I suppose not.
>>
>> Samisa...
>>
>>> I am suspecting the problem is with windows file read/write methods we
>>> are using.
>>>
>>> - sahan
>>>
>>> Samisa Abeysinghe wrote:
>>>
>>>
>>>> Paweł Pustelnik wrote:
>>>>
>>>>
>>>>> Hi,
>>>>>
>>>>> I checked Axis2 mtom example on my Windows machine. I checked it
>>>>> with  simple axis server and
>>>>> it was working fine for the default file (small jpg image). However
>>>>> when I  replace this file
>>>>> with a bigger one (45 Mb) then axis server uses 99% of my CPU and  
>>>>> hangs...Is it normal?
>>>>>
>>>> This is abnormal. We have tested the thing with large files on Linux,
>>>> but not on windows.
>>>> Could you please try with a medium size file (say 20MB) and see if the
>>>> same happpens.
>>>>
>>>> BTW, what is the version of Axis2/C you are using.
>>>>
>>>> Thanks,
>>>> Samisa...
>>>>
>>>>
>>>>> Pawel
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>>>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>>>>
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>>>
>>>>
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>>
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>
>>
>
>
>


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


Re: Axis2 mtom example

Posted by Paweł Pustelnik <pp...@future-processing.com>.
Hi,

I teted with 11Mb and 26Mb and it was fine.

It exactly does not hang because server still can work (echo examle works
during this sending 46 Mb), however this 46 mb can not be received.
I was waiting for 3 minutes with no result...

Pawel

Dnia 13-07-2006 o 08:29:48 Samisa Abeysinghe <sa...@gmail.com>  
napisał:

> Sahan Gamage wrote:
>
>> Hi,
>>
>> I tested this with 45Mb file in my Debian box with current svn HEAD.
>> Resuls are as:
>> Time : 08.22 seconds
>> CPU usage: 95 %
>>
> Yes this is understandable as we have the file read loop. We need some  
> optimizations here.
> But does it hang? I suppose not.
>
> Samisa...
>
>> I am suspecting the problem is with windows file read/write methods we
>> are using.
>>
>> - sahan
>>
>> Samisa Abeysinghe wrote:
>>
>>
>>> Paweł Pustelnik wrote:
>>>
>>>
>>>> Hi,
>>>>
>>>> I checked Axis2 mtom example on my Windows machine. I checked it
>>>> with  simple axis server and
>>>> it was working fine for the default file (small jpg image). However
>>>> when I  replace this file
>>>> with a bigger one (45 Mb) then axis server uses 99% of my CPU and  
>>>> hangs...Is it normal?
>>>>
>>> This is abnormal. We have tested the thing with large files on Linux,
>>> but not on windows.
>>> Could you please try with a medium size file (say 20MB) and see if the
>>> same happpens.
>>>
>>> BTW, what is the version of Axis2/C you are using.
>>>
>>> Thanks,
>>> Samisa...
>>>
>>>
>>>> Pawel
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>>>
>>>>
>>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>>
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>



-- 

Pawel Pustelnik
Control Engineer

-----------------------------------------------
  Future Processing Sp. z o.o.
  Tel: +48 604 084 653
  Tel/Fax: +48 32 2726202
  ppustelnik@future-processing.com
  www.future-processing.com
-----------------------------------------------

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


Re: Axis2 mtom example

Posted by Samisa Abeysinghe <sa...@gmail.com>.
Sahan Gamage wrote:

>Hi,
>
>I tested this with 45Mb file in my Debian box with current svn HEAD.
>Resuls are as:
>Time : 08.22 seconds
>CPU usage: 95 %
>  
>
Yes this is understandable as we have the file read loop. We need some 
optimizations here.
But does it hang? I suppose not.

Samisa...

>I am suspecting the problem is with windows file read/write methods we
>are using.
>
>- sahan
>
>Samisa Abeysinghe wrote:
>
>  
>
>>Paweł Pustelnik wrote:
>>
>>    
>>
>>>Hi,
>>>
>>>I checked Axis2 mtom example on my Windows machine. I checked it
>>>with  simple axis server and
>>>it was working fine for the default file (small jpg image). However
>>>when I  replace this file
>>>with a bigger one (45 Mb) then axis server uses 99% of my CPU and 
>>>hangs...Is it normal?
>>>      
>>>
>>This is abnormal. We have tested the thing with large files on Linux,
>>but not on windows.
>>Could you please try with a medium size file (say 20MB) and see if the
>>same happpens.
>>
>>BTW, what is the version of Axis2/C you are using.
>>
>>Thanks,
>>Samisa...
>>
>>    
>>
>>>Pawel
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>>>For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>>For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>
>>
>>    
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>
>  
>


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


Re: Axis2 mtom example

Posted by Sahan Gamage <sa...@wso2.com>.
Hi,

I tested this with 45Mb file in my Debian box with current svn HEAD.
Resuls are as:
Time : 08.22 seconds
CPU usage: 95 %

I am suspecting the problem is with windows file read/write methods we
are using.

- sahan

Samisa Abeysinghe wrote:

> Paweł Pustelnik wrote:
>
>> Hi,
>>
>> I checked Axis2 mtom example on my Windows machine. I checked it
>> with  simple axis server and
>> it was working fine for the default file (small jpg image). However
>> when I  replace this file
>> with a bigger one (45 Mb) then axis server uses 99% of my CPU and 
>> hangs...Is it normal?
>
>
> This is abnormal. We have tested the thing with large files on Linux,
> but not on windows.
> Could you please try with a medium size file (say 20MB) and see if the
> same happpens.
>
> BTW, what is the version of Axis2/C you are using.
>
> Thanks,
> Samisa...
>
>>
>> Pawel
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>


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