SUMMARY: syslogd in 4.0D loses messages

From: John P Speno <speno_at_isc.upenn.edu>
Date: Mon, 13 Dec 1999 13:40:08 -0500

This is a SUMMARY without a question.

The /usr/sbin/syslogd that ships with 4.0D, and even that which is found in
the latest patch kit (#5, OSFPAT00067000425), does its job very badly. When
fed messages rapidly, it consistently loses some of them. Feel free to test
this yourself on your own 4.0D systems. Our test script is below.

We've found that the /usr/sbin/syslogd from 4.0F is a fine replacement on
4.0D systems. Our tests show that it doesn't drop any messages. Be warned
that blindly replacing stuff on your systems could result in future
headaches when you try to patch or upgrade. We're experts. Don't try this
at home. :-)


Here's the test script:

#!/usr/local/bin/python

import syslog
log = syslog.syslog
priority = syslog.LOG_INFO
message = 'message %d ' + 'x' * 240
for i in range(100):
    log(priority, message % i)
Received on Mon Dec 13 1999 - 18:41:51 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT