hi,list

i have a program writes logs to a named_pipe, while rsyslog reads the pipe and 
forward it to remote server.


as we known, named_piped has a limted size around 64KBytes, 


when the program write the logs too excessively, the pipe will be fulled even i 
configure rsyslog to poll every second(PollInterval 1).


so i come up with following  three solutions:


1) increase the named_pipe size ( only availabe to newer linux kernel and have 
to modify the program to tune the pipe size before writing log to it)


2) configure the program to split the logs, writing to multiple named_pipes, 
then rsyslog reads multiple named_pipes...(is that reasonable?)


3) set rsyslog PollInterval to 0 (performance hit ?!)


now i just try the third solution(it seems works) , any body have suggestion ?



_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to