Timeout issues with BlogCFC

21 views
Skip to first unread message

Steven Durette

unread,
Jan 16, 2013, 2:53:32 AM1/16/13
to blo...@googlegroups.com
Hi all, 

I have a really low volume blog (only 2 entries in 6 months), but when I go to the blog or bots go to it, I get emailed about tag timeouts either in cfoutput or cfloop.  My provider is HostMedia (thanks cfhour for the discount code!), so I don't believe it is the hosting, maybe I just have something set up wrong. Any ideas?  I can provide copies of the emails with private info redacted if that would help.

Thanks,
Steve

Raymond Camden

unread,
Jan 16, 2013, 9:52:17 AM1/16/13
to blo...@googlegroups.com
Hmm. BlogCFC typically caches pretty heavily. Have you checked to ensure you are on the latest version?
--
===========================================================================
Raymond Camden, Adobe Developer Evangelist

Email : raymon...@gmail.com
Blog : www.raymondcamden.com
Twitter: cfjedimaster

Charlie Arehart

unread,
Jan 16, 2013, 12:12:37 PM1/16/13
to blo...@googlegroups.com

Steve, if you’re thinking “so there must be a problem with something as simple as CFOUTPUT or CFLOOP” (and you figure your server can’t be the problem), I’ll assert that’s not the case. But it’s a frequent source of confusion.

Instead, the issue is that it’s the tag BEORE that which reports the timeout which took a long time, and therefore took the whole page beyond your set CF timeout (whether the CF Admin timeout, or the CFSETTING timeout). For more on this issue, see a blog entry I did: http://www.carehart.org/blog/client/index.cfm/2010/10/15/Lies_damned_lies_and_CF_timeouts (that’s a long URL, so if it splits over two lines, please just join it back together). I’ve also done a couple of talks on discussing that in the context of some other common surprising challenges, http://carehart.org/presentations/#10plagues, if that may interest you.  

So it could be that your CF server was trying to do a CFQUERY to your DB server, and though yes BlogCFC does caching, it could be that this was hanging up on the initial call for a given potentially cachable thing, and therefore it was never cached.

Of course, the problem you had may have been only temporary, so that you may find now that all it working. But if it happens again, hope the info above may help (or may help others.)

 

/charlie

Steven Durette

unread,
Jan 17, 2013, 12:38:13 AM1/17/13
to blo...@googlegroups.com
Ray,

Thanks for the help, My version is 5.9.8.012.  I have a strong feeling that this is a caching issue. My blog only has two entries, and in general I'm the only one who hits it.  The site does come up after the error, so I think the timeout is because of the site having to cache all of the info over again.

Steve


On Wednesday, January 16, 2013 9:52:17 AM UTC-5, Raymond Camden wrote:
Hmm. BlogCFC typically caches pretty heavily. Have you checked to ensure you are on the latest version?

Steven Durette

unread,
Jan 17, 2013, 12:41:58 AM1/17/13
to blo...@googlegroups.com
Charlie,

Thanks for helping. I have actually read that blog post before, I read a lot of your and Ray's blog posts. I think this is a case of the caching timing out, then having to be re-cached. I'm going to have to do a little checking to see if that is the case, currently I'm on shared hosting so I don't have access to CF Admin or FusionReactor.

Thanks for the push though.
Steve
Reply all
Reply to author
Forward
0 new messages