Port-alpha archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Stream of kernel messages: pid <n> is killed: exceeded RLIMIT_CPU



christos%zoulas.com@localhost (Christos Zoulas) writes:
> Ok. The root of the problem is:
> 
> | WARNING: negative runtime; monotonic clock has gone backwards
> 
> I have seen that on the windows virtual pc but nowhere else. What clock
> does your alpha use, and can that go backwards?
Good question.  Now that you mention it, I seem to recall that I
have had problems with the clock on this system before.  It's a
dual CPU CS20.  And I had to use sysctl.conf early in the boot
process to set

  kern.timecounter.hardware=clockinterrupt

The choices available are:
kern.timecounter.choice = PCC(q=1000, f=1249650000 Hz) clockinterrupt(q=0, 
f=1024 Hz) dummy(q=-1000000, f=1000000 Hz)

If I choose the PCC, I get the following effect:
# while true; do date; sleep 1; done
Sun Nov 13 17:57:41 CET 2011
Sun Nov 13 17:57:41 CET 2011
Sun Nov 13 17:57:42 CET 2011
Sun Nov 13 17:57:43 CET 2011
Sun Nov 13 17:57:43 CET 2011
Sun Nov 13 17:57:44 CET 2011
Sun Nov 13 17:57:45 CET 2011
Sun Nov 13 17:57:46 CET 2011
Sun Nov 13 17:57:46 CET 2011
Sun Nov 13 17:57:47 CET 2011
Sun Nov 13 17:57:48 CET 2011
Sun Nov 13 17:57:48 CET 2011
Sun Nov 13 17:57:49 CET 2011
Sun Nov 13 17:57:50 CET 2011
Sun Nov 13 17:57:50 CET 2011
Sun Nov 13 17:57:51 CET 2011
Sun Nov 13 17:57:52 CET 2011
Sun Nov 13 17:57:52 CET 2011
Sun Nov 13 17:57:53 CET 2011
Sun Nov 13 17:57:54 CET 2011
Sun Nov 13 17:57:54 CET 2011
Sun Nov 13 17:57:55 CET 2011
Sun Nov 13 17:57:56 CET 2011
Sun Nov 13 17:57:56 CET 2011
Sun Nov 13 17:57:57 CET 2011
Sun Nov 13 17:57:58 CET 2011
Sun Nov 13 17:57:58 CET 2011
Sun Nov 13 17:57:59 CET 2011

So, something is very fishy when it comes to time-keeping on the
alpha.
                                        -jarle


Home | Main Index | Thread Index | Old Index