In our application randomly following errors are thrown while loading a page: Error 500 Error 404
These are not appearing always, so not able to simulate the pattern of its occurence.It looks like performance issue, as in the log am able to see broken pipe exception, exception while writing to the client. There are regular occurence of this error in the log , in the front end the users are able to see only a blank screen.The concurrent users are upto 35 users.App server is Weblogic 7.0 and db is oracle 9i.THe number of max connection set is 40.
Can you please suggest what would be the best way to handle such performance related issues.What all teh areas shld be checked to bring back the system under normal performance.Please suggest some ways to improve the performance.
The easiest thing to do is buy better hardware. I've seen clients with "slow" server applications that were running on a "server" that was a retired desktop computer shoved in a closet (retired, of course, because it was too slow for desktop apps!). Profile your CPU, memory and disk usage. If the any of those factors are maxed out, you have a hardware problem and the only reasonable solution is to buy. Do you have your database and application server on the same machine? That's a no-no. For most operations, databases will be memory-bound (they have to load tables into memory to operate on them). This will suck valuable resources from your app server. After you've covered those bases, it's time to address the performance of your application with The Enterprise Performance FAQ
Originally posted by Viswa Sethu: In our application randomly following errors are thrown while loading a page: Error 500 Error 404
The concurrent users are upto 35 users.App server is Weblogic 7.0 and db is oracle 9i.THe number of max connection set is 40.
What all teh areas shld be checked to bring back the system under normal performance.
Wich O.S? Sometimes you have to tune O.S as well, look for it on e-docs for wl 7. Also you can set a different channel for admin configurations(as far as i remember wl 7 had this feature already). Tune JVM, analyse GC and set some areas. Take a thread dump while taking errors and analise what threads are doing, if most of them are stucked at some app point or waiting for external resources, etc.. and tune if you find something. May also consider usin JRockit!
I woul'd start this way!
Also take a look at dev2dev and arq2arq BEA sites where you'll find plenty information on performance tunning!
Joined: Jan 06, 2001
Enable native threads may also help! If it's not already done!!!