RE: Syslog messages get truncated at 1kb (syslog server config is ok)

2015-06-08 Thread Damiano Giorgi
Just a quick update about this thread: memory seems fine, after the deploy it seems to use only 33 mb Thank you again, Damiano Tomorrow I'll deploy the changes from staging to production and let you know, we have around 1200 queries per second and the process takes only 80 megabytes, so

RE: Syslog messages get truncated at 1kb (syslog server config is ok)

2015-06-04 Thread Damiano Giorgi
Hi Lukas, thank you for the time ! I compiled haproxy with DEFINE=-DREQURI_LEN=8192 and everything seems to be fine now, recompiling is not a problem. Tomorrow I'll deploy the changes from staging to production and let you know, we have around 1200 queries per second and the process takes only

RE: Syslog messages get truncated at 1kb (syslog server config is ok)

2015-06-04 Thread Lukas Tribus
Hi Lukas, thank you for the time ! I compiled haproxy with DEFINE=-DREQURI_LEN=8192 and everything seems to be fine now, recompiling is not a problem. Tomorrow I'll deploy the changes from staging to production and let you know, we have around 1200 queries per second and the process takes

RE: Syslog messages get truncated at 1kb (syslog server config is ok)

2015-06-04 Thread Damiano Giorgi
giugno 2015 14:28 To: haproxy@formilux.org Subject: RE: Syslog messages get truncated at 1kb (syslog server config is ok) Hi Lukas (sorry for my quoting , I still have to manage to have this software to behave correctly Hi Lukas, my mtu is set to 1500 and the message looks truncated. I am able

RE: Syslog messages get truncated at 1kb (syslog server config is ok)

2015-06-04 Thread Damiano Giorgi
Subject: RE: Syslog messages get truncated at 1kb (syslog server config is ok) Also tried with log localhost len 8192 local0 The message gets truncated also on the loopback (only one packet is sent). I'll try with unix domain sockets and let you know Damiano -Original Message

RE: Syslog messages get truncated at 1kb (syslog server config is ok)

2015-06-04 Thread Lukas Tribus
Hi Damiano, Dear all, an update: logging using sockets doesn't change anything. After some grepping the code and tinkering I found that changing REQURI_LEN in include/common/defaults.h does the job Thanks for your analysis. the strange thing is that there's also #define MAX_SYSLOG_LEN

RE: Syslog messages get truncated at 1kb (syslog server config is ok)

2015-06-03 Thread Lukas Tribus
Hi Lukas, my mtu is set to 1500 and the message looks truncated. I am able to ping the server using that mtu root@lbha01:~# ping -s 1500 syslog -s 1472 -M do is what you would use for this test. Instead, you are sending ICMP requests at 1528 Bytes MTU without DF bit, so it will get

RE: Syslog messages get truncated at 1kb (syslog server config is ok)

2015-06-03 Thread Lukas Tribus
Hi Damiano, Even if I set 8192 as length the message gets truncated after 1024 chars, we use syslog-ng and configured it to accept a ridiculously huge length (log_msg_size(262144) defined in /etc/syslog-ng.conf), I also tried using the logger utility to check if the message gets delivered

RE: Syslog messages get truncated at 1kb (syslog server config is ok)

2015-06-03 Thread Damiano Giorgi
220aOO. Regards, Damiano -Original Message- From: Lukas Tribus [mailto:luky...@hotmail.com] Sent: mercoledì 3 giugno 2015 11:11 To: Damiano Giorgi; haproxy@formilux.org Subject: RE: Syslog messages get truncated at 1kb (syslog server config

RE: Syslog messages get truncated at 1kb (syslog server config is ok)

2015-06-03 Thread Damiano Giorgi
Hi Lukas (sorry for my quoting , I still have to manage to have this software to behave correctly Hi Lukas, my mtu is set to 1500 and the message looks truncated. I am able to ping the server using that mtu root@lbha01:~# ping -s 1500 syslog -s 1472 -M do is what you would use for this