Initial request to server extremely slow after longer periods of inactivity

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

On 4/8/15 11:41 PM, opendaddy at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3870 bytes
Desc: S/MIME Cryptographic Signature
URL: <>

More information about the freebsd-questions mailing list