An idea I want to implement : limiting a process to 1 CPU in a dual-cpu machine

Mucman

Diamond Member
Oct 10, 1999
7,246
1
0
On our webservers the Cold Fusion Application Server hangs threads when certain CF tags are excuted poorly (CFINSERT for example). The first time this happens it will put the CPU at 100%. The 2nd time it happens it puts the 2nd CPU at a %100. I would like to be able to not allow Cold Fusion to run on the 2nd cpu. When both cpus get pegged it kills all the ASP pages being served and kill terminal server and other remote access clients. If 1 CPU is free we can easily get in there to restart the service when this happens. We are running Win2k Server, IIS5, Cold Fusion 4.5

 

Mucman

Diamond Member
Oct 10, 1999
7,246
1
0
I just installed it and Cold Fusion is running happily on one CPU now :)... this should really improve our uptime!
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I would also make sure I bitched to the company that makes ColdFusion, you shouldn't need such a stupid hack to get their software to work properly.
 

Mucman

Diamond Member
Oct 10, 1999
7,246
1
0
Trust me I have bitched! They know of the problem and they won't patch it... they just reccomend upgrading to a new version (which would break 800 websites) or to make sure the people use the faulty tags properly! I really dislike Allair right now but we get a lot of business because of our Cold Fusion hosting.
 

Sunner

Elite Member
Oct 9, 1999
11,641
0
76
Must say this isn't the first time I've heard horror stories about Alaire's lack of support for their products when bugs are found.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Same here, we use ColdFusion a lot (more than we should I think, I mean it's just not fast on an old SS20) and I've never heard a major complaint (not that I'm directly involved, but I do speak with the people a lot). But I doubt we have many SMP boxes because we have to keep most of our sites segregated because of competing companies and a lot of times we get them to pay for the hardware.
 

Mucman

Diamond Member
Oct 10, 1999
7,246
1
0
Our main problem is that we do shared hosting and we have 2 class C's (~500 sites) running off of a server. We have only had 1 instance where ASP crashed the server (they had an infinite loop in their code). With ASP, you can run things in high process which makes it even more robust. CF on the other hand runs in one process, and when that process dies all Cold Fusion sites die with it...

Enough about ranting about Allaire and CF :) At least my stupid hack seems to have done the job... I haven't received an alert about that server in the last few days now.