On Thu, 29 Jan 2009, [email protected] wrote:

> On Thu, 29 Jan 2009, Rainer Gerhards wrote:
>
>>>
>>> congradulations on tracking down a nasty and subtle issue.
>>
>> Thanks - but let's first see if this was the only issue and if things
>> run smooth everywhere. But it looks very promising.
>>
>
> bad news, on my system the HUP doesn't always reopen the files now.
>
> high speed box receiving messages via UDP, idle except for a gzip
> compressing the files (which are rotated once a min), the system runs fine
> for a few min (higher performance than before, it's now writing ~93,000
> messages/sec instead of ~78,000 messages/sec), but it sometimes mangles
> handling a HUP and gets stuck. I have to do a kill -9 to kill and restart
> it.
>
> this is with the new HUP behavior.

interesting note on memory useage.

I'm using the default fixed array queue type on this box with a 1K max 
message length. if I hammer the box with a steady ~120K messages/sec 
(while it can write 93K/sec) the queue builds up to where it takes ~12G of 
ram. at this point the throughput takes a nose dive (not just dropping 
inbound packets, but also the number of packets written is much less)

if I kill the sender, it starts emptying it's queue (interestingly, not 
quite as fast as if it is also recieving some messages), but the memory 
isn't freed up until I start sending it messages again.

David Lang
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to