You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@tuscany.apache.org by Apostolos Papageorgiou <ap...@kom.tu-darmstadt.de> on 2009/12/10 11:01:39 UTC

Limit of connections

Hello!

I am performing load tests with soapUI on web services that are provided by Tuscany components.

I am testing with different applications on different platforms and there is only one case where my service does not accept more than 10 connections.
I have often been using much more than 10 soapUI threads (virtual clients) and they can always connect, all of them.
Only with this particular service/application, 10 threads make it and all the rest are rejected and they terminate later with a SocketTimeoutException.
I have not configured such a setting ("up to 10 connections allowed") and I don't have a clue why this happens with this service.

Can anybody think of something?

Thanks in advance,
Apostolos

Re: Limit of connections

Posted by ant elder <an...@gmail.com>.
That sounds like https://issues.apache.org/jira/browse/TUSCANY-3076 as
tuscany-host-tomcat is using the Tuscany default thread pool. That was
fixed in the 1.5.1 release.

   ...ant

On Thu, Dec 10, 2009 at 10:40 AM, Apostolos Papageorgiou
<ap...@kom.tu-darmstadt.de> wrote:
>
> 1.4 standalone with tomcat.
> This is where the "problem" is.
> Hmmm...the "functioning" ones are using jetty. Most or maybe even all of them...
>
>
> -----Ursprüngliche Nachricht-----
> Von: ant elder [mailto:ant.elder@gmail.com]
> Gesendet: Donnerstag, 10. Dezember 2009 11:31
> An: user@tuscany.apache.org
> Betreff: Re: Limit of connections
>
> On Thu, Dec 10, 2009 at 10:01 AM, Apostolos Papageorgiou
> <ap...@kom.tu-darmstadt.de> wrote:
>> Hello!
>>
>>
>>
>> I am performing load tests with soapUI on web services that are provided by
>> Tuscany components.
>>
>>
>>
>> I am testing with different applications on different platforms and there is
>> only one case where my service does not accept more than 10 connections.
>>
>> I have often been using much more than 10 soapUI threads (virtual clients)
>> and they can always connect, all of them.
>>
>> Only with this particular service/application, 10 threads make it and all
>> the rest are rejected and they terminate later with a
>> SocketTimeoutException.
>>
>> I have not configured such a setting ("up to 10 connections allowed") and I
>> don't have a clue why this happens with this service.
>>
>>
>>
>> Can anybody think of something?
>>
>>
>>
>> Thanks in advance,
>>
>> Apostolos
>
> Before digging in the code could you say which version of Tuscany that
> is and if you're using the webapp runtime or standalone one, and if
> its the standalone one if its using Jetty or Tomcat (ie you've got
> tuscany-host-jetty or tuscany-host-tomcat jars on the classpath)?
>
>   ...ant
>
>

AW: Limit of connections

Posted by Apostolos Papageorgiou <ap...@kom.tu-darmstadt.de>.
1.4 standalone with tomcat.
This is where the "problem" is.
Hmmm...the "functioning" ones are using jetty. Most or maybe even all of them...


-----Ursprüngliche Nachricht-----
Von: ant elder [mailto:ant.elder@gmail.com] 
Gesendet: Donnerstag, 10. Dezember 2009 11:31
An: user@tuscany.apache.org
Betreff: Re: Limit of connections

On Thu, Dec 10, 2009 at 10:01 AM, Apostolos Papageorgiou
<ap...@kom.tu-darmstadt.de> wrote:
> Hello!
>
>
>
> I am performing load tests with soapUI on web services that are provided by
> Tuscany components.
>
>
>
> I am testing with different applications on different platforms and there is
> only one case where my service does not accept more than 10 connections.
>
> I have often been using much more than 10 soapUI threads (virtual clients)
> and they can always connect, all of them.
>
> Only with this particular service/application, 10 threads make it and all
> the rest are rejected and they terminate later with a
> SocketTimeoutException.
>
> I have not configured such a setting ("up to 10 connections allowed") and I
> don't have a clue why this happens with this service.
>
>
>
> Can anybody think of something?
>
>
>
> Thanks in advance,
>
> Apostolos

Before digging in the code could you say which version of Tuscany that
is and if you're using the webapp runtime or standalone one, and if
its the standalone one if its using Jetty or Tomcat (ie you've got
tuscany-host-jetty or tuscany-host-tomcat jars on the classpath)?

   ...ant


Re: Limit of connections

Posted by ant elder <an...@gmail.com>.
On Thu, Dec 10, 2009 at 10:01 AM, Apostolos Papageorgiou
<ap...@kom.tu-darmstadt.de> wrote:
> Hello!
>
>
>
> I am performing load tests with soapUI on web services that are provided by
> Tuscany components.
>
>
>
> I am testing with different applications on different platforms and there is
> only one case where my service does not accept more than 10 connections.
>
> I have often been using much more than 10 soapUI threads (virtual clients)
> and they can always connect, all of them.
>
> Only with this particular service/application, 10 threads make it and all
> the rest are rejected and they terminate later with a
> SocketTimeoutException.
>
> I have not configured such a setting (“up to 10 connections allowed”) and I
> don’t have a clue why this happens with this service.
>
>
>
> Can anybody think of something?
>
>
>
> Thanks in advance,
>
> Apostolos

Before digging in the code could you say which version of Tuscany that
is and if you're using the webapp runtime or standalone one, and if
its the standalone one if its using Jetty or Tomcat (ie you've got
tuscany-host-jetty or tuscany-host-tomcat jars on the classpath)?

   ...ant