Initial request to server extremely slow after longer periods of inactivity

Jon Radel jon at radel.com
Thu Apr 9 06:24:30 UTC 2015


On 4/8/15 11:41 PM, opendaddy at 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.
>
>
Something has gone semi-wrong with DNS and it works quickly when in a 
local cache and takes a long time to fetch when expired from the cache?  
Assuming you're using names for the connections.....

--Jon Radel
jon at radel.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3870 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20150409/a324a9f2/attachment.bin>


More information about the freebsd-questions mailing list