Strange issue and don't have an answer

This at the moment is not something I have looked into, so I am not sure how or where to begin looking and need to prove that it is not ContentBox as being the issue.

In development, the stock standard configuration of caching and other ColdBox settings is being used, as well as the same settings on the Production server. The problem is that on the production server I am beginning to see the site get slower and slower as time goes on.

The site at the moment has pretty much doubled, so the question I need to ask why does that happen and how can I fix it. If this is not a ContentBox / CacheBox / ColdBox issue what information can I give the hosting company to begin to address this issue.

And one of the things that sticks out is that the reaping of the cache is taking longer and longer as well.

Hi Andrew,

We also had similar behaviour some time, it was more related to cf-orm entities.
So quick work around is to fwreinit & ormReload() makes the performance difference. Now we have daily task for this

I do agree with you that its really difficult to pin-point the issue on shared hosting.

Sana,

No this is not a solution and here is why, this is a complete refresh install of ColdFusion 10 on Windows 8, so a fwreinit and ORMReload() will not solve this.

This code was working prior to that fresh installation, and has now stopped working, in production it works and I believe there is a difference between the Update 8 with Java 7 and the complete fresh install of ColdFusion 10 with Java 7.

Hopefully that makes sense, so seeing as this came from a complete restart of ColdFusion the application reinit etc is not the issue.

But you should know by know that this is one of the very first things that I would have tried before coming here, if the code had changed and as this code hasn’t changed for over 10 months, then I doubt that it is my code.

Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411

Did you check your JVM settings e.g. garbage collection, heap size etc? Did you monitor with JDK jconsole?

First I think that a method not found, would indicate that none of those suggestions are even in the ball park of the problem.

Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411

Sorry Ernst wrong thread and reply.

I don’t have access to the machine as this is a shared host, if this was the issue they would have pointed that fact out straight away. ContentBox actually runs in a very small footprint of memory, the problem from what I can tell has something to do with the caching either from the OS level or from ColdFusion becuase even the reaping of these caches has more than doubled, in some cases it has blown out to 10 times what it would normally take.

So in answer to your question, or answer, is that if the ContentBox had issues with the JVM and Heap etc as you think, I would have know before now.

Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411

Andrew,

Is it ehcache reaping, or CacheBox reaping?

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

Cahcebox…

Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411

signature0.jpg

How many objects do you have in cache?
How are you timing reaps. Post your config here please

Luis Majano
CEO
Ortus Solutions, Corp
Toll Free/Fax: 1-888-557-8057
Direct: 909-248-3408
www.ortussolutions.com
Twitter: @lmajano, @ortussolutions

The config as stated is a stock standard ContentBox configuration, the reap timings are in the logs.

Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411

I would be interested to know how many elements are in the cache when you do the reaps. Is there a way to see this.

I don’t know what would be going on as all our sites and clients are deployed with ContentBox and have no issues on threads like this.

I can do an online session with you if you like next week and help you out.

Luis Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Social: twitter.com/ortussolutions | twitter.com/coldbox | twitter.com/lmajano

Luis, I think the reaps is connected not the cause.

Now when I did a debugpanel, there where as little as 4 pages cached with around 4 or 5 hits each. That was for the template cache, the default cache had a bit more not much, but a bit more.

Let me know when you are available, as this is driving me insane.

I still maintain that this is an ORM issue, or DB congestion because a server restart does not fix it.

Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411

Luis,

I am not happy with you, at least if what my hosting provider is telling me.

Before I even contacted them and even posted in here, I did a hell of a lot of tests and timings, to see where the cause might be. And I will not have you tell my hosting provider that I am not using a stock standard ContentBox configuration, when I told you some time ago that I was. The only difference is that I have added a few modules that take care of SyntaxcHighlight and Google Analytics. Those two modules alone have always executed at around 10ms, when I deactivated these modules for a few days it made no difference. The timings that I had in place remained the same regardless of those modules or not.

So I went digging further and further with my tests, and you will see from the information that I have posted that all the pages that have ORM calls (Which BTW are stock standard ContentBox calls) are blowing out to sometimes 6000ms.

Now the problem just stopped with no code change from me, or even anything done by the hosting provider, and everything seems to be fine again. That makes us both at a loss to explain why this is.

But I am so annoyed that you couldn’t even bother to talk or communicate with me, before telling my hosting provider the biggest bag of lies there is.

On top of all this, I showed you how the reaping from cachebox is also blowing out to 6000-8000ms and sometimes I have seen 25000ms. These reaps are ColdBox and the Configuration for these are what YOU ship with ContentBox, so I take huge offence that you told my hosting provider otherwise.

Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/113032480415921517411