Hi Sanjeewa,

On Thu, Jul 21, 2016 at 10:49 AM, Sanjeewa Malalgoda <[email protected]>
wrote:

> +1 for the idea.
> @Isuru, Is this count for single client calling services through transport
> or total number of connections made at given time?
>
Total number of connections made at a particular time.

>
> Thanks,
> sanjeewa.
>
> On Wed, Jul 20, 2016 at 9:26 PM, Ruwan Abeykoon <[email protected]> wrote:
>
>> 4096 (open files) will be taken by jars, class files, logs, other
>> connections etc apart from PT transport. So I would go below that limit on "
>> *max_open_connections" *in transport.
>>
>> Cheers,
>> Ruwan
>>
>> On Wed, Jul 20, 2016 at 11:02 AM, Chanaka Fernando <[email protected]>
>> wrote:
>>
>>> How about 4096. Even though most linux boxes are having 1024 as the
>>> default soft limit, we have recommended to increase that to 4096 in most
>>> cases and I have seen several scenarios customers are hitting limits when
>>> they have 1024.
>>>
>>> I feel 4096 is an acceptable value.
>>>
>>> On Wed, Jul 20, 2016 at 7:39 PM, Ruwan Abeykoon <[email protected]> wrote:
>>>
>>>> I would suggest 1024 being conservative.
>>>> Reason, most linux boxes by default has open file limit (soft) 1024.
>>>>
>>>> Cheers,
>>>> Ruwan
>>>>
>>>> On Wed, Jul 20, 2016 at 5:48 AM, Nuwan Dias <[email protected]> wrote:
>>>>
>>>>> +1. Do we have an idea of a sensible default?
>>>>>
>>>>> On Wed, Jul 20, 2016 at 3:11 PM, Isuru Udana <[email protected]> wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> In the Passthrough HTTP transport[1] there is a configuration
>>>>>> parameter called *'max_open_connections'* to control the maximum
>>>>>> number of connections getting established with the client.
>>>>>>
>>>>>> Currently we are shipping the product without specifying a default
>>>>>> value for that, that means we are allowing any number of connections.
>>>>>> Allowing limitless connection establishment with the client may lead
>>>>>> to a catastrophic incident if it gets a sudden burst of requests.
>>>>>>
>>>>>> So shall we ship the product with a sensible default value ?
>>>>>> We need to decide on a suitable default value and we need to document
>>>>>> the importance of configuring a proper value for this.
>>>>>>
>>>>>> [1] https://docs.wso2.com/display/ESB490/HTTP+PassThrough+Transport
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> --
>>>>>> *Isuru Udana*
>>>>>> Technical Lead
>>>>>> WSO2 Inc.; http://wso2.com
>>>>>> email: [email protected] cell: +94 77 3791887
>>>>>> blog: http://mytecheye.blogspot.com/
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Nuwan Dias
>>>>>
>>>>> Software Architect - WSO2, Inc. http://wso2.com
>>>>> email : [email protected]
>>>>> Phone : +94 777 775 729
>>>>>
>>>>> _______________________________________________
>>>>> Architecture mailing list
>>>>> [email protected]
>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Ruwan Abeykoon*
>>>> *Associate Director/Architect**,*
>>>> *WSO2, Inc. http://wso2.com <https://wso2.com/signature> *
>>>> *lean.enterprise.middleware.*
>>>>
>>>>
>>>> _______________________________________________
>>>> Architecture mailing list
>>>> [email protected]
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>
>>>>
>>>
>>>
>>> --
>>> Thank you and Best Regards,
>>> Chanaka Fernando
>>> Senior Technical Lead
>>> m: +94 773337238
>>> https://wso2.com <https://wso2.com/signature>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Architecture mailing list
>>> [email protected]
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>>
>>
>> --
>>
>> *Ruwan Abeykoon*
>> *Associate Director/Architect**,*
>> *WSO2, Inc. http://wso2.com <https://wso2.com/signature> *
>> *lean.enterprise.middleware.*
>>
>>
>> _______________________________________________
>> Architecture mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
>
> *Sanjeewa Malalgoda*
> WSO2 Inc.
> Mobile : +94713068779
>
> <http://sanjeewamalalgoda.blogspot.com/>blog
> :http://sanjeewamalalgoda.blogspot.com/
> <http://sanjeewamalalgoda.blogspot.com/>
>
>
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
*Isuru Udana*
Technical Lead
WSO2 Inc.; http://wso2.com
email: [email protected] cell: +94 77 3791887
blog: http://mytecheye.blogspot.com/
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to