Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Performance tune up

 
Viswa Sethu
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


Thanks
 
Ram Prasad
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

These are the following things you need to check up in you server for any performance enhancements

1) no of threads configured - keep it to the default and try some combinations
2) JVM Memeory Arguments - put it to maximum possible
3) Connection Pool size - it depends on you application usage

these parameters will do.
 
Joe Ess
Bartender
Pie
Posts: 9257
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Marcos Maia
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


Thanks


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!
 
Marcos Maia
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Enable native threads may also help! If it's not already done!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic