CPU in 99%

I have a SO linux red hat 9.0 and domino 6.5. when I run a web application my cpu, after some time stay in 99%.

Somebody have the same problem?

Thanks

Subject: CPU at 99%

Luiz…Luiz…

I kind of doubt this is related to Domino or Linux, but instead a code issue.

Check around your code, do you have a javascript function that is called more than once after a page loads or is loading? Typically this happens when a javascript function gets called repeatedly but cannot act upon the components you’ve requested, so it just stays active. Then along comes another call to the function, and again it can’t act, then another, then another. Pretty soon you’re at 100% CPU utilization.

Start by reviewing all your JS code, see what’s gets run repeatedly and try comment it out.

<<<>>>

Subject: RE: CPU at 99%

The problem is that this application was very well in Windowns, the problem come in Linux.

Thanks

Subject: RE: CPU at 99%

Luiz,

So, when users access the web page they are accessing it via a windows based IE or browser client while the server resides on Linux?

If that’s the case, it could still be JS or some other code not shutting down properly. Windows may not be perfect and have flaws galore, but typically the OS is better at handling memory leaks and overruns from less code run amuck. Make sense?

Just a thought.

Does it affect all forms, or just one in particular? Try to narrow down what is performed to cause the problems.

Sorry I can’t be of much help. I’m not there at the server and it makes things difficult to troubleshoot.

Good Luck.

<<<>>>

Subject: CPU in 99%

Luiz - the Domino Server’s CPU is going to 99% or the client PC?