* logging processes are eating the CPU !!!
@ 1998-10-28 22:20 Pedro Ribeiro
1998-10-28 23:07 ` Bob McElrath
1998-10-29 1:29 ` Michal Jaegermann
0 siblings, 2 replies; 4+ messages in thread
From: Pedro Ribeiro @ 1998-10-28 22:20 UTC (permalink / raw)
To: axp-list
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.
[]---------------------------------------------------------------[]
Pedro Ribeiro
Online: http://www.isel.pt/~pribeiro/
IRC(PTnet) Nick: PAntMaR
e-Mail: Personal: pribeiro@isel.pt
Admin: admin@isel.pt
Tel: NEW! +351-1-8317032 / Fax: +351-1-8317171
[]---------------------------------------------------------------[]
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: logging processes are eating the CPU !!!
1998-10-28 22:20 logging processes are eating the CPU !!! Pedro Ribeiro
@ 1998-10-28 23:07 ` Bob McElrath
1998-10-29 1:29 ` Michal Jaegermann
1 sibling, 0 replies; 4+ messages in thread
From: Bob McElrath @ 1998-10-28 23:07 UTC (permalink / raw)
To: Pedro Ribeiro; +Cc: axp-list
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_|
\.___________________________________________________________________./
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: logging processes are eating the CPU !!!
1998-10-28 22:20 logging processes are eating the CPU !!! Pedro Ribeiro
1998-10-28 23:07 ` Bob McElrath
@ 1998-10-29 1:29 ` Michal Jaegermann
1 sibling, 0 replies; 4+ messages in thread
From: Michal Jaegermann @ 1998-10-29 1:29 UTC (permalink / raw)
To: pribeiro; +Cc: axp-list
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
Does the above means that the following:
--- old/arch/alpha/kernel/traps.c Wed Sep 23 23:42:27 1998
+++ new/arch/alpha/kernel/traps.c Tue Sep 29 15:49:41 1998
@@ -421,8 +421,8 @@
struct pt_regs regs)
{
if (regs.r0 != 112 && regs.r0 < 300)
- printk("<sc %ld(%lx,%lx,%lx)>", regs.r0, a0, a1, a2);
- return -1;
+ printk("<sc %ld(%lx,%lx,%lx)>\n", regs.r0, a0, a1, a2);
+ return -ENOSYS;
}
was applied? Note missing '\n' which caused various troubles with syslogd.
Also note that on October 26th a new version of patches did show
up on gatekeeper.
Michal
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: logging processes are eating the CPU !!!
@ 1998-10-29 15:04 Pedro Ribeiro
0 siblings, 0 replies; 4+ messages in thread
From: Pedro Ribeiro @ 1998-10-29 15:04 UTC (permalink / raw)
To: axp-list
Recompiling a new kernel (2.0.35) based on the new alpha patches worked
great, thanks to everyone that tried to help !
Bye.
[]---------------------------------------------------------------[]
Pedro Ribeiro
Online: http://www.isel.pt/~pribeiro/
IRC(PTnet) Nick: PAntMaR
e-Mail: Personal: pribeiro@isel.pt
Admin: admin@isel.pt
[]---------------------------------------------------------------[]
-----Original Message-----
From: Pedro Ribeiro <pribeiro@isel.pt>
To: axp-list@redhat.com <axp-list@redhat.com>
Date: Quarta-feira, 28 de Outubro de 1998 22:21
Subject: logging processes are eating the CPU !!!
>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.
>
>[]---------------------------------------------------------------[]
> Pedro Ribeiro
> Online: http://www.isel.pt/~pribeiro/
> IRC(PTnet) Nick: PAntMaR
> e-Mail: Personal: pribeiro@isel.pt
> Admin: admin@isel.pt
> Tel: NEW! +351-1-8317032 / Fax: +351-1-8317171
>[]---------------------------------------------------------------[]
>
>--
>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1998-10-29 15:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-28 22:20 logging processes are eating the CPU !!! Pedro Ribeiro
1998-10-28 23:07 ` Bob McElrath
1998-10-29 1:29 ` Michal Jaegermann
-- strict thread matches above, loose matches on Subject: below --
1998-10-29 15:04 Pedro Ribeiro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox