From owner-freebsd-questions@FreeBSD.ORG Wed Apr 15 13:09:24 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 9B20BAE2 for ; Wed, 15 Apr 2015 13:09:24 +0000 (UTC) Received: from smtp2.hushmail.com (smtp2.hushmail.com [65.39.178.134]) (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 784E1C01 for ; Wed, 15 Apr 2015 13:09:24 +0000 (UTC) Received: from smtp2.hushmail.com (localhost [127.0.0.1]) by smtp2.hushmail.com (Postfix) with SMTP id 60CFFA044A for ; Wed, 15 Apr 2015 13:09:17 +0000 (UTC) Received: from smtp.hushmail.com (w3.hushmail.com [65.39.178.62]) by smtp2.hushmail.com (Postfix) with ESMTP; Wed, 15 Apr 2015 13:09:16 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 99) id DF7BFC0713; Wed, 15 Apr 2015 13:09:16 +0000 (UTC) MIME-Version: 1.0 Date: Wed, 15 Apr 2015 13:09:16 +0000 To: "Raimund Sacherer" Cc: freebsd-questions@freebsd.org Subject: Re: Initial request to server extremely slow after longer periods of inactivity From: opendaddy@hushmail.com In-Reply-To: <256156537.124536215.1428917679223.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> <20150411151945.B265FA01DE@smtp.hushmail.com> <256156537.124536215.1428917679223.JavaMail.zimbra@logitravel.com> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Message-Id: <20150415130916.DF7BFC0713@smtp.hushmail.com> 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:09:24 -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? O.D. > >Best >Ray > >> Also, how can I do stuff like `traceroute` or `mtr` knowing >beforehand that >> the server is indeed unresponsive? Since it's only unresponsive >on first >> requests, if I send a request to check, things will have >returned to normal >> by the time I get to run those commands. > >> Thanks! > >> O.D. > >-- > >-- > >Raimund Sacherer >Sistemas >Agencia de Viajes Online >www.logitravel.com >Edificio Logitravel, Parcela 3B (Parc Bit) >Ctra. Palma - Valldemossa km 7,4 | 07121 Palma de Mallorca >Tel 902 366 847 | Fax 971 213 495 >Síguenos en: Descarga nuestras aplicaciones para móvil >Este correo electrónico y, en su caso, cualquier fichero anexo, >contiene información de carácter confidencial exclusivamente >dirigida a su destinatario. Queda prohibida su divulgación, copia >o distribución a terceros sin la previa autorización escrita de >LOGITRAVEL S.L.. En caso de haber recibido este correo electrónico >por error, se ruega notifíquese inmediatamente esta circunstancia >mediante reenvío a la dirección electrónica del remitente. Al >mismo tiempo LA EMPRESA le recuerda que sus datos forman o >formarán parte de un fichero registrado como CLIENTES con número >de inscripción 2070610043 en la Agencia General de Protección de >Datos, propiedad de la empresa LOGITRAVEL, con domicilio en >Edificio Logitravel, Ctra. Palma - Valldemosa km 7,4, Parc Bit, >Palma de Mallorca. Usted tiene derecho de acceso, oposición, >rectificación y cancelación a estos datos que deberá ejercer >mediante escrito a la dirección anteriormente citada.