From owner-freebsd-gnome@FreeBSD.ORG Sat Dec 6 20:41:24 2008 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1028D1065677 for ; Sat, 6 Dec 2008 20:41:24 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao105.cox.net (eastrmmtao105.cox.net [68.230.240.47]) by mx1.freebsd.org (Postfix) with ESMTP id BC1928FC16 for ; Sat, 6 Dec 2008 20:41:23 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao105.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20081206204122.DIPA14968.eastrmmtao105.cox.net@eastrmimpo02.cox.net>; Sat, 6 Dec 2008 15:41:22 -0500 Received: from localhost ([68.103.159.188]) by eastrmimpo02.cox.net with bizsmtp id nwhN1a00644AlM802whNe9; Sat, 06 Dec 2008 15:41:23 -0500 X-Authority-Analysis: v=1.0 c=1 a=6I5d2MoRAAAA:8 a=LeH6XzfVAAAA:8 a=gWHW9ReR6UhvfRku6MYA:9 a=13IE17BISeWzlVvkXyMA:7 a=QCDDXBwfa7blRAdVZX7Dh_o0lugA:4 a=twX6zS2zVsUA:10 a=uEZAvmEy1BkA:10 a=MSl-tDqOz04A:10 a=UWo3Rh38mxcA:10 a=4vB-4DCPJfMA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 X-CM-Score: 0.00 Date: Sat, 06 Dec 2008 14:41:04 -0600 To: =?utf-8?Q?Fernando_Apestegu=C3=ADa?= From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: <1bd550a00812061004o44b03addva88df517ed7f0375@mail.gmail.com> <1bd550a00812061206t325d55dar46ccba1b9e7f1ab8@mail.gmail.com> <1228595094.47566.3.camel@shumai.marcuscom.com> <1bd550a00812061232h7f2c9d1eq5897a7a67cd26ae5@mail.gmail.com> Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <1bd550a00812061232h7f2c9d1eq5897a7a67cd26ae5@mail.gmail.com> User-Agent: Opera Mail/9.62 (Linux) Cc: freebsd-gnome@freebsd.org Subject: Re: Gnome slow at start up X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Dec 2008 20:41:24 -0000 On Sat, 06 Dec 2008 14:32:21 -0600, Fernando Apesteguía wrote: > On Sat, Dec 6, 2008 at 9:24 PM, Joe Marcus Clarke > wrote: >> On Sat, 2008-12-06 at 21:06 +0100, Fernando Apesteguía wrote: >>> On Sat, Dec 6, 2008 at 8:02 PM, Jeremy Messenger wrote: >>> > On Sat, 06 Dec 2008 12:04:00 -0600, Fernando Apesteguía >>> > wrote: >>> > >>> >> Hi all, >>> >> >>> >> I'm running FreeBSD 7.1 BETA2 for AMD64. >>> >> >>> >> With this version, Gnome starts up very slowly. If I take a look at >>> >> the session properties window, it seems nautilus takes a very long >>> >> time trying to connect. However, after some time, it connects but >>> the >>> >> gnome-wm script is marked as Status UNKNOWN (That column of the >>> >> treeview is not documented and I had to look at the code...). >>> >> So it seems at the end, metacity is somehow stalled during start up. >>> >> >>> >> The --purge-delay=5000 as suggested here >>> >> (http://forums.freebsd.org/showthread.php?t=445) causes other >>> >> processes (gnome-at-visual and gnome-volume-manager) to be marked as >>> >> not connected >>> >> >>> >> If I only set the --warn-delay=5000 I get gnome-wm (metacity in my >>> >> case) to be marked as not responding. >>> >> >>> >> In the end, everything seems to work fine. However IMHO, it is a bit >>> >> dirty to use these two options because they only mask the problem, >>> but >>> >> it seems clear there are some faulting processes. >>> >> >>> >> Any ideas of what the problem is? >>> > >>> > http://www.freebsd.org/gnome/docs/faq2.html#q20 >>> >>> My bad, >>> >>> I should have pointed this out as reference: >>> >>> http://lists.freebsd.org/pipermail/freebsd-questions/2008-December/188032.html >>> >>> Any more ideas? >> >> You can try ktrace'ing the slow-start processes to see if that yields >> anything interesting. However, it would be more beneficial to have >> these binaries compiled with debugging symbols, then use gdb to get >> backtraces from them when they're starting up. > > I will try with ktrace or truss to see what happens. > >> >> That said, the problem may be some bad configuration pieces. You might >> try creating a new, clean account, and see if the problem shows up >> there. > > Yes, it does. I created a new account on the system and I got the same > result. I have a laptop running 7.0 Release -p5 and I only added the > lines to /etc/hosts to speed up gnome. Nothing else was necessary. Can you show us your /etc/rc.conf and /etc/hosts? Also, output of 'ping `hostname`'. Do you have your own DNS cache server? If you do, have you check to make sure you have same hostname with your DNS cache and your machine? A few months ago, one of my friend asked me to help on his machine for samba problem in GNOME when trying to double click on his samba icon for slowness and not really works very well. It turned out that his DNS cache server (he forgot to change/update in his DNS cache) was mismatch the hostname in his personal machine. Althought, it doesn't affect slow issue on his GNOME desktop but only on samba icon. Cheers, Mezz > Cheers > >> >> Joe >> >> -- >> PGP Key : http://www.marcuscom.com/pgp.asc -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org