2001-03-14 17:35:08

by Richard A Nelson

[permalink] [raw]
Subject: alarm() vs setitimer() problem?

Is linux 2.4.2-ac19 (and to a lesser extent 2.2.19pre16) doing something
non-standard wrt setitimer?

On light to mid loaded machines (2-8 load average), it seems like I'm
missing some setitimer(REAL) signals !

Running the program using alarm() instead of setitimer(REAL) doesn't
miss events.

Both machines are UP, running glibc 2.2.2 and gcc 2.95.3

on 2.2.19pre16, chaning the interval from 60s to 180s seems to have
removed the problem

on 2.4.2-ac19, using 180s didn't change the problem at all, only running
with alarm() instead solves the problem.

--
Rick Nelson
Life'll kill ya -- Warren Zevon
Then you'll be dead -- Life'll kill ya