From owner-freebsd-questions@freebsd.org Fri Oct 6 12:00:37 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47BC3E3533D for ; Fri, 6 Oct 2017 12:00:37 +0000 (UTC) (envelope-from ws@au.dyndns.ws) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [150.101.137.129]) by mx1.freebsd.org (Postfix) with ESMTP id C626B804F2 for ; Fri, 6 Oct 2017 12:00:35 +0000 (UTC) (envelope-from ws@au.dyndns.ws) Received: from ppp103-111.static.internode.on.net (HELO lillith-iv.ovirt.dyndns.ws) ([150.101.103.111]) by ipmail06.adl2.internode.on.net with ESMTP; 06 Oct 2017 22:25:25 +1030 X-Envelope-From: ws@au.dyndns.ws X-Envelope-To: freebsd-questions@freebsd.org Received: from predator-ii.buffyverse (predator-ii.buffyverse [172.17.17.136]) by lillith-iv.ovirt.dyndns.ws (8.14.9/8.14.9) with ESMTP id v96BtHn6063906; Fri, 6 Oct 2017 22:25:18 +1030 (ACDT) (envelope-from ws@au.dyndns.ws) Message-ID: <1507290916.2905.5.camel@au.dyndns.ws> Subject: Re: Application startup time From: Wayne Sierke To: Janos Dohanics , FreeBSD Questions Date: Fri, 06 Oct 2017 22:25:16 +1030 In-Reply-To: <20171005133321.dc9114dee1a31346b96a4d08@3dresearch.com> References: <20171005133321.dc9114dee1a31346b96a4d08@3dresearch.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.24.2 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Greylist: inspected by milter-greylist-4.6.2 (lillith-iv.ovirt.dyndns.ws [172.17.17.142]); Fri, 06 Oct 2017 22:25:19 +1030 (ACDT) for IP:'172.17.17.136' DOMAIN:'predator-ii.buffyverse' HELO:'predator-ii.buffyverse' FROM:'ws@au.dyndns.ws' RCPT:'' X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (lillith-iv.ovirt.dyndns.ws [172.17.17.142]); Fri, 06 Oct 2017 22:25:19 +1030 (ACDT) X-Scanned-By: MIMEDefang 2.78 on 172.17.17.142 X-Scanned-By: SpamAssassin 3.004001(2015-04-28) X-Scanned-By: ClamAV X-Spam-Score: -1 () ALL_TRUSTED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2017 12:00:37 -0000 On Thu, 2017-10-05 at 13:33 -0400, Janos Dohanics wrote: > Greetings, > > I have a fairly recently built computer: i7-4790K CPU @ 4.00GHz, 32GB > RAM, GeForce GT 730, FreeBSD 10.4-BETA2. > > On this computer, I have thunderbird-52.3.0_3, installed from ports. > > Thunderbird takes 38 seconds to start up, that is, from clicking the > icon until Thunderbird offers a login prompt. > > On the same computer, I also have Virtualbox + Win7 Pro installed. > The > Win7 machine has 8 GB RAM. Thunderbird in the Win7 virtual machine > starts in 7 seconds. > > In addition, Thunderbird in the FreeBSD host often freezes for > several > seconds, as long as 20 seconds or longer. > > During such "freezes" top(1) showed plenty of CPU and RAM being > available. > > As per instructions on page https://wiki.mozilla.org/MailNews:Logging > I > did: > > $ export MOZ_LOG=IMAPOFFLINE:5,MAILBOX:5,MSGDB:5,timestamp > $ export MOZ_LOG_FILE=/tmp/ztb_log > > Just guessing that logging these modules might offer some clue. > > Then started and shut down Thunderbird from the command > line. /tmp/ztb_log is created, but empty. > > Please advise... Hi Janos, Best guess is that 38s includes 30s of "network issue" (probably dns) delay time. Given that the Windows TB client doesn't appear to suffer from the same problem - and assuming that it is configured to access the same mail servers - that may help you isolate a network configuration problem. A good place to start would be to compare the DNS configuration in FreeBSD vs the Windows VM. The "freezes" are a bit curious. If they're repeatable (i.e. occur in response to a specific action) you could put TB into "offline" mode and see if the freezes still occur. If they don't then they are probably related to the same network issue.