Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Syslog Respawning Storm
@ 1997-03-23  5:00 john hall
  0 siblings, 0 replies; only message in thread
From: john hall @ 1997-03-23  5:00 UTC (permalink / raw)



Syslog Respawning Storm

I have a "situation" in OSF/1 v2, v3.x where occasionally
the system logs in syslog.dated will roll over very few minutes
or possibly even seconds, creating a new log directory each time.

As far as I'm aware there isn't a flurry of SIGHUPs being sent to
syslogd.

I have observed this behaviour a few times before and have just 
tested a rather large program that logs to the user log which
also provokes unwanted roll overs.

The program blocks waiting for input, which it processes on arrival.
The input is "bursty", though the code follows exactly the same path
whether two successive inputs are received two seconds or two days
apart. The process runs as a daemon and logs diagnostics to the user log
at various points using syslog() (3). All inputs are handled by the one
process (no fork()ing).

One manifestation of the phenomenon is as follows.

Sending a stream of test data inputs in "quick" succession
results in no syslog roll overs while the stream is being processed.

However splitting the identical stream into two batches and delaying for 
~20s from the end of the first batch to dispatching the second seems to
provoke a syslog roll over between the two batches. There are roughly
20 calls to syslog per batch.

I appreciate that this is a generalised description, but does anyone
recognise the situation and even have an explanation/ cure for what
is happening? I would be very grateful for any useful info before I
spend minutes/hours/days contriving code fragments to exercise
syslog in order to hunt down a common denominator.

thanks in advance

john hall
jhall@netcomuk.co.uk




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-03-23  5:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-23  5:00 Syslog Respawning Storm john hall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox