2007/3/4, roland Tollenaar <[EMAIL PROTECTED]>:
Now I can make the buffer larger but that will take longer to read out and I don;t mind losing the messages. So how do i tell syslogd that it is acceptable that the buffer is overflowing to make it less busy? How could I make syslogd more quiet in general. It seems that it can be a major real-time destroyer? Hope someone can help.
Which process is calling syslog ? Your RT task? Another process/daemon running on your system? Be it with Xenomai or not, using syslog system call in realtime application is a bad idea, moreover standard syslogd daemon has really bad performance regarding high volume of message. If it is your RT task which calls syslog you should find a way to send message in another way. May be adding a message queue and a non-RT task, the RT task sends messages through message queue and the non-RT task finally call syslog. Your RT task may be prepared to receive -ENOMEM if the queue if full. You may want to try alternatives syslog daemon implementation like syslog-ng (http://www.balabit.com/products/syslog_ng/) which exhibits far better performance than "standard" syslogd. -- Erk _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
