• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

ColdFusion 9 performance problem

New Here ,
Nov 21, 2014 Nov 21, 2014

Copy link to clipboard

Copied

Hello,

I have a probem with ColdFusion 9, that it is very slow.

I installed it on current Debian 7 x64. As a test I will write 100 times with little text files.

Here the ColdFusion 9 server needs already 8 seconds.

Does anyone know a solution or knows the problem?

Greetings.

nc-t

Views

290

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 21, 2014 Nov 21, 2014

Copy link to clipboard

Copied

On which hardware did you run the Server?

Did you have checked the processing in detail?

Which part of the processing is slow?

Did you have any further information e.g. the CF-script you run, protocols, logs, ...?

Regards

Checkit4

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 23, 2014 Nov 23, 2014

Copy link to clipboard

Copied

LATEST

Hello,

On which hardware did you run the Server?

The server runs on this hardware:

16 GB RAM

4 vCores

80GB SAN

LVM:

/ 20 GB

/boot 500 MB

/tmp 2 GB

/srv 41.5 GB

Did you have checked the processing in detail?

Which part of the processing is slow?

I try the FusionReactor to check some details in processing but the only thing i saw was an slow hdd access.

Did you have any further information e.g. the CF-script you run, protocols, logs, ...?

I checked the log files first. The only warning entry there is the request has exceeded the allowable time limit (30 sec).

I used the following tests to take the time:

<cfset filepath = "/var/www/">

<cfset iterations = 100>

<cfset times = structNew()>

<cfset times['file_write'] = 0>

<cfset times['file_read'] = 0>

<cfset times['file_delete'] = 0>

<cftry>

        <cfloop from="1" to="#iterations#" index="i">

                <cfset start = gettickcount()>

                <cffile action="WRITE" file="#filepath#tmp/benchmark.txt" output="Benchmark">

                <cfset times['file_write'] += gettickcount() - start>

                <cfset start = gettickcount()>

                <cffile action="READ" file="#filepath#tmp/benchmark.txt" variable="tmp">

                <cfset times['file_read'] += gettickcount() - start>

                <cfset start = gettickcount()>

                <cffile action="DELETE" file="#filepath#tmp/benchmark.txt">

                <cfset times['file_delete'] += gettickcount() - start>

        </cfloop>

        <cfoutput>

                Iterationen: #iterations#

                <cfdump var="#times#" label="Time in ms">

        </cfoutput>

        <cfcatch>

                <cfdump var="#cfcatch#">

        </cfcatch>

</cftry>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation