From owner-freebsd-gnome@FreeBSD.ORG Sat Dec 6 21:11:10 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 F23E01065670 for ; Sat, 6 Dec 2008 21:11:09 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by mx1.freebsd.org (Postfix) with ESMTP id BDAEC8FC19 for ; Sat, 6 Dec 2008 21:11:09 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so585642wfg.7 for ; Sat, 06 Dec 2008 13:11:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Mj9E1KKf43vR0+sLHL1N6ud/YKetv1/DAulI3etb22M=; b=W86jotRN9XKpem08lDetioX/R5WW0N49RK2Um6IOLftiltLSn4FT1JBSZO2nDwvFAs ABnzrUvfLopEuDYOzzsr1rgya69r3DPQ/WWcGeyDtH0JVVEb87l8A0WoBIwwIKrKaR3c U/Nj+3MxyLtcM4H82TBeyqQWFLrjNBym0cys4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Tm6udXeHGsnWB9IigTuaM/Hh7H7t5GoyW8gYnGm/8E4cHAxgriqBpHHTyOpbDZJyNb 8XKJnNtX74ee160pCytV6TnxaQgWzIeg0JAgIb+k6JtY23nPUrxux3Ajp5YbPG2sndCz 1RP8xnAIr8i+JVrrzLoFIcWbWmLGe+GANkCts= Received: by 10.142.166.1 with SMTP id o1mr658736wfe.337.1228597869022; Sat, 06 Dec 2008 13:11:09 -0800 (PST) Received: by 10.142.180.20 with HTTP; Sat, 6 Dec 2008 13:11:08 -0800 (PST) Message-ID: <1bd550a00812061311h818541bj4daae596a1504524@mail.gmail.com> Date: Sat, 6 Dec 2008 22:11:08 +0100 From: "=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=" To: "Jeremy Messenger" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1bd550a00812061004o44b03addva88df517ed7f0375@mail.gmail.com> <1bd550a00812061206t325d55dar46ccba1b9e7f1ab8@mail.gmail.com> <1228595094.47566.3.camel@shumai.marcuscom.com> <1bd550a00812061232h7f2c9d1eq5897a7a67cd26ae5@mail.gmail.com> 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 21:11:10 -0000 On Sat, Dec 6, 2008 at 9:41 PM, Jeremy Messenger wrote: > On Sat, 06 Dec 2008 14:32:21 -0600, Fernando Apestegu=EDa > 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=EDa wrote: >>>> >>>> On Sat, Dec 6, 2008 at 8:02 PM, Jeremy Messenger wrote= : >>>> > On Sat, 06 Dec 2008 12:04:00 -0600, Fernando Apestegu=EDa >>>> > 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 t= he >>>> >> 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=3D5000 as suggested here >>>> >> (http://forums.freebsd.org/showthread.php?t=3D445) causes other >>>> >> processes (gnome-at-visual and gnome-volume-manager) to be marked a= s >>>> >> not connected >>>> >> >>>> >> If I only set the --warn-delay=3D5000 I get gnome-wm (metacity in m= y >>>> >> case) to be marked as not responding. >>>> >> >>>> >> In the end, everything seems to work fine. However IMHO, it is a bi= t >>>> >> 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/188= 032.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 machi= ne > 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. Hi again, Here you are: [fernape@beastie /usr/home/fernape]$ ping -c 5 `hostname` PING beastie (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=3D0 ttl=3D64 time=3D0.022 ms 64 bytes from 127.0.0.1: icmp_seq=3D1 ttl=3D64 time=3D0.026 ms 64 bytes from 127.0.0.1: icmp_seq=3D2 ttl=3D64 time=3D0.025 ms 64 bytes from 127.0.0.1: icmp_seq=3D3 ttl=3D64 time=3D0.023 ms 64 bytes from 127.0.0.1: icmp_seq=3D4 ttl=3D64 time=3D0.020 ms --- beastie ping statistics --- 5 packets transmitted, 5 packets received, 0.0% packet loss round-trip min/avg/max/stddev =3D 0.020/0.023/0.026/0.002 ms [fernape@beastie /usr/home/fernape]$ cat /etc/rc.conf # -- sysinstall generated deltas -- # Wed Nov 26 23:05:58 2008 # Created: Wed Nov 26 23:05:58 2008 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. hostname=3D"beastie" ifconfig_re0=3D"DHCP" inetd_enable=3D"YES" keymap=3D"spanish.iso.acc" moused_enable=3D"YES" saver=3D"logo" sshd_enable=3D"YES" # Enable Dump Device (Ape) dumpdev=3D"/dev/ad4s4b" dumpdir=3D"/var/crash" # Enable dbus and HAL dbus_enable=3D"YES" hald_enable=3D"YES" # Disable sendmail cause I'm not gonna use it (Ape) sendmail_enable=3D"NO" sendmail_submit_enable=3D"NO" sendmail_outbound_enable=3D"NO" sendmail_msp_queue_enable=3D"NO" # -- sysinstall generated deltas -- # Thu Nov 27 18:18:36 2008 ifconfig_re0=3D"DHCP" hostname=3D"beastie" # -- sysinstall generated deltas -- # Sun Nov 30 18:57:01 2008 saver=3D"daemon" [fernape@beastie /usr/home/fernape]$ cat /etc/hosts # $FreeBSD: src/etc/hosts,v 1.16 2003/01/28 21:29:23 dbaker Exp $ # # Host Database # # This file should contain the addresses and aliases for local hosts that # share this file. Replace 'my.domain' below with the domainname of your # machine. # # In the presence of the domain name service or NIS, this file may # not be consulted at all; see /etc/nsswitch.conf for the resolution order. # # ::1=09=09=09localhost localhost.my.domain #127.0.0.1=09=09localhost localhost.my.domain 127.0.0.1=09=09beastie localhost localhost.my.domain gnome-rocks gnome-rocks.mydomain.com # # Imaginary network. #10.0.0.2=09=09myname.my.domain myname #10.0.0.3=09=09myfriend.my.domain myfriend # # According to RFC 1918, you can use the following IP networks for # private nets which will never be connected to the Internet: # #=0910.0.0.0=09- 10.255.255.255 #=09172.16.0.0=09- 172.31.255.255 #=09192.168.0.0=09- 192.168.255.255 # # In case you want to be able to connect to the Internet, you need # real official assigned numbers. Do not try to invent your own network # numbers but instead get one from your network provider (if any) or # from your regional registry (ARIN, APNIC, LACNIC, RIPE NCC, or AfriNIC.) # Cheers > > 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 >