tech-kern archive

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

Re: zero runtime when negative



On 6/24/2012 5:00 PM, Christos Zoulas wrote:
> In article <4FE6CE73.70308%gmail.com@localhost>, Adam Hoka  
> <adam.hoka%gmail.com@localhost> wrote:
>> Hi!
>>
>> Can you guys please check if the following makes sense:
>>
>> http://www.netbsd.org/~ahoka/patches/timebackwards.diff      
>>
>> The use case is the following:
>>
>> After starting NetBSD in vmware I see a lot of RLIMIT_CPU reached
>> messages overflowing my dmesg. At some time during the boot one or more
>> processes calculate a negative runtime, but as nothing resets them to
>> zero they keep reaching the cpu limit and the printouts are spamming the
>> console. Also the printout is bogus, because they are not really killed
>> in this case.
>>
>> Any comments?
> 
> I would prefer to understand why this is happening first before putting
> it under the carpet.
> 
> christos
> 

I agree, but I think in this situation it's still the right thing to do
to keep resource limits accurate. Anyway, we still have a printout
(which is only printed once for some reason, I don't really like that).


Home | Main Index | Thread Index | Old Index