logd: Limit ustream write buffer with configurable value

2021-07-27 Thread Gokulnathan Matta Raja
If the "logread" process is blocked in write call or stopped by pressing "CTRL+Z", the logd starts to buffer all the messages in the write buffer. Since currently there is no limit in ustream w.max_buffers, the logd consumes all the system memory and at a point of time which triggers Out Of Memory.

Re: logd: Limit ustream write buffer with configurable value

2021-07-24 Thread Hauke Mehrtens
On 7/20/21 11:51 AM, Gocool.. wrote: If the "logread" process is blocked in write call or stopped by pressing "CTRL+Z", the logd starts to buffer all the messages in the write buffer. Since there is no limit in w.max_buffers, the logd consumes all the system memory at a point of time which trigge

logd: Limit ustream write buffer with configurable value

2021-07-20 Thread Gocool..
If the "logread" process is blocked in write call or stopped by pressing "CTRL+Z", the logd starts to buffer all the messages in the write buffer. Since there is no limit in w.max_buffers, the logd consumes all the system memory at a point of time which triggers Out Of Memory. The ustream write max