lkml.org 
[lkml]   [1999]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.2.10 gone nuts?
On Mon, 16 Aug 1999, Chris Evans wrote:

> Are there any "magic" counters which (on intel) wrap at ~40-50 days
> uptime? We've got a couple of processes gone nuts (even after they are
> restarted). When I say "go nuts", I mean "chewing a lot of CPU".
> [...]
> gettimeofday({934830292, 925664}, {0, 0}) = 0
> oldselect(1, NULL, NULL, NULL, {0, 1}) = 0 (Timeout)
> gettimeofday({934830292, 935660}, {0, 0}) = 0

The select call seems to be asking for a timeout of 1 microsecond
and the difference between the gettimeofday() calls is 10000 microseconds
or 10 milliseconds or 1/100 of a second or 1 jiffie. Since the requested
timeout gets rounded up to the next jiffie this is as expected. It looks
like an application error. At least, it lost its marbles before this
point :-).

Mike

--
A train stops at a train station, a bus stops at a bus station.
On my desk I have a work station...
.----------------------------------------------------------------------.
| Mike Jagdis | Internet: mailto:mike@roan.co.uk |
| Roan Technology Ltd. | |
| 2 Markham Mews, Broad Street | Telephone: +44 118 989 0403 |
| Wokingham ENGLAND | Fax: +44 118 989 1195 |
`----------------------------------------------------------------------'


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.030 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site