On Tue, Aug 14, 2012 at 12:49 PM, Steve LaBadie <[email protected]>wrote:
>
> We deployed a new website several weeks ago.
> The average number of jqueries served before July-19 was ~2000 a day;
> now we are serving ~45,000.
>

10x more traffic? Yeah that will hit you where it hurts for sure. The first
advise I would give is to look at changing you code to use the Google
hosted version of these libraries:

http://encosia.com/3-reasons-why-you-should-let-google-host-jquery-for-you/


> Also, the rich format of the new website is taxing the ColdFusion
> engine.
>

Yes, 10x traffic will do that. :)


> When the website seems to stop, the number of connections to CF's port
> 51011 increase from about 5 (average normal) to about 500.
>

This smells like CF is getting hung and IIS continues to send it requests.
This leads to a dogpile effect on CF where it's still receiving new
requests from IIS but can no longer respond. This is usually due to a
problem with something getting hung up in your CF code, or with SQL. For
example, a SQL call that never comes back from the database, or some CFHTTP
calls that never hear back from their servers, or a CFLOCK tag that's in a
deadlock.

If this is in fact the problem - the best way to troubleshoot this is
install something like FusionReactor on the server and get a stack trace
while the error is occurring. This will quite literally give you the exact
line of ColdFusion code causing the problem. I'd bet a dollar that it's one
of the three things I mentioned above.

-Cameron

-- 
Cameron Childress
--
p:   678.637.5072
im: cameroncf
facebook <http://www.facebook.com/cameroncf> |
twitter<http://twitter.com/cameronc>
 | google+ <https://profiles.google.com/u/0/117829379451708140985>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352150
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to