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

Error on CF11 when I increase the request call

New Here ,
Jan 17, 2024 Jan 17, 2024

Copy link to clipboard

Copied

Hi support, 

can you help to identify the issue below?

the error appears when the number of calls increases compared to normal activity.

 

Error count: 0 Bytes received: 1467 Bytes sent: 1939691 Free memory: 20162003096 Total memory: 20439891968 Active Sessions: 0"
"Information","scheduler-1","01/17/24","17:36:30",,"Max threads: 2500 Current thread count: 10 Current thread busy: 0 Max processing time: 350123 Request count: 58 Error count: 0 Bytes received: 1467 Bytes sent: 1939691 Free memory: 20161956776 Total memory: 20439891968 Active Sessions: 0"
"Information","scheduler-0","01/17/24","17:37:30",,"Max threads: 2500 Current thread count: 10 Current thread busy: 0 Max processing time: 350123 Request count: 58 Error count: 0 Bytes received: 1467 Bytes sent: 1939691 Free memory: 20161834128 Total memory: 20439891968 Active Sessions: 0"
"Information","scheduler-0","01/17/24","17:38:30",,"Max threads: 2500 Current thread count: 10 Current thread busy: 0 Max processing time: 350123 Request count: 58 Error count: 0 Bytes received: 1467 Bytes sent: 1939691 Free memory: 20161702664 Total memory: 20439891968 Active Sessions: 0"
"Information","scheduler-1","01/17/24","17:39:30",,"Max threads: 2500 Current thread count: 10 Current thread busy: 0 Max processing time: 350123 Request count: 58 Error count: 0 Bytes received: 1467 Bytes sent: 1939691 Free memory: 20161359144 Total memory: 20439891968 Active Sessions: 0"
"Information","scheduler-3","01/17/24","17:40:30",,"Max threads: 2500 Current thread count: 10 Current thread busy: 0 Max processing time: 350123 Request count: 58 Error count: 0 Bytes received: 1467 Bytes sent: 1939691 Free memory: 20161262096 Total memory: 20439891968 Active Sessions: 0"
"Information","scheduler-3","01/17/24","17:41:30",,"Max threads: 2500 Current thread count: 10 Current thread busy: 0 Max processing time: 350123 Request count: 58 Error count: 0 Bytes received: 1467 Bytes sent: 1939691 Free memory: 20161121920 Total memory: 20439891968 Active Sessions: 0"
"Information","scheduler-3","01/17/24","17:42:30",,"Max threads: 2500 Current thread count: 10 Current thread busy: 0 Max processing time: 350123 Request count: 58 Error count: 0 Bytes received: 1467 Bytes sent: 1939691 Free memory: 20161003832 Total memory: 20439891968 Active Sessions: 0"

 

 

Regards

Federico

Views

343

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
Guide ,
Jan 17, 2024 Jan 17, 2024

Copy link to clipboard

Copied

Hi Federico,

 

Not sure you are explaining the issue. The log sample you show in part says, "Error count: 0", which I think is good normal operation.

 

CF11 is long time end of life status and there would be some old Java in the stack. Could be you are open to known exploits.

 

Regards, Carl.

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 ,
Jan 18, 2024 Jan 18, 2024

Copy link to clipboard

Copied

"Information","scheduler-0","01/13/24","12:34:19",,"Max threads: 2500 Current thread count: 10 Current thread busy: 2 Max processing time: 68690364 Request count: 312713 Error count: 207 Bytes received: 150878175 Bytes sent: 11878185660 Free memory: 13004846176 Total memory: 20375404544 Active Sessions: 730"
"Information","scheduler-3","01/13/24","12:35:19",,"Max threads: 2500 Current thread count: 10 Current thread busy: 1 Max processing time: 68693941 Request count: 312739 Error count: 207 Bytes received: 150878740 Bytes sent: 11879232183 Free memory: 12995453152 Total memory: 20375928832 Active Sessions: 729"
"Information","scheduler-3","01/13/24","12:36:19",,"Max threads: 2500 Current thread count: 10 Current thread busy: 1 Max processing time: 68695548 Request count: 312753 Error count: 207 Bytes received: 150878945 Bytes sent: 11879829935 Free memory: 13080218528 Total memory: 20378025984 Active Sessions: 727"
"

 

I reported the wrong error line log in the first post

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 ,
Jan 18, 2024 Jan 18, 2024

Copy link to clipboard

Copied

I attached the log 

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
Community Expert ,
Jan 17, 2024 Jan 17, 2024

Copy link to clipboard

Copied

Adding to Carl's reply, what you're seeing there is just the metric.log output, writing by default every 60 seconds. This log is also copied into the coldfusion-out.log, if that may be where you saw these lines. 

 

It's not increasing in number based on any load at all. Indeed, the request count is not changing, either. (But I suspect that's because the admin setting for enabling this metrics log is mistakenly pointing to the port for your cf admin rather than for the web server ajp connector port).

 

Anyway, if you have some error or other problem, let us know. 


/Charlie (troubleshooter, carehart.org)

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 ,
Jan 17, 2024 Jan 17, 2024

Copy link to clipboard

Copied

Thanks for the replies,
I'll try to explain better what I did,
I carried out a load test and I noticed that there is a degradation as the number of simultaneous calls increases
making 1000 simultaneous calls no problem
making 5000 simultaneous calls I have http503
I measure the degradation with the latency expressed in milliseconds of the execution response
I also notice the presence of errors.

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
Guide ,
Jan 17, 2024 Jan 17, 2024

Copy link to clipboard

Copied

Hi Federico,

Perhaps you are using free tool like Apache Jmeter to do the 1000 or 5000 requests plus sampling for the response.

If so then use free tooling like enable JMX within CF11 JVM plus use JDK Jconsole or JMC to inspect how CPU, Heap, non-Heap and perhaps catalina threadpool current_thread_busy parameters go with 1000 then 5000 requests.

 

Cheers, Carl.

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 ,
Jan 18, 2024 Jan 18, 2024

Copy link to clipboard

Copied

thks for the reply, yes I suer Jmeter I'm sorry but I didn't understand your suggestion

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
Guide ,
Jan 18, 2024 Jan 18, 2024

Copy link to clipboard

Copied

Perhaps coldfusion-error.log will be interesting at the time when 5000 requests are running.

 

There are many posts and blogs how to enable JMX then use Jconsole or other tools:

https://blog.pengoworks.com/index.cfm/2007/12/12/Using-JConsole-to-monitor-ColdFusions-JVM

 

In Jconsole the memory tab might be interesting as would the mbean tab with the catalina threadpool open to connectioncount and currentthreadbusy.

 

 

 

EG

 

carltype3_0-1705615051556.png

 

 

carltype3_1-1705615099116.png

 

 

HTH, Carl.

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
Community Expert ,
Apr 03, 2024 Apr 03, 2024

Copy link to clipboard

Copied

LATEST

What is the value of 

Maximum number of simultaneous Template requests 

in the ColdFusion Administrator?

You might have to increase it.

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