From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 16580 invoked from network); 28 Oct 1998 23:18:42 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 28 Oct 1998 23:18:42 -0000 Received: from draal.physics.wisc.edu (mcelrath@draal.physics.wisc.edu [128.104.223.134]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id SAA22942 for ; Wed, 28 Oct 1998 18:07:38 -0500 Received: from localhost (mcelrath@localhost) by draal.physics.wisc.edu (8.8.7/8.8.7) with SMTP id RAA05518; Wed, 28 Oct 1998 17:07:22 -0600 Date: Wed, 28 Oct 1998 17:07:22 -0600 (EST) From: Bob McElrath X-Sender: mcelrath@draal To: Pedro Ribeiro cc: axp-list@redhat.com Subject: Re: logging processes are eating the CPU !!! In-Reply-To: <007a01be02c1$374476d0$2304a8c0@mondego.nb.isel.pt> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 28 Oct 1998, Pedro Ribeiro wrote: > I have a PWS433au with Linux 2.0.35 (+DEC patches) and i'v noticed that the > logging processes are eating all the CPU time (even more than the squid > proxy process and the RC5DES), is this normal ??? > > top result: > > PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND > 19485 root 12 0 904 904 584 R 856 47.7 0.1 0:03 klogd > 19483 root 11 0 912 912 640 R 848 46.2 0.1 0:03 syslogd > > Thanks in advance. What's in your log files? syslogd does a sync every time right after it logs stuff to a file (in case of a crash -> stuff still in log files). If *lots* of stuff is being logged, then all these sync's can eat cpu like a banshee... Is your hard drive constantly churning too? -- Bob ./'^`\._./'~`\._./'~`\._./'~`\._./'#`\._./'~`\._./'~`\._./'~`\._./'^`\. / Rube Goldberg? Bah! Amateur! I give you..Windows 98! Linux everywhere \ | Linux, because everyone's work is mission critical. ANYTHING inside. | |_Bob McElrath (mcelrath@wisconsin.cern.ch) Univ. of Wisconsin at Madison_| \.___________________________________________________________________./