On Mon, Dec 10, 2001 at 01:02:57PM -0600, Vlad Marchenko wrote: > Need advise on my problem. I have mail application that sends a lot of lines > to MAIL log: 100+ lines per second. Since we have stats based on analyzing > maillog, it's important for us to have ALL lines. I noticed that under that > load, syslog lose at least 30-40% of all lines. Digging the situation I > found that it happens because DGRAM kind of socket used for delivering > messages to syslogd by syslog(3). > OK, I've installed /usr/ports/system/syslog-ng that supports STREAM unix > sockets, and patched /usr/src/lib/libc/gen/syslog.c to have SOCK_STREAM > type of socket when opening socket in function connectlog():
Without actually looking at the validity of the code, does the mailing application generating this noise actually use the syslog(3) in libc? -- Crist J. Clark [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message