> 
> Back to the original thread :-)

Quite.

> 
> > ----------
> > From:       Richard Adams[SMTP:[EMAIL PROTECTED]]
> > Reply To:   [EMAIL PROTECTED]
> > Sent:       30 July 1999 11:19
> > To:         [EMAIL PROTECTED]
> > Cc:         [EMAIL PROTECTED]
> > Subject:    Re: -- MARK --
> > 
> > > 
> > > Even better. I rebooted.
> > 
> > By doing ps ax | grep syslogd you can see if the -m0 option is attached,
> > if
> > not you are still startuing syslogd without options.
> > 
> I've not brought the output with me to work, so you'll have to take my word
> for this:
> 
> I checked the man-page of syslogd. There really is **no** mention of
> disabling this feature. BTW I'm using syslogd version 1.3-3 (SuSE 6.1;
> kernel 2.2.10). Man page is for 1.3. The explanation of the -m switch says
> nothing about '-m 0' disabling things.

I dont disagree with any of your comments, how could i, i can't see what
your man page says, i can only comment on what my man page says and what 
-m 0 does here and on some other peoples systems as they have also replyed
telling you the same as i did.

We even seem to have the same syslogd version, 
Mail# syslogd -v
syslogd 1.3-3
My distro is Redhat-6.0 but at the minute i dont quite see what that has to
do with it all.

Even the man-page version numbers seem to be the same, as to them being the
same i dont know, however my page says the following,

       -m interval
              The  syslogd  logs  a mark timestamp regularly. The
              default interval between two -- MARK -- lines is 20
              minutes.   This  can  be  changed with this option.
              Setting the interval to zero turns it off entirely.

I use the unedited version of /etc/rc.d/rc3.d/S30syslog

# See how we were called.
case "$1" in
  start)
        echo -n "Starting system logger: "
        # we don't want the MARK ticks
        daemon syslogd -m 0
        echo
        echo -n "Starting kernel logger: "
        daemon klogd
        echo
        touch /var/lock/subsys/syslog
        ;;



> 
> I restarted the daemon as 'syslogd -m 0' a "-- MARK --" was logged every
> 30seconds!
> Then I restarted as 'syslogd -m0' still logging every 30seconds...
> Then I restarted without the switch again. Now the "-- MARK --" is logged
> every 20~30 minutes then not for an hour or so, then again 20 or 30 minutes.
> It's rather unpredictable really and I don't understand. If you really want
> to see for yourself tell me and I'll bring /var/log/messages tomorrow.

Something is not quite correct here, you may not be quoteing the facts
properly, 1) the default -- MARK -- time is 20 minutes 
2) if you are seeing random times you say 20~30 minutes, then that suggests
you are running multiple processes of syslogd.
3) another quote from the man page.

       Both  the  syslogd(8)  and  the klogd(8) can either be run
       from init(8) or started as part of the rc.*  sequence.  If
       it  is started from init the option -n must be set, other-
       wise you'll get tons of syslog daemons  started.  This  is
       because init(8) depends on the process ID.

> 
> Care to comment? Please do! I'm at a loss here. 

Well if there is only one syslogd process then i would call the behaviour
strange to say the least.

> 
> Is syslogd part of the kernel distribution or is it a separate package. In
> the latter case I may want to look for the source and compile it from
> scratch.

As far as i know syslogd is the same on most systems, maybe others could
comment as i can only speak for Redhat and Slackware.

Now i hope i have cleared up the details, as to it all being an answer to
your problem i dont know, but i do hope it helps.

> --
> Maurice Hendrix
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Reply via email to