Skip to main content
Participating Frequently
January 17, 2024
Question

Error on CF11 when I increase the request call

  • January 17, 2024
  • 3 replies
  • 826 views

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

    This topic has been closed for replies.

    3 replies

    BKBK
    Community Expert
    Community Expert
    April 3, 2024

    What is the value of 

    Maximum number of simultaneous Template requests 

    in the ColdFusion Administrator?

    You might have to increase it.

    Charlie Arehart
    Community Expert
    Community Expert
    January 17, 2024

    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)
    Participating Frequently
    January 18, 2024

    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.

    Legend
    January 18, 2024

    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.

    Legend
    January 17, 2024

    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.

    Participating Frequently
    January 18, 2024

    "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

    Participating Frequently
    January 18, 2024

    I attached the log