Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Aug 2008 12:56:54 -0400
From:      Joe Marcus Clarke <marcus@freebsd.org>
To:        sam <samflanker@gmail.com>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: consolekit on 7.0-STABLE i386
Message-ID:  <48934056.3090704@freebsd.org>
In-Reply-To: <48931D82.1020206@gmail.com>
References:  <489036A2.5060403@gmail.com>	<Pine.GSO.4.64.0807300254440.11980@zeno.ucsd.edu> <48931D82.1020206@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
sam wrote:
> Nate Eldredge wrote:
>> On Wed, 30 Jul 2008, sam wrote:
>>
>>> hello
>>>
>>> my trouble
>>>
>>>
>>> FreeBSD static 7.0-STABLE FreeBSD 7.0-STABLE #23: Mon Jul 28 18:10:51 
>>> MSD 2008     root@static:/usr/obj/usr/src/sys/STATIC  i386
>>>
>>>
>>> ----------------------------top_output-----------------------------
>>> |874 root            17   0    0  8296K  2660K waitvt 1   0:00  0.00% 
>>> console-kit-daemon|
>>> --------------------------------------------------------------------
>>>
>>> ---------------------------vmstat_output---------------------------
>>> | procs      memory      page                    disks     
>>> faults        cpu
>>> r b w     avm    fre   flt  re  pi  po    fr  sr ad4 ad6   in   sy   
>>> cs us sy id
>>> 0 19 0   1113M    29M   493   1   0   0   265 129   0   0  133 45119 
>>> 4588  8 5 87
>>> 0 20 0   1113M    29M   249   0   2   0  3311   0   0  22  157 7872 
>>> 2262  5 7 88
>>> 0 19 0   1113M    29M   346   0   0   0   148   0   0   0  110 78963 
>>> 1793  4 9 87
>>> 0 19 0   1113M    29M   115   0   0   0     0   0   0   0  105 5743 
>>> 1731 13 1 85
>>> 0 19 0   1113M    29M   318   0   0   0   138   0   0   0  108 78837 
>>> 1732  3 10 87
>>> 0 19 0   1113M    29M   112   0   0   0    32   0   0   1  100 5549 
>>> 1682 11 1 88
>>> 0 19 0   1113M    29M   297   0   0   0   136   0   0   2  122 78880 
>>> 1749  6 7 87
>>> |--------------------------------------------------------------------
>>>
>>> consolekit in |waitvt state, influencing on high volumes in procs-b
>>
>> I don't understand what the problem is.  It looks like consolekit is 
>> sleeping and not using any CPU.  "waitvt" just indicates where in the 
>> kernel it's sleeping.  I don't understand what you mean by "high 
>> volumes in procs-b".
>>
> 
> How-To-Repeat:
> --------------------------------------------------------------
> # (|cd /usr/ports/sysutils/consolekit/ && make install clean)
> 
> # /usr/local/etc/rc.d/dbus forcestart
> 
> # vmstat -w 1
> procs      memory      page                   disk   faults         cpu
> r b w     avm    fre   flt  re  pi  po    fr  sr ad0   in   sy   cs us 
> sy id
> 2 1 0  62252K   644M    88   0   0   0    80   0   0    2   83  279  1  
> 1 98
> 0 1 0  62252K   644M     0   0   0   0     0   0   0    4  134  292  0  
> 3 97
> 0 1 0  62252K   644M     0   0   0   0     0   0   0    4  123  299  0  
> 2 98
> 1 1 0  62252K   644M     0   0   0   0     0   0   0    3  120  305  0  
> 3 97
> ^C
> # /usr/local/sbin/console-kit-daemon && vmstat -w 1
> procs      memory      page                   disk   faults         cpu
> r b w     avm    fre   flt  re  pi  po    fr  sr ad0   in   sy   cs us 
> sy id
> 2 1 0  67572K   643M    88   0   0   0    80   0   0    2   83  279  1  
> 1 98
> 0 16 0  68660K   643M   103   0   0   0     2   0  10   13  643  381  2  
> 4 94
> 0 16 0  68660K   643M     0   0   0   0     0   0   0    3  120  281  0  
> 4 96
> 0 16 0  68660K   643M     0   0   0   0     0   0   0    2  120  278  0  
> 3 97
> 0 16 0  68660K   643M     0   0   0   0    12   0  28   34  120  385  0  
> 3 97
> 0 16 0  68660K   643M     0   0   0   0     0   0   0    4  120  292  0  
> 3 97

This isn't a problem.  This is how CK works.  It blocks on all 16 vtys 
waiting for a switch.

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team	::	gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48934056.3090704>