From owner-freebsd-questions@FreeBSD.ORG Fri Apr 10 15:56:36 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 3A705A10 for ; Fri, 10 Apr 2015 15:56:36 +0000 (UTC) Received: from smtp5.hushmail.com (smtp5.hushmail.com [65.39.178.142]) (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 19BCEC73 for ; Fri, 10 Apr 2015 15:56:35 +0000 (UTC) Received: from smtp5.hushmail.com (localhost [127.0.0.1]) by smtp5.hushmail.com (Postfix) with SMTP id C9E2B601E0 for ; Fri, 10 Apr 2015 15:56:34 +0000 (UTC) Received: from smtp.hushmail.com (w8.hushmail.com [65.39.178.52]) by smtp5.hushmail.com (Postfix) with ESMTP; Fri, 10 Apr 2015 15:56:34 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 99) id 4BAD7E0549; Fri, 10 Apr 2015 15:56:34 +0000 (UTC) MIME-Version: 1.0 Date: Fri, 10 Apr 2015 15:56:34 +0000 To: "Raimund Sacherer" Subject: Re: Initial request to server extremely slow after longer periods of inactivity From: opendaddy@hushmail.com In-Reply-To: <369199529.123430074.1428656504549.JavaMail.zimbra@logitravel.com> References: <20150409034121.7D7C720395@smtp.hushmail.com> <20150409113928.EE31F401E4@smtp.hushmail.com> <20150409185801.1B1E9401E3@smtp.hushmail.com> <369199529.123430074.1428656504549.JavaMail.zimbra@logitravel.com> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Message-Id: <20150410155634.4BAD7E0549@smtp.hushmail.com> Cc: freebsd-questions@freebsd.org 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 15:56:36 -0000 Hello! On 10. april 2015 at 9:01 AM, "Raimund Sacherer" wrote: > >Hi, > >we have quite a few unix servers around and I am unfamiliar with a >cron-setup just to keep some sort of connectivity going. > >First I would check the /etc/resolv.conf, if you want post it. Turns out my resolv.conf is actually autogenerated by DigitalOcean so if anything it's their fault. I've contacted customer support and will keep you all posted on the outcome. >Then what I would do in your case is open a few ssh sessions, run >top with cpu focus in one, top with IO focus in another and in a >third i would take a tcpdump written to a file. Maybe another >session with vmstat to check on pagin/pageout, etc. > >Then I'd wait the appropriate amount of time and try a web >connection, if it takes long, I'l check the top's if there is >something going on (lot's of CPU, lot's of IO, pages etc.) and >check the tcpdump in wireshark to see if there are problematic DNS >queries which maybe are timing out, etc. That's a really good idea! >That should cover the bases ... Maybe you are on some sort of >cheap VPS service which has resources severely over-commited and >maybe your whole system has to "wake up" ... but this is a very >far-fetched scenario. Just confirmed that DigitalOcean does not have any sort of power saving mode in place. O.D. > >Best >Ray