From owner-freebsd-questions@FreeBSD.ORG Wed Apr 15 13:25:10 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 515822D9 for ; Wed, 15 Apr 2015 13:25:10 +0000 (UTC) Received: from formentor.toolfactory.net (pina.toolfactory.net [213.97.158.39]) by mx1.freebsd.org (Postfix) with ESMTP id E108CE1D for ; Wed, 15 Apr 2015 13:25:09 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by formentor.toolfactory.net (Postfix) with ESMTP id 83EBC177749; Wed, 15 Apr 2015 15:25:07 +0200 (CEST) Received: from formentor.toolfactory.net ([127.0.0.1]) by localhost (formentor.toolfactory.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id lWOfwOAzeEEj; Wed, 15 Apr 2015 15:25:07 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by formentor.toolfactory.net (Postfix) with ESMTP id 2D2F517790C; Wed, 15 Apr 2015 15:25:07 +0200 (CEST) X-Virus-Scanned: amavisd-new at logpmzimmta01v.toolfactory.net Received: from formentor.toolfactory.net ([127.0.0.1]) by localhost (formentor.toolfactory.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pKPbhxjJ0XUD; Wed, 15 Apr 2015 15:25:07 +0200 (CEST) Received: from xorrigo.toolfactory.net (unknown [192.168.2.210]) by formentor.toolfactory.net (Postfix) with ESMTP id 18B0F177749; Wed, 15 Apr 2015 15:25:07 +0200 (CEST) Date: Wed, 15 Apr 2015 15:25:06 +0200 (CEST) From: Raimund Sacherer Reply-To: Raimund Sacherer To: opendaddy@hushmail.com Cc: freebsd-questions@freebsd.org Message-ID: <319299027.126672656.1429104306301.JavaMail.zimbra@logitravel.com> In-Reply-To: <20150415130916.DF7BFC0713@smtp.hushmail.com> References: <20150409034121.7D7C720395@smtp.hushmail.com> <20150409113928.EE31F401E4@smtp.hushmail.com> <20150409185801.1B1E9401E3@smtp.hushmail.com> <369199529.123430074.1428656504549.JavaMail.zimbra@logitravel.com> <20150411151945.B265FA01DE@smtp.hushmail.com> <256156537.124536215.1428917679223.JavaMail.zimbra@logitravel.com> <20150415130916.DF7BFC0713@smtp.hushmail.com> Subject: Re: Initial request to server extremely slow after longer periods of inactivity MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.2.213] X-Mailer: Zimbra 8.0.8_GA_6184 (ZimbraWebClient - SAF7 (Mac)/8.0.8_GA_6184) Thread-Topic: Initial request to server extremely slow after longer periods of inactivity Thread-Index: DWEnY7Ets6jZGZtvBLqLol/ptZNBcw== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2015 13:25:10 -0000 > Hi! > On 13. april 2015 at 9:33 AM, "Raimund Sacherer" wrote: > > > >Yes, that could be, but you would be able to rule it out rather > >quickly, if you do not seem to get the system in the > >"unresponsive" state then I would execute them in a screen or tmux > >session so they are available for you to check out later. In this > >case a top won't do you much good and you have to use some form of > >vmstat or similar to check out what had happened (cpu, paging, > >interrupt storm, context switches, IO-wait, etc.). If none of > >those indicates problems, and the tcpdump does not reveal DNS > >problems it may be an issue with the VPS host (if you use a > >virtually shared hosted service). > Thanks man, I'll give that a go. > So basically I have to set up a crontab to run vmstat say once every 30 > minutes? No, if you do vmstat 1 it runs prints every second statistics, on the man-page for vmstat you can read about all it's flags and switches. best Ray