Initial request to server extremely slow after longer periods of inactivity

opendaddy at hushmail.com opendaddy at hushmail.com
Wed Apr 15 13:09:24 UTC 2015


Hi!

On 13. april 2015 at 9:33 AM, "Raimund Sacherer" <rs at logitravel.com> 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.



More information about the freebsd-questions mailing list