2

I have CF running on a mediatemple DV4.0 & it seems to be running WAY more threads than necessary - enough to continuously trip the "running processes" alert that MT provides [and cannot be configured by me to allow more processes!]

  • How can I configure ColdFusion to run with fewer threads?
  • is this a good idea? [i.e. will it have any negative results on performance]
  • will it free up some memory?

There are only 2 or 3 very light traffic sites on the server.

Sean Kimball
  • 869
  • 1
  • 8
  • 24

1 Answers1

2

This is something you typically set in the ColdFusion Administrator, often installed on your server at the /CFIDE/administrator path. Once you login to the CF Admin, you'll want to find "Server Settings" > "Request Tuning" in the sidebar. That page will have values you can set to control how many JVM threads are allocated to handle CF requests.

Also, make sure you have the JVM heap memory set to an appropriate value for your intended use and hosting capabilities. That's in "Server Settings" > "Java and JVM."

As to whether or not reducing worker threads is a good idea, well, that really just depends on your load and for what- under a given load, limited server resource your threads will contend.

Clint Miller
  • 1,141
  • 1
  • 11
  • 19
  • hmmm been through that, it won't let me set the max number of threads below 50 or the max queued threads below 1000. Even after a restart they just default back to these numbers. – Sean Kimball Dec 03 '12 at 21:15