From owner-freebsd-questions@FreeBSD.ORG Thu Apr 9 12:17:17 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DB08268F for ; Thu, 9 Apr 2015 12:17:17 +0000 (UTC) Received: from smtp1.hushmail.com (smtp1.hushmail.com [65.39.178.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.hushmail.com", Issuer "smtp.hushmail.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BD348DF1 for ; Thu, 9 Apr 2015 12:17:17 +0000 (UTC) Received: from smtp1.hushmail.com (localhost [127.0.0.1]) by smtp1.hushmail.com (Postfix) with SMTP id ED22540160 for ; Thu, 9 Apr 2015 11:39:55 +0000 (UTC) Received: from smtp.hushmail.com (w7.hushmail.com [65.39.178.32]) by smtp1.hushmail.com (Postfix) with ESMTP for ; Thu, 9 Apr 2015 11:39:55 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 99) id B714D401E3; Thu, 9 Apr 2015 11:39:55 +0000 (UTC) MIME-Version: 1.0 Date: Thu, 09 Apr 2015 11:39:55 +0000 To: freebsd-questions@freebsd.org Subject: Re: Initial request to server extremely slow after longer periods of inactivity From: opendaddy@hushmail.com In-Reply-To: References: <20150409034121.7D7C720395@smtp.hushmail.com> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Message-Id: <20150409113955.B714D401E3@smtp.hushmail.com> 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: Thu, 09 Apr 2015 12:17:17 -0000 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/