[erlang-questions] Problematic SSL message publication

Ingela Andin <>
Wed Sep 25 14:58:27 CEST 2013


Hi!


2013/9/25 Ryan Brown <>

> Hi Ingela,
>
> Thank you for the response. I suppose I don't really know how to see what
> messages are in the ssl queue. What I am looking at is nregs and watching
> the "msgs" column growing at a steady pace. Is there a way to look at these
> messages?
>
>
You can use the observer application to look at erlang processes.

http://www.erlang.org/erldoc?q=observe&x=0&y=0



> As for reproducing in the latest version of ssl. I was planning on
> upgrading a machine to 16 today and attempting to reproduce. This should
> get me the latest ssl version correct?
>
>
R16B02  (ssl-5.3.1) is the latest. There is a bug in ssl-5.1 (R15B02)
version (fix in ssl5.2) that perhaps could be related to your problem.

Regards Ingela Erlang/OTP Team - Ericsson AB


On Wed, Sep 25, 2013 at 2:09 AM, Ingela Andin <>wrote:

>
> Hi!
>
> 2013/9/24 Ryan Brown <>
>
>> We have a fairly high-volume (28m+ messages/day) application that works,
>> essentially, as a pub-sub for many internal and external applications. We
>> are experiencing an issue under load where and subscribers that are using
>> ssl are experiencing a significant slowness in delivery. When we restart
>> the server we begin watching the processes in our application and we can,
>> very reliably and fairly quickly, see the ssl_manager_sup process message
>> queue start increasing in size. As this happens, all messages for those
>> subscribers with ssl endpoints begin to back-up and delivery slows to a
>> near halt.
>>
>>
> What messages are there in the queue?
>
>
>  It appears that ssl is a bit of a known issue within erlang. Or, at
>> least, a tricky use-case to perfect. Are there any known issues that we can
>> address in terms of configuration, best practices in setting-up ssl
>> connections or anything else for that matter we can be doing to resolve
>> this issue or more clearly identify the root cause? We're in active
>> troubleshooting mode and doing what we can to dig deeper including
>> dissecting the code to the kernel.
>>
>> We are running Erlang 15B02 (64bit).
>>
>>
>>
> So that would be ssl-5.1?  Is it possible to reproduce the problem on the
> latest version ?
>
> Regards Ingela Erlang/OTP team - Ericsson AB
>



-- 
> -rb
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130925/e3550ae4/attachment.html>


More information about the erlang-questions mailing list