From owner-freebsd-questions@FreeBSD.ORG Fri Apr 10 00:50:29 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 972B7E05 for ; Fri, 10 Apr 2015 00:50:29 +0000 (UTC) Received: from nm32-vm7.bullet.mail.bf1.yahoo.com (nm32-vm7.bullet.mail.bf1.yahoo.com [72.30.239.143]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3F21A824 for ; Fri, 10 Apr 2015 00:50:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1428627022; bh=Y3xaY0QCqba2ga38cDPZYmx2nKENYwpgaVGpnrlimBk=; h=Date:From:To:Subject:References:In-Reply-To:From:Subject; b=aFk84DH4oiItW+Qki6AyaXjUunDeJ3SOkAQJ3h3s2DgM1qvSaoOa8crQus1l88kJna985SG6atXL1oskDVMjxH1HUJQxBbh384BtPn05egdarPlbI4EK3yqOcEXB0aNtkB+56is5Y1HAeZB1OZ5k0W9n/w79ofOk8sfCh9q2G+2U1M7fDPn/PS2O2kDnIP10dJiDkgIC1ONwG54Kjktxm3n9t8Zw+Rtx9SKFIaYkw0tu8eM7tmeablZIgrBjK/UhsgbWzV7VW/hZ0PICnbgsLiOQJe4k8wT3qt1eFZpTHd8Jc8w5HP/cHMHrMyfZC7rKDSxGc+a7htb1mJmSEsPS3Q== Received: from [98.139.215.140] by nm32.bullet.mail.bf1.yahoo.com with NNFMP; 10 Apr 2015 00:50:22 -0000 Received: from [98.139.211.197] by tm11.bullet.mail.bf1.yahoo.com with NNFMP; 10 Apr 2015 00:50:22 -0000 Received: from [127.0.0.1] by smtp206.mail.bf1.yahoo.com with NNFMP; 10 Apr 2015 00:50:22 -0000 X-Yahoo-Newman-Id: 28101.45108.bm@smtp206.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: TzDxoboVM1mpJeQXtp30nU_WPoqoRjqAlGh4hQYZaUh5IK7 YZfBJOyw6z80C5QDd44FJSMRIPH6VaKLv4LDxAVW5oMo6tY8SJTxewB.xPjO 36CpSoXAt8o27g81kmlZUWwVkDGAftCUeQAyAFVxXbOtwJKLkQSnzosZQnb4 hjL1navcHSk0vXg.QPFMp9O5elqhF.sK5zePTCanKZvaQ.Z26cCUmiNMEZqK L3oZbNec4jUllTjeJIFY7sZB_cwj75bPQh.PHPrOcgoXO4LSelA6ugKtqEYx asWl3SdTZqS5a9DOo7dfO9lx7_JQj9LE1DEjRSlApaW4lvmtwJQRo.KbBHZ0 JojAM8CRO0CmQDFbFcBlZU2HwctxIEXckQ8PDIzn6pcrt7H5MQnLr2obafop sHFfivr_9701yqmyexG2NJ4sS0gODTkIjGLb4GHhoZEJ83VewEfJ23II2yHz ZbWSty1kcbTCtz6vwo5OuoBfwsuDo1wgnQjK8T22hFf45ZGxFlsJZsemJ5BG h5Axx0yYPW5wXFDVfvWxlXwX3a1ErgBQGt7bx X-Yahoo-SMTP: h3Xqg6.swBC0yI913RMMwp94grO_cg-- Message-ID: <55271E4D.1090407@yahoo.com> Date: Thu, 09 Apr 2015 20:50:21 -0400 From: "pathiaki2@yahoo.com" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Initial request to server extremely slow after longer periods of inactivity References: <20150409034121.7D7C720395@smtp.hushmail.com> <20150409113955.B714D401E3@smtp.hushmail.com> In-Reply-To: <20150409113955.B714D401E3@smtp.hushmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2015 00:50:29 -0000 Could this be a simple name resolution timeout issue? Check your /etc/resolv.conf file and comment out the first server and see if using the second server gets faster response. A simpler check would be to put the host that is connecting to the machine IPs address in the /etc/hosts and turn off DNS resolution in /etc/nsswitch.conf. P. On 04/09/2015 07:39, opendaddy@hushmail.com wrote: > Hello! > > On 9. april 2015 at 5:20 AM, "Michael Schuster" wrote: >> Hi, >> >> at first glance, this sounds a bit like a paging/swapping issue - >> are other things active on that machine? > Not really, no. > > I have 2GB memory (350MB in use) and 3GB swap (600MB in use). > > Thanks! > > O.D. > >> regards >> Michael >> >> On Thu, Apr 9, 2015 at 5:41 AM, wrote: >> >>> Hi! >>> >>> I'm running this Rails app on a DigitalOcean FreeBSD droplet. >> Lately I've >>> been experiencing extremely slow initial requests after longer >> periods of >>> inactivity. Subsequent requests are fine. >>> >>> At first I thought it was my PostgreSQL database or the Rails >> app itself, >>> but now I doubt that's the case as I just realized SSH >> connections made >>> simultaneously with those initial requests are equally slow. >>> >>> Has anybody ever encountered anything similar? >>> >>> Thanks! >>> >>> O.D. >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to " >>> freebsd-questions-unsubscribe@freebsd.org" >>> >> >> >> -- >> Michael Schuster >> http://recursiveramblings.wordpress.com/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"