[erlang-questions] httpc manager crashes

Suma Shivaprasad sumasai.shivaprasad@REDACTED
Thu Apr 28 20:13:30 CEST 2011


Hi,

We are using inets - 5.5.1 and HTTP/1.1.  We are creating a new httpc
profile for every request that we make and around 300 concurrent requests
were running at the same time . Is this fine?  How many maximum profiles has
httpc been tested with for concurrent use?

Thanks
Suma

On Thu, Apr 28, 2011 at 2:53 PM, Ingela Andin <ingela.andin@REDACTED>wrote:

> Hi!
>
> What version of inets and Erlang are you using?  What HTTP version HTTP-1.0
> ?
> If there is a bug we will of course fix it.
>
> Regards Ingela Erlang/OTP - Ericsson AB
>
>
> 2011/4/27 Suma Shivaprasad <sumasai.shivaprasad@REDACTED>:
> > We have an app that makes a lot of calls to httpc and we are seeing the
> > following error in sasl logs quite often.
> >
> > CRASH REPORT==== 27-Apr-2011::05:21:24 ===
> >   crasher:
> >     initial call: httpc_manager:init/1
> >     pid: <0.10297.0>
> >     registered_name: httpc_manager_profile_8261
> >     exception exit: {{case_clause,
> >                          [{handler_info,#Ref<0.0.398.166371>,undefined,
> >                               <0.12971.248>,undefined,operational}]},
> >                      [{httpc_manager,handle_connect_and_send,5},
> >                       {httpc_manager,handle_info,2},
> >                       {gen_server,handle_msg,5},
> >                       {proc_lib,init_p_do_apply,3}]}
> >       in function  gen_server:terminate/6
> >     ancestors: [httpc_profile_sup,httpc_sup,inets_sup,<0.46.0>
> >
> >
> >
> > and
> >
> >
> > =CRASH REPORT==== 27-Apr-2011::05:30:18 ===
> >   crasher:
> >     initial call: httpc_manager:init/1
> >     pid: <0.22933.12>
> >     registered_name: httpc_manager_profile_8122
> >     exception exit: {{case_clause,
> >
> [{handler_info,#Ref<0.0.418.148452>,<0.20608.257>,
> >                               undefined,<0.15267.257>,initiating}]},
> >                      [{httpc_manager,handle_connect_and_send,5},
> >                       {httpc_manager,handle_info,2},
> >                       {gen_server,handle_msg,5},
> >                       {proc_lib,init_p_do_apply,3}]}
> >       in function  gen_server:terminate/6
> >     ancestors: [httpc_profile_sup,httpc_sup,inets_sup,<0.46.0>]
> >     messages: [{'EXIT',<0.20574.257>,normal}]
> >     links: [<0.50.0>,<0.20608.257>]
> >     dictionary: []
> >
> >
> > Has anyone else seen these errors or have a fix for this?
> >
> > Thanks
> > Suma
> >
> >
> >
> > _______________________________________________
> > erlang-questions mailing list
> > erlang-questions@REDACTED
> > http://erlang.org/mailman/listinfo/erlang-questions
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110428/a6870c1e/attachment.htm>


More information about the erlang-questions mailing list