hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Smith <ryan.justin.sm...@gmail.com>
Subject Re: HttpClient 3.1 & Too Many Open Files
Date Mon, 06 Dec 2010 17:38:55 GMT
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 <
douglas@douglasferguson.us> 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 <
> > douglas@douglasferguson.us> 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: httpclient-users-unsubscribe@hc.apache.org
> >> For additional commands, e-mail: httpclient-users-help@hc.apache.org
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
> For additional commands, e-mail: httpclient-users-help@hc.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message