On 2017-11-06 17:45, Maksym Ruchko wrote:
>> I think your patch was only masking the real issues.
> Just to explain what was my rationale - I was seeing that the old logread
> code was blocked when syslog message was occasionally crossing the 4K
> boundary,
> then in the logread.c function logre
> I think your patch was only masking the real issues.
Just to explain what was my rationale - I was seeing that the old logread code
was blocked when syslog message was occasionally crossing the 4K boundary,
then in the logread.c function logread_fd_data_cb condition if (len < cur_len)
was alw
On 2017-10-19 17:57, Maksym Ruchko wrote:
> The read optimization with buffer ustream in the logread caused the
> logger to hung randomly, more often under high load and when logged
> messages are large.
>
> To reproduce 100% compile and run:
> #include
> #include
> #include
>
> #define BUF_SI