<div dir="ltr"><div dir="ltr"><div style="color:rgb(0,0,0);box-sizing:border-box;font-family:"Segoe UI",system-ui,"Apple Color Emoji","Segoe UI Emoji",sans-serif;font-size:14px;font-variant-ligatures:normal"><div>Hi, </div><div><br></div><div>We have syslog-ng forwarding logs to a remote system, with reliability enabled and disk buffer size set to 50GB in the configuration. However, the actual size of the partition is 30GB. We had overlooked the partition size that resulted in this error.</div><div>When there is connection loss to remote device and partition gets filled to 100% due to syslog-ng disk buffer.</div><div>syslog-ng continues to run, but even after we free some space in partition and destination is available, it doesn't push out logs to the destination.</div><div>We have to restart syslog-ng service. After restarting, we observe that all buffer files are freed up immediately. These files were consuming about 20-30GB.</div><div><br></div><div>Syslog-ng version using :3.24<br></div><div><div><div> </div><div><div>Below is disk buffer configuration:</div><div><div> </div><div>mem-buf-size(10000) <br>disk-buf-size(53687091200)<br>reliable(yes)<br>dir(/syslog/buffer)</div></div></div></div></div><div><br></div><div>Questions:</div><div>1. Does syslog-ng allocate buffers on disk as much as required and in small chunks? Or will it try to allocate all of the specified buffer at one (in this case 50GB)?</div><div>2. Why couldn't syslog-ng resume operations after partition was freed up and destination was available?</div><div>3. Why did all buffer files get deleted, after a restart</div><div><br></div><div>Thanks</div><div>Raghu</div></div></div></div>