Date: Wed, 15 Apr 2015 15:25:06 +0200 (CEST) From: Raimund Sacherer <rs@logitravel.com> To: opendaddy@hushmail.com Cc: freebsd-questions@freebsd.org Subject: Re: Initial request to server extremely slow after longer periods of inactivity 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> <CADqw_gK8-bxeNTYw4ATQnSM-w0iNBVWma83hMScdbsCwzEGxEw@mail.gmail.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>
next in thread | previous in thread | raw e-mail | index | archive | help
> Hi! > On 13. april 2015 at 9:33 AM, "Raimund Sacherer" <rs@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? 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?319299027.126672656.1429104306301.JavaMail.zimbra>