This just seems like a hack.. Is there no way to make HttpClient clean up its 
connections.

D/

On Dec 6, 2010, at 11:38 AM, Ryan Smith wrote:

> You might want to try setting that higher, somewhere in the 10000 range
> possibly.
> 
> hth.
> 
> On Mon, Dec 6, 2010 at 12:33 PM, Douglas Ferguson <
> [email protected]> wrote:
> 
>> 1024
>> 
>> On Dec 6, 2010, at 11:31 AM, Ryan Smith wrote:
>> 
>>> Are you able to increase the number of open files allowed on the system?
>>> What does ulimit -n show?
>>> 
>>> On Mon, Dec 6, 2010 at 12:10 PM, Douglas Ferguson <
>>> [email protected]> wrote:
>>> 
>>>> Our app has been getting too many open files exceptions and after
>> looking
>>>> into this it seems that httpclient is the culprit.
>>>> 
>>>> Sockets are being left in the CLOSE_WAIT state.
>>>> 
>>>> What is the best work around for this? I've seen some things online
>> about
>>>> closing idle connections? What impact would this have on performance?
>>>> 
>>>> I've looked into upgrading to 4.x but that seems like it could be
>> wrought
>>>> with unexpected bugs. i.e. the api is so drastically different that we
>> could
>>>> introduce regressions..
>>>> Is there a guide anywhere that details migration from using of GetMethod
>> =>
>>>> HttpClient 4.x?
>>>> 
>>>> Douglas
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [email protected]
>>>> For additional commands, e-mail: [email protected]
>>>> 
>>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> 
>> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to