From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4a1b1a1ea69d24ea,start X-Google-Attributes: gidfee84,public From: john hall Subject: Syslog Respawning Storm Date: 1997/03/23 Message-ID: <33347F9B.1BB7@netcomuk.co.uk>#1/1 X-Deja-AN: 227628021 Organization: None. (via NETCOM Internet Ltd. USENET service). Newsgroups: comp.unix.osf.osf1 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