I doubt that this is a graylog issue because it tries to have Netty set the
correct size which fails.

I don't know centos well enough to tell if there's anything special (I
doubt it) but there's also tcp_rmem and tcp_moderate_rcvbuf to check.
Pretty sure there are no ulimits in place since this is root, but doesn't
hurt to check.
On Jan 28, 2015 10:24 AM, "Petar Koraca" <[email protected]> wrote:

> Hello Kay,
>
> graylog2-server is running as root, on CentOS 6 minimal that does not have
> additional limits.
>
> I've noticed that this exception is shown only with TCP input..so there
> may be TCP limitation. I haven't tweaked TCP since we use TCP only for
> Keepalived HTTP checks, and UDP for logs (GELF input).
>
> Both TCP and UDP socket are on same port (12001). Could this cause issue
> with receiveBufferSize on graylog2-server?
>
> Thanks
>
>
> On Tuesday, January 27, 2015 at 6:31:50 PM UTC+1, Kay Röpke wrote:
>>
>> Could this be an additional user account level?
>> As long as Netty tries to set the correct value and then complains this
>> sounds like a system limit.
>>  On Jan 27, 2015 6:27 PM, "Petar Koraca" <[email protected]> wrote:
>>
>>> Hello,
>>>
>>> I have some performance issues with graylog2-server 0.92.4 (cannot
>>> process more than 7-8k per second), and I think it may be related to UDP
>>> buffers. This is CentOS 6 virtual machine with 16 vCPU.
>>>
>>> $ netstat -ulptn|grep 12201
>>> tcp        0      0 :::12201                    :::*
>>>    LISTEN      2311/java
>>> udp    75960      0 :::12201                    :::*
>>>                2311/java
>>>
>>> I've noticed this in my logs:
>>>
>>> 16:31:06,719 WARN [NettyTransport] receiveBufferSize (SO_RCVBUF) for
>>> [id: 0x537c78d9, /0:0:0:0:0:0:0:0:12201] should be 1048576 but is 43690.
>>>
>>> I've set udp_recvbuffer_sizes=1048576 but no luck.
>>>
>>> Also, I've set net.core.rmem_max from 124928 to 26214400.
>>>
>>> Any idea where did this 43690 come from?
>>>
>>> if you need additional information I am at your disposal.
>>>
>>> Kind regards,
>>>
>>> Petar Koraca
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "graylog2" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "graylog2" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to