So here's the problem:

current time Mon 17 Nov 2008 23:51:14
time until next check -11.827022
Called do_next_check
time for check: (2008, 11, 17, 23, 51, 14, 0, 322, 0) - 1226965832.64

current time Mon 17 Nov 2008 23:51:14
time until next check -11.827284
Called do_next_check
time for check: (2008, 11, 17, 23, 51, 14, 0, 322, 0) - 1226965832.64

current time Mon 17 Nov 2008 23:51:14
time until next check -11.827545
Called do_next_check
time for check: (2008, 11, 17, 23, 51, 14, 0, 322, 0) - 1226965832.64

I turned the daly_secs to be 30, so that it would be trying to check for 
updates frequently and ran with --debug. Initially, everything seemed to 
be working normally, then my CPU usage spiked and I ended up with an 
entire scroll buffer of the above form.

Now that I've got a reproducible test case, I'm going to try a fix, if 
that appears to solve the problem, I'll send out a webrev.

Brock


jmr wrote:
> Danek - I'm on mountaineer.sfbay box and checked the 
> updatemanagernotifier and schema, both are identical to my own machine. 
> I can see the  cpu being pegged with prstat. Can you ask Brock to:
> $ cat ~/.updatemanager/notify/opensolaris-lastcheck
> $ pstack `pgrep update`
>
> Then do the:
>
> $ pkill updatemanagernotifier
> $ rm ~/.updatemanager/notify/opensolaris-lastcheck
> $ /usr/bin/python2.4 /usr/lib/updatemanagernotifier -d
>
> If this does not chew CPU then come out of it and run it again:
> $ /usr/bin/python2.4 /usr/lib/updatemanagernotifier -d
>
>
> Danek Duvall wrote:
>   
>> On Mon, Nov 17, 2008 at 10:38:49PM +0000, jmr wrote:
>>
>>   
>>     
>>> I'm not at a build machine, we'll look into it tomorrow. Could you give 
>>> Padraig or myself remote access to the box?
>>>     
>>>       
>> Brock's in Dan's office debugging the problem, but his machine is
>> mountaineer.sfbay, and is currently exhibiting the problem, if you want to
>> go poking.
>>
>> Danek
>>   
>>     
>
> _______________________________________________
> pkg-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
>   

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to