March 7, 2019
Anyone else experiencing performance issues over CF2018/Apache
Comments
(5)
March 7, 2019
Anyone else experiencing performance issues over CF2018/Apache
Newbie 2 posts
Followers: 0 people
(5)

Hi community!

Our team has been using ColdFusion at least since CF7MX and probably even prior to that. We’re currently migrating from CF10 to CF2018. Our configuration is simple: Linux, Apache, ColdFusion and Oracle (LACFO? No? Well, I tried). Over the years this configuration has served us well, and even though we had to do a bit of research and configuration when migrating to CF10 we never had really bad performance. With the new servers we got however we’re seeing a negative impact in terms of performance. Request-Response times are taking between 1.5x and 4x longer than in our CF10 servers. Is anyone else experiencing issues like this? If so, have you solved them? What could we try? We’ve applied all released patches.

5 Comments
2020-03-11 14:03:47
2020-03-11 14:03:47

Miguel, So did you get your problem solved? If yes, what did you end up doing so people can learn from your experience.

Like
(1)
>
AjasHadi
's comment
2020-03-11 15:13:23
2020-03-11 15:13:23
>
AjasHadi
's comment

Ajas, while we wait to hear, I will point out that I never heard from him again after my comments or offer to help, so I can’t offer any update. I have the same suspicions that I suggested in my comments last year. If you may not be experiencing the same problem, do be sure to consider those. But I realize you may already have done so and might just be asking for the sake of others who may find this.

Like
2019-03-08 14:36:20
2019-03-08 14:36:20

Miguel, there is no inherent reason cf 2018 would be slower, no.

First can you confirm if it was slow with no updates, and/or update 1 or 2 or 3?

More important, you refer to these as “new servers”, so do you really mean that cf2018 is running on a new box compared to cf10? If so, then first note that the change in performance could be related to that.

What else changed? OS version, too? Apache version? Of course the jvm version changed  as cf2018 runs on Java 10–or 11 as of  the new installers in Feb.

Have you confirmed that any tweaks you’d made to those on the old are carried forward to the new?

Or perhaps some tweaks you made to make things non-standard on the old are no longer appropriate to the new (especially perhaps jvm tweaks).

Have you indeed made sure to raise cf’s max heap size z as the default of 1g is too small for most production needs, in my experience.

Finally, do you have any monitoring on CF? Whether the cf2018 PMT, FusionReactor, jvm tools, or others, you can’t really diagnose what you can’t measure.

And if those clues aren’t enough and you need this solved, I’ll add that I help people with such problems every day, in my consulting (carehart.org/consulting), remotely, safely, quickly, and with satisfaction guaranteed or you won’t pay for time you don’t value.

Happy to help here, of course, while feasible. And others will likely chime in.

Like
(2)
>
Charlie Arehart
's comment
2019-03-08 16:34:58
2019-03-08 16:34:58
>
Charlie Arehart
's comment

Hi Charlie,

We updated up to patch 2 fairly quickly so prior to that I can’t say. We’re now on update 3; still the same story.

Yes, we have entirely new servers running CF2018. These are significantly beefier than the ones we have running CF10 when it comes to RAM and CPU.

We switched from Debian (Wheezy) to RHEL7 and from Apache 2.2 to Apache 2.4.

I increased the max heap size to 8GB and set the min to 1GB. I’ve been trying different JVM settings to no avail. Right now we don’t have a monitoring tool, but we’ve been using Chrome’s Page Load Time extension to track and compare across the board. We’re aware this is not very robust.

What we’ve noticed is that simple Requests times (as in the time between server getting the request and “first byte”) are significantly lower on the new systems, it is only when we do more complex operations that the performance becomes worse than the old configuration, the bigger difference being the Requests time. Response times (as in time from “first byte” to the moment the browser starts rendering the DOM) on the other hand seem to be better on the old ones but that might tweaks on the Apache configuration.

Like
>
Miguel Arvelo
's comment
2019-03-09 01:17:19
2019-03-09 01:17:19
>
Miguel Arvelo
's comment

You will need monitoring within cf to know of that slow response time is in cf (as you may be presuming) or perhaps in/due to the web connector (between apache and CF), or perhaps even in apache itself (it can happen).

I could help you know (implementing the fr free trial, with a CF restart, then determining if the slowness is in CF) in as little as 15 mins together, if interested.

Like
Add Comment