[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-developers] Good 'ol CASPENG?
- Subject: RE: [cobalt-developers] Good 'ol CASPENG?
- From: "Bob Noordam" <bno@xxxxxxxxx>
- Date: Wed Sep 3 01:22:00 2003
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
> At 10:37 AM 9/2/2003 -0700, you wrote:
> >I can kill the pid, but as soon as I or someone attempts to access that
> >client's web page, it comes back and works it's way up to 99%
> CPU again in
> >a matter of seconds, but the site still doesn't come up.
>
> That's strange...I've got quite a few sites on a 550 and
> Chilisoft running
> on maybe 30 sites. The processor is barely working.
>
> That being said, we've written some sloppy code in the past that has
> brought the box to a halt...an eternal loop can overload the processor
> pretty quickly and likely exibit the behavior you are describing.
> What are
> they doing with that asp page?
>
> Brian
>
Directory access in a loop is also a killer in chiliasp. I use a dynamic
page generator which scans a thumbnail cache for existing files. With around
1000 files in the directory caspeng slows almost to a halt, where a windows
machine hardly feels the load. (inefficient filesystem object implementation
i guess). Also, i had some pages with large array handling wich easily
brings a 550 to it's knees.
Like brian suggested, look closely at the code for thight loops, or loops
with a large number of itterations.
Bob.