*Hi, All,
In my custome application which based on the mozilla 3.0.11, I found
that when the firefox was started up, it would call the GConfd.
What's more, it seems every thread of FF would call GConfd, right?

My application is running in a multi-thread enviroment. I have the
following problem:
>From /var/log/messages
<<<
Jul 29 01:04:31 $servername gconfd ($user-26872): starting (version
2.14.0), pid 26872 user '$user'
Jul 29 01:04:31 **$servername** gconfd (**$user**-26872): Resolved
address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only
configuration source at position 0
Jul 29 01:04:31 **$servername** gconfd (**$user**-26872): Resolved
address "xml:readwrite:/home/binrend/.gconf" to a writable configuration
source at position 1
Jul 29 01:04:31 **$servername** gconfd (**$user**-26872): Resolved
address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only
configuration source at position 2

Jul 29 01:10:00 **$servername** gconfd (**$user**-27119): starting
(version 2.14.0), pid 27119 user '**$user'*
*Jul 29 01:10:00 **$servername** gconfd (**$user**-27119): Failed to get
lock for daemon, exiting: Failed to lock
'/tmp/gconfd-**$user**/lock/ior': probably another process has the lock,
or your operating system has NFS file locking misconfigured (Resource
temporarily unavailable)
>>>

Only one thread can lock the **/tmp/gconfd-**$user**/lock/ior and untill
the thread exists then another thread can get another gconfd run.
<<<
Jul 29 01:10:01 tlbinr002oak gconfd (binrend-26872): GConf server is not
in use, shutting down.
Jul 29 01:10:01 tlbinr002oak gconfd (binrend-26872): Exiting
>>>

My questions:
1)does the FF need gconf definitely? (At least in my application, I
would say no)
Can I stop such calls by changing any configuration in mozilla compiling
stage?
2)how could I avoid such error if I can't stop the call?
3)the worse, can I ignore the such error?
4)any other suggestions?

Thanks in advance!
-Havvy
*
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to