On Mon, 22 Oct 2001 [EMAIL PROTECTED] wrote:

> > Hi everyone,
> >
> > I experienced about a minute or so of my server not responding to
> > things that require a certain type of access tonight. By "a certain
> > type of access" I mean things like loading a new wterm window, or an
> > invocation of "ps ax", or opening mail via IMAP. I don't know what the
> > common
> > denominator is.  Mouse works, keyboard works, an open IPTraf window
> > works and can be manipulated, Opera (already open) works.
> >
> > During this time I notice that IPTraf's UDP window is very very active
> > with DNS requests. Because IPTraf uses reverse lookups to identify
>
> the not responding thing is i think because of the load
> i think syslog is eating the box resources ( it is a proven fact that
> syslog can do this and also BIND)
> so you got the culprits i think
> BIND - has no mechanism in controling the use of your resources so it will
> just eat up all the resources it can.

> Syslog - no mechanism either

Yes there is.

with syslog you can 'prepend' a '-' at the beginning of the filename of
the log file in syslogd.conf.  This will make all writes to that
particular log file async/buffered, and will lessen the load syslogd will
take on your system.

When you do this, just be aware that since writes will now be buffered,
there is a possibility that some logs will be lost if a power failure
occurs.  If this is unacceptable set up a syslog server, and point your
syslogd to log there.

I've done this on busy smtp servers and it radically reduces the load.

> and yeah i almost forgot use djbdns ( dnscache for you resolving proxy dns
> server and tinydns for your authoritative content dns server) :)

shempre may plugging sa mga sponsor heheheheh


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to