are multiple gconfd-2 processes problematic?

I have been messing with gconftool-2 and various gnome-power-manager keys … and was bound to screw something up sooner or later. At some point, I noticed that queries like ‘gconftool-2 --get some-key’ would give a different value than what showed up for the same key in gconf-editor. Odd, I thought. Then I noticed I had multiple gconfd-2 daemons running. Like this:


> ps aux | grep gconfd-2
carroll   6648  0.0  0.0   7668   808 pts/0    S+   10:57   0:00 grep gconfd-2
carroll  11339  0.0  0.1  38496  6220 ?        S    10:33   0:00 /usr/lib/GConf/2/gconfd-2
carroll  11346  0.0  0.1  38764  6568 ?        S    10:33   0:00 /usr/lib/GConf/2/gconfd-2

Interestingly ‘gconftool-2 --shutdown’ can kill one, but only one, of these daemons.

Is this bad? How do I fix it?

Thanks,
Ian on openSUSE 11.3, GNOME 2.30.0

Hello icarroll,

Depends on what the problem exactly is.
Do you still have two gconfd-2 processes?

If the problem still there you can create a test user.
Log in as that user and check if the problem is also there.

Good luck!:wink:

Yes, the second one starts back up. Both are even present after the ol’ reboot.

Log in as that user and check if the problem is also there.

Tried that, and the test user only has one daemon.

Thanks for the response!

On 2010-12-02 20:36, icarroll wrote:

> Odd, I thought. Then I noticed I had multiple gconfd-2
> daemons running. Like this:

Log out of your user. Log in text mode. Check processes (ps). Kill those
that should not be there. Log in gnome again.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

Sort of tried that too. I did ‘sudo /usr/sbin/gdm-stop’ and nosed around there. No more gconfd-2 processes, which is as expected, right? But after ‘sudo /usr/sbin/gdm’ and logging back in to GNOME, both daemons are back. For some reason, it’s starting twice for this particular user. It only starts once for a test user I just created.

On 2010-12-02 23:36, icarroll wrote:
>
> robin_listas;2260901 Wrote:
>>
>> Log out of your user. Log in text mode. Check processes (ps). Kill
>> those that should not be there. Log in gnome again.
>>
>
> Sort of tried that too. I did ‘sudo /usr/sbin/gdm-stop’

Huh! Don’t do that, it is unnecessary overkill. Just log out of your gnome
session, switch to text mode (ctrl-alt-f1) and list processes as user.

Plus, don’t start those processes via sudo. Get yourself root (text mode),
ie, root’s real environment.

> and nosed
> around there. No more gconfd-2 processes, which is as expected, right?
> But after ‘sudo /usr/sbin/gdm’ and logging back in to GNOME, both
> daemons are back. For some reason, it’s starting twice for this
> particular user. It only starts once for a test user I just created.

Mine:

Code:

cer@Telcontar:~> ps afxu | grep cer | grep gconf
cer 12493 0.0 0.0 37224 3064 ? S Nov27 0:00
/usr/lib/GConf/2/gconfd-2
cer 12504 0.0 0.0 37668 4232 ? S Nov27 0:19
/usr/lib/GConf/2/gconfd-2
cer 12871 0.0 0.0 81456 2200 ? S Nov27 0:00 _
/usr/lib/pulse/gconf-helper
cer 30992 0.0 0.0 6444 824 pts/19 S+ 01:30 0:00 _
grep gconf

Nosing a bit more:

Code:

cer 12491 0.0 0.0 12728 748 ? Ss Nov27 0:00
/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
cer 12493 0.0 0.0 37224 3064 ? S Nov27 0:00
/usr/lib/GConf/2/gconfd-2
cer 12500 0.0 0.0 15604 472 ? S Nov27 0:00
dbus-launch --exit-with-session /usr/bin/gnome-session
cer 12501 0.0 0.1 28344 15616 ? Ss Nov27 0:13
/bin/dbus-daemon --fork --print-pid 7 --print-address 9 --session
cer 12504 0.0 0.0 37668 4232 ? S Nov27 0:19
/usr/lib/GConf/2/gconfd-2
cer 12512 0.0 0.2 522392 22392 ? Ssl Nov27 1:25
/usr/lib/gnome-settings-daemon/gnome-settings-daemon
cer 12513 0.0 0.0 188616 6696 ? Ss Nov27 0:01
seahorse-daemon

The PIDs indicate they were started nearly at the same time.

Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

When logging out didn’t get rid of one process, i tried a bigger gun … seems intelligent enough to me.

Mine:

Code:

cer@Telcontar:~> ps afxu | grep cer | grep gconf
cer 12493 0.0 0.0 37224 3064 ? S Nov27 0:00 /usr/lib/GConf/2/gconfd-2
cer 12504 0.0 0.0 37668 4232 ? S Nov27 0:19 /usr/lib/GConf/2/gconfd-2

Okay, if you say it’s normal, I will put aside my worries. Thanks much!

On 2010-12-03 04:06, icarroll wrote:

> Okay, if you say it’s normal, I will put aside my worries. Thanks much!

I don’t know if it should be this way, I only know that it happens. I only
worry when logging out doesn’t kill all of them.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)