Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Apr 2015 18:58:00 +0000
From:      opendaddy@hushmail.com
To:        "Michael Schuster" <michaelsprivate@gmail.com>, terje@elde.net, freebsd-questions@freebsd.org
Subject:   Re: Initial request to server extremely slow after longer periods of inactivity
Message-ID:  <20150409185801.1B1E9401E3@smtp.hushmail.com>
In-Reply-To: <CADqw_gK8-bxeNTYw4ATQnSM-w0iNBVWma83hMScdbsCwzEGxEw@mail.gmail.com>
References:  <20150409034121.7D7C720395@smtp.hushmail.com> <CADqw_gL6b4fYyda9GzKt4BGv=d=sASttf4bp2_W%2B6JnuKQUCjg@mail.gmail.com> <20150409113928.EE31F401E4@smtp.hushmail.com> <CADqw_gK8-bxeNTYw4ATQnSM-w0iNBVWma83hMScdbsCwzEGxEw@mail.gmail.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
It's probably not my DNS. From the NSD mailinglist:

> On 9. april 2015 at 6:49 PM, "Ondřej Surý" <ondrej@sury.org> wrote:
>
> if you run the daemon in any environment that is resource starved and
> the process(es) gets swapped than anything will be slow on first request
> after period of inactivity. Not just NSD and not just any DNS server,
> but anything...

I read somewhere that some people use a cron script to send a request to the webserver every so often. Is this something that everybody does but that I've somehow missed? Does it have a name?

Thanks!

O.D.

On 9. april 2015 at 11:41 AM, "Michael Schuster" <michaelsprivate@gmail.com> wrote:
>
>ok ...
>
>regards
>Michael
>
>On Thu, Apr 9, 2015 at 1:39 PM, <opendaddy@hushmail.com> wrote:
>
>> Hello!
>>
>> On 9. april 2015 at 5:20 AM, "Michael Schuster" 
><michaelsprivate@gmail.com>
>> wrote:
>> >
>> >Hi,
>> >
>> >at first glance, this sounds a bit like a paging/swapping issue 
>-
>> >are other things active on that machine?
>>
>> Not really, no.
>>
>> I have 2GB memory (350MB in use) and 3GB swap (600MB in use).
>>
>> Thanks!
>>
>> O.D.
>>
>> >
>> >regards
>> >Michael
>> >
>> >On Thu, Apr 9, 2015 at 5:41 AM, <opendaddy@hushmail.com> wrote:
>> >
>> >> Hi!
>> >>
>> >> I'm running this Rails app on a DigitalOcean FreeBSD droplet.
>> >Lately I've
>> >> been experiencing extremely slow initial requests after longer
>> >periods of
>> >> inactivity. Subsequent requests are fine.
>> >>
>> >> At first I thought it was my PostgreSQL database or the Rails
>> >app itself,
>> >> but now I doubt that's the case as I just realized SSH
>> >connections made
>> >> simultaneously with those initial requests are equally slow.
>> >>
>> >> Has anybody ever encountered anything similar?
>> >>
>> >> Thanks!
>> >>
>> >> O.D.
>> >>
>> >> _______________________________________________
>> >> freebsd-questions@freebsd.org mailing list
>> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> >> To unsubscribe, send any mail to "
>> >> freebsd-questions-unsubscribe@freebsd.org"
>> >>
>> >
>> >
>> >
>> >--
>> >Michael Schuster
>> >http://recursiveramblings.wordpress.com/
>>
>>
>
>
>-- 
>Michael Schuster
>http://recursiveramblings.wordpress.com/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150409185801.1B1E9401E3>