On 2002-04-02 09:03:48 +0200, Balazs Scheidler wrote:
On Mon, Apr 01, 2002 at 06:36:01PM +0200, Peter J. Holzer wrote:
If syslog-ng blocks trying to write on any queue it will block as a whole (using TCP for high-priority queues and UDP for low-priority queues might mitigate this).
syslog-ng will not block on TCP destinations. it fetches messages and sends them on to the buffers of different destinations, and flushes those buffers when appropriate (e.g. the socket becomes writable)
Nice. What happens if the sockets stays unwritable for a long time? Does the buffer grow indefinitely or are messages thrown away when it becomes full resp. reaches a maximum size? hp -- _ | Peter J. Holzer | |_|_) | Sysadmin WSR | In case of emergency break laws of physics. | | | hjp@hjp.at | __/ | http://www.hjp.at/ | -- Stephen Baxter