Re: [Dev] passthrough worker thread keep-alive

2018-04-04 Thread 김대경
Hi,

Thanks for reply.

I know 60 is recommendation.
But, I want to know why that value setting is not working and which class
is closing the connection that keepalive time elapsed.

And why don't close the conmection that keepalive time elapsed.

Thanks.


2018년 4월 4일 (수) 오후 3:55, Dinusha Dissanayake 님이 작성:

> Hi,
>
> I believe you are doing a tuning in the gateway.
> However the default recommendation of the worker_thread_keepalive_sec is
> 60 sec. Anyhow, this value should be less than the socket timeout value.
>
> You can find more info by following the documentation[1].
>
> [1] https://docs.wso2.com/display/AM210/Tuning+Performance
>
> Thanks,
> DinushaD
>
>
> On Wed, Apr 4, 2018 at 12:13 PM, 김대경  wrote:
>
>> Hi,
>>
>> I'm using wso2am-2.1.0
>>
>> I changed worker_thread_keepalive_sec to 30.
>> But PassThroughMessageProcessor keep connection over that time.
>>
>> I think that connection is close only if target endpoint close connection.
>>
>> How can I set the keep-alive timeout?
>>
>> Thanks.
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Dinusha Dissanayake
> Software Engineer
> WSO2 Inc
> Mobile: +94712939439
> 
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] passthrough worker thread keep-alive

2018-04-03 Thread Dinusha Dissanayake
Hi,

I believe you are doing a tuning in the gateway.
However the default recommendation of the worker_thread_keepalive_sec is 60
sec. Anyhow, this value should be less than the socket timeout value.

You can find more info by following the documentation[1].

[1] https://docs.wso2.com/display/AM210/Tuning+Performance

Thanks,
DinushaD


On Wed, Apr 4, 2018 at 12:13 PM, 김대경  wrote:

> Hi,
>
> I'm using wso2am-2.1.0
>
> I changed worker_thread_keepalive_sec to 30.
> But PassThroughMessageProcessor keep connection over that time.
>
> I think that connection is close only if target endpoint close connection.
>
> How can I set the keep-alive timeout?
>
> Thanks.
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Dinusha Dissanayake
Software Engineer
WSO2 Inc
Mobile: +94712939439

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] passthrough worker thread keep-alive

2018-04-03 Thread 김대경
Hi,

I'm using wso2am-2.1.0

I changed worker_thread_keepalive_sec to 30.
But PassThroughMessageProcessor keep connection over that time.

I think that connection is close only if target endpoint close connection.

How can I set the keep-alive timeout?

Thanks.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev