public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Runaway cron task on 2.5.63/4 bk?
@ 2003-03-09  7:30 Kevin Brosius
  2003-03-09  8:08 ` Andrew Morton
  0 siblings, 1 reply; 23+ messages in thread
From: Kevin Brosius @ 2003-03-09  7:30 UTC (permalink / raw)
  To: kernel

Second attempt to send this after not seeing it post after about a day. 
Anyone else have kernel posting problems?

I started seeing the cron task runaway, using 100% CPU continuously on a
single CPU with
2.5.63+bk and now with 2.5.64 (about two weeks now.)  No other
apps/tasks seem to be affected, that I've noticed.  It seems to take
upwards of 8 hours running the kernel for this to occur.

top shows:

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
  594 root      25   0  1428  620  1364 R    49.9  0.1 195:23 cron

(This is a dual processor Athlon, so CPU0 is at 100% at the moment.) 
This is repeatable.  Leaving the box running overnight, or all day, and
the cron process is running 100% again after several hours.  This does
not occur in prior 2.5 kernels, or in 2.4.19.

Any idea what's causing this?  What additional info on the process would
be helpful?  kernel .config file at
http://kevb.net/files/linux2564_config

-- 
Kevin

^ permalink raw reply	[flat|nested] 23+ messages in thread
* Re: Runaway cron task on 2.5.63/4 bk?
@ 2003-03-10 23:05 Felipe Alfaro Solana
  2003-03-10 23:33 ` Linus Torvalds
  0 siblings, 1 reply; 23+ messages in thread
From: Felipe Alfaro Solana @ 2003-03-10 23:05 UTC (permalink / raw)
  To: akpm, george; +Cc: torvalds, cobra, linux-kernel

----- Original Message ----- 
From: Andrew Morton <akpm@digeo.com> 
Date: 	Mon, 10 Mar 2003 14:29:44 -0800 
To: george anzinger <george@mvista.com> 
Subject: Re: Runaway cron task on 2.5.63/4 bk? 
 
> If an app wants to sleep forever, calling 
>  
> 	while (1) 
> 		sleep(MAX_INT); 
>  
> seems like a reasonable approach.  I'd expect quite a lot of applications 
> would be doing that. 
 
why not sleep(0)? 
 
   Felipe 
 
-- 
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2003-03-12 12:18 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-09  7:30 Runaway cron task on 2.5.63/4 bk? Kevin Brosius
2003-03-09  8:08 ` Andrew Morton
2003-03-09  8:17   ` Andrew Morton
2003-03-09 16:28     ` [PATCH] " Todd Mokros
2003-03-10 19:42     ` george anzinger
2003-03-10 19:49       ` Linus Torvalds
2003-03-10 22:21         ` george anzinger
2003-03-10 22:29           ` Andrew Morton
2003-03-10 22:46             ` george anzinger
  -- strict thread matches above, loose matches on Subject: below --
2003-03-10 23:05 Felipe Alfaro Solana
2003-03-10 23:33 ` Linus Torvalds
2003-03-11 10:20   ` george anzinger
2003-03-11 22:44     ` Andrew Morton
2003-03-11 23:02       ` Linus Torvalds
2003-03-11 23:09         ` Andrew Morton
2003-03-11 23:18           ` Linus Torvalds
2003-03-11 23:34             ` Andrew Morton
2003-03-11 23:46               ` george anzinger
2003-03-11 23:46           ` Linus Torvalds
2003-03-12  1:55           ` Jamie Lokier
2003-03-12 12:04           ` Denis Vlasenko
2003-03-11 23:35         ` george anzinger
2003-03-12  0:48         ` Matti Aarnio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox