spoa-mirror
spoa-mirror copied to clipboard
memory alocate
Hi,
can't get anything sent to mirror endpoint It looks there are some memory allocation errors during processing the header, seem to ask for a huge amount of buffer memory
[ 2][ 45.100747] mirror[3] name='arg_hdrs' type=9: <04686f73741764656d6f2d696e742e626c75656d61747269782e636f6d0a757365722d6167656e746d416d617a6f6e2d526f75746535332d4865616c74682d436865636b2d536572766963652028726566203637653239303966 2d636161662d343835652d613736322d6235336132376234653039623b207265706f727420687474703a2f2f616d7a6e2e746f2f3176735a4144692906616363657074032a2f2a0f6163636570742d656e636f64696e67156964656e746974792c677a69702c6465666c6174650000> <.host.test.test.com.user-agentmAmazon-Route53-Health-Check-Service (ref 67e2909f-caaf-485e-a762-b53a27b4e09b; report http://amzn.to/1vsZADi).accept.*/*.accept-encoding.identity,gzip,deflate..> [ 2][ 45.100753] spoa_msg_arg_hdrs(0x7fbbe6bf0010, 0x7fbbe6bf0127, 0x7fbbe6bf01ef, 0x7fbc2400f558) { [ 2][ 45.100758] spoe_vdecode(0x7fbbe6bf0010, 0x7fbc31b28b20:0x7fbbe6bf0127, 0x7fbbe6bf01ef, 4, 0x7fbc31b28a20) { [ 2][ 45.100762] } = 5 [ 2][ 45.100766] str[0]: <host> [ 2][ 45.100770] buffer_alloc(178286848, 0x7fbbe6bf0128, ...) { [ 2][ 45.100805] buffer_grow(0x7fbc2400f590, 0x7fbbe6bf0128, 4) { [ 2][ 45.100821] } = 4 [ 2][ 45.100825] } = 0x7fbc2400f590 [ 2][ 45.100830] spoe_vdecode(0x7fbbe6bf0010, 0x7fbc31b28b20:0x7fbbe6bf012c, 0x7fbbe6bf01ef, 4, 0x7fbc31b28a20) { [ 2][ 45.100834] } = 24 [ 2][ 45.100893] str[1]: <test.test.com> [ 2][ 45.100893] buffer_grow_va(0x7fbc2400f590, 0x41c66d, 2, ...) { [ 2][ 45.100893] buffer_grow(0x7fbc2400f590, 0x41c66d, 2) { [ 2][ 45.100905] } = 6 [ 2][ 45.100905] buffer_grow(0x7fbc2400f590, 0x7fbbe6bf012d, 23) { [ 2][ 45.100917] } = 29 [ 2][ 45.100917] buffer_grow(0x7fbc2400f590, 0x41c66b, 140445430579201) { [ 2][ 45.100940] (E) Failed to allocate data: Cannot allocate memory
haproxy version 2.6LTS
OS: centos7
Let me know if you need additional info
I met this issue on CentOS7, but after switch to Ubuntu, it is disaappered.
Hello @wwyhy, thanks for the info.
As for the user @roland-github , some kind of strange bug because the amount of memory that wants to be allocated is too large.. I will look into it in due time.