Re: NON IRQ DEADLOCK in 2.0.31

Mike Jagdis (mike@roan.co.uk)
Fri, 14 Nov 1997 16:33:47 +0000 (GMT/BST)


On Fri, 14 Nov 1997, Christophe Dupre wrote:

> On Fri, 14 Nov 1997, Rob Hagopian wrote:
>
> > I've actually had some problems with the software watchdog:
> > A user has a 150MB email, tries to open it in pine, pine goes hogwild
> > with memory (swap), the computer slows to a crawl, the watchdog process
> > doesn't get spawned fast enough, the computer resets.
>
> How can a user get a 150 MB EMail ? Gross..... Anyway, in this case even
> with a hardware watchdog, this machine would reset, since the hardware
> watchdog counts on a process (softdog) to reset to counter on a regular
> basis. Regarding the software watchdog, I'm sure you could go and modify
> the timer and raise it to a few minutes...... Just go and modify
> /usr/src/linux/driver/char/softdog.c ...

Perhaps I'm being dense but shouldn't a software watchdog
be running with a SCHED_FIFO scheduling class and mlock
it's important pages? You really don't want it to reboot
your machine just because it's a bit stressed doing work!

Mike

-- 
.----------------------------------------------------------------------.
|  Mike Jagdis                  |  Internet:  mailto:mike@roan.co.uk   |
|  Roan Technology Ltd.         |                                      |
|  54A Peach Street, Wokingham  |  Telephone:  +44 118 989 0403        |
|  RG40 1XG, ENGLAND            |  Fax:        +44 118 989 1195        |
`----------------------------------------------------------------------'