[erlang-questions] lager dropping invisible messages

71 views
Skip to first unread message

Ivan Uemlianin

unread,
May 16, 2013, 10:29:45 AM5/16/13
to Erlang Questions
Dear All

I'm using lager for logging and I've recently switched to lager 2.*.

I occasionally get this warning message:

[warning] lager_error_logger_h dropped N messages in the last second
that exceeded the limit of 50 messages/sec

where N ranges between 35-78.

However, nowhere in my logs can I find a bunch of 50 messages written
within a second, or anything that might be linked to this warning.

I haven't been able to find an erlang lager mailing list.

Does anyone know if this lager warning might be warning me about
anything important, if so what, if not how do I switch it off?

With thanks and best wishes

Ivan


--
============================================================
Ivan A. Uemlianin PhD
Llaisdy
Speech Technology Research and Development

iv...@llaisdy.com
www.llaisdy.com
llaisdy.wordpress.com
github.com/llaisdy
www.linkedin.com/in/ivanuemlianin

festina lente
============================================================
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Andrew Thompson

unread,
May 16, 2013, 5:46:29 PM5/16/13
to erlang-q...@erlang.org
On Thu, May 16, 2013 at 03:29:45PM +0100, Ivan Uemlianin wrote:
> Dear All
>
> I'm using lager for logging and I've recently switched to lager 2.*.
>
> I occasionally get this warning message:
>
> [warning] lager_error_logger_h dropped N messages in the last
> second that exceeded the limit of 50 messages/sec
>
> where N ranges between 35-78.
>
> However, nowhere in my logs can I find a bunch of 50 messages
> written within a second, or anything that might be linked to this
> warning.
>
> I haven't been able to find an erlang lager mailing list.
>
> Does anyone know if this lager warning might be warning me about
> anything important, if so what, if not how do I switch it off?

https://github.com/basho/lager#overload-protection
https://github.com/basho/lager/pull/116

Lager does not (yet) have a mailing list, but I ususally notive lager
related messages here or on riak-users.

Andrew

Ivan Uemlianin

unread,
May 17, 2013, 4:39:58 AM5/17/13
to erlang-q...@erlang.org
Dear Andrew

Thanks, I am familiar with those two web pages.

The mystery is not "what is it supposed to do?". The mystery is "where
are the 50 messages it thinks it's written within the last second?".
Often, as far as I can tell it hasn't written any.

Ivan
--
============================================================
Ivan A. Uemlianin PhD
Llaisdy
Speech Technology Research and Development

iv...@llaisdy.com
www.llaisdy.com
llaisdy.wordpress.com
github.com/llaisdy
www.linkedin.com/in/ivanuemlianin

festina lente
============================================================

Andrew Thompson

unread,
May 17, 2013, 8:24:32 AM5/17/13
to erlang-q...@erlang.org
On Fri, May 17, 2013 at 09:39:58AM +0100, Ivan Uemlianin wrote:
> Dear Andrew
>
> Thanks, I am familiar with those two web pages.
>
> The mystery is not "what is it supposed to do?". The mystery is
> "where are the 50 messages it thinks it's written within the last
> second?". Often, as far as I can tell it hasn't written any.

Sorry, was a little jetlagged when I replied.

Perhaps there is a bug? Can you provide a reproducible test case in a
github issue so I can look into it next week when I'm back from
travelling?

Ivan Uemlianin

unread,
May 17, 2013, 8:33:47 AM5/17/13
to erlang-q...@erlang.org
Dear Andrew

It's very occasional. I'll try and observe when it happens and I'll
certainly provide a test case if I can.

Best wishes

Ivan
--
============================================================
Ivan A. Uemlianin PhD
Llaisdy
Speech Technology Research and Development

iv...@llaisdy.com
www.llaisdy.com
llaisdy.wordpress.com
github.com/llaisdy
www.linkedin.com/in/ivanuemlianin

festina lente
============================================================

Tino Breddin

unread,
May 17, 2013, 12:50:42 PM5/17/13
to Ivan Uemlianin, Erlang Questions Mailing List
Hi,

I was seeing similar messages with lager 2.x under very low load as well. Will try to capture such a case as well.

Cheers
Tino
Reply all
Reply to author
Forward
0 new messages