Why CF Queue request has taken up 100% of CPU resources ?

I'm using Cold Fusion 4.01 that runs under NT server 4.0 with SP5. The queue request has taken up 100% of CPU resources. This causes the whole machine hang. Is there anyway to resolve the problem ?
cytayAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

deepchandaCommented:
keep your CF admin setting "Limit simultaneous requests" to 2-5 times the number of processors on your server.
You can also have your the CF service to restart automatically by setting a value for "unresponsive requests". Both these settings can be found at the main settings page of CF admin. There are some very useful articles on tuning CF App Server for better performance at this aite http://www.allaire.com/Support/KnowledgeBase/SearchForm.cfm. enter the search keyword as "performance tuning".

DC
0
cytayAuthor Commented:
Yes, now i have to set the 'limit simultaneous request' to 20.
but when it's full. it just keep going all the way up to 40 - 60 then finally 100 !
and even i set 'unresponsive requests'
the request just die or timeout.

will it be error in the scripts which cause this behaviour ?

BC
0
cytayAuthor Commented:
Hey ! deepchanda, I would appreciate you post the answer to this account cytay@hotmail.com. This is a problem at the current account cytay@tm.net.my.

Thanks ! :o)
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

kbakstCommented:
We are having the same problem.  If we return a large number of rows (and therefore a result set that is large in size - recwidth=500) the server hangs.  Add a WHERE clause to select only a few records, and it works fine.

I can see where CF might choke on a large query, but it certainly shouldn't hang the server.
0
Nathan Stanford SrSenior ProgrammerCommented:
Have you still not resolved this problem?
0
kbakstCommented:
Not sure if cytay has, but we haven't.
0
Nathan Stanford SrSenior ProgrammerCommented:
1. Is this a MS SQL database or MS Access?

2. Are you returning a huge result?

3. How many columns are you returning?
0
cytayAuthor Commented:
Hi ! Nathans !
1. Yes ! I'm using MS SQL database server;
2. Yes ! The size of the records is huge;
3. About 10-15.
So...
0
Nathan Stanford SrSenior ProgrammerCommented:
Good it is MS SQL...

Have you indexed several of the columns that you are searching on.  I know I had a search that before indexing caused stress to the whole server and then when we indexed some columns they ran really fast and I didn't have anymore problems.
0
cytayAuthor Commented:
Okay ! Thanks !
I will give it a try first shortly.
:o)
0
Nathan Stanford SrSenior ProgrammerCommented:
Have you resolved your problem???
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cytayAuthor Commented:
Oya ! Thanks for your suggestion !
I have done it.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Servers

From novice to tech pro — start learning today.