Solved

Websphere Application Server lags with multiple connections

Posted on 2011-02-28
6
445 Views
Last Modified: 2012-05-11
Hello experts

I have an application running in Websphere 6.0, Linux SUSE Enterprise 9 SP2 (server A) that makes db2 queries to another server (server B). During the development stage, everything seemed to be working just fine. The problem came when doing traffic tests: when creating between 80-100 concurrent http requests to the WAS app, the application just stops answering, where:

- CPU consumption in server A is less than 20% when doing volume tests (we have a good server)
- Memory still available during volume tests (around 50% from total used)
- When reaching around 80-100 http requests, the application server lags, even trying to enter the administrative console is greatly slowed down, I need to restart the whole WAS from the terminal re-establish it. Looks as if threads don't want to be resolved when the queue reaches certain volume of requests.
- All other applications installed in the Application Server are affected, even if the others aren't doing anything at all.
- There are no errors detected in the SystemErr.log
- "Server B" is not the problem (there are many other servers consulting db2 to that server without any problem.
- No network issues
- Websphere Application Server has base configuration (as installed)

My first assumption is that there is a parameter in the WAS configuration that I need to change (number of threads? max memory consumption for WAS threads? Max Clients?) but I'm a newbie with WAS (used to work with Tomcat). Resources like memory (currently 3GB) and CPU can be added without problem

Any suggestions are greatly appreciated
0
Comment
Question by:Arrismog
  • 3
  • 3
6 Comments
 
LVL 41

Expert Comment

by:HonorGod
Comment Utility
It sounds like you have exceeded the number of concurrent connections.

Take a look here: http://bit.ly/gJ9IUz
especially the part about "Maximum Connections"

How many do you currently have allowed?
0
 

Author Comment

by:Arrismog
Comment Utility
Hello

Checking the value for Maximum Connections, they are currently set to 10:

Connection timeout -- 180 seconds
Maximum connections -- 10 connections
Minimum connections -- 1 connections
Reap time -- 180 seconds
Unused timeout -- 1800 seconds
Aged timeout -- 0 seconds

Is Maximum connections too low? there's an estimate to have hundreds of requests per minute to this application.

0
 
LVL 41

Accepted Solution

by:
HonorGod earned 500 total points
Comment Utility
Maximum connections defines the absolute maximum number of concurrent connections that are allowed to that database.  If your applications need more than 10 concurrent connections, I would increase this value accordingly.

So, to answer your question:

> Is Maximum connections too low?

Yes, it appears so.
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:Arrismog
Comment Utility
Sorry answering till now, we were in functionality and stress phase with the app.

Yep, increasing the maximum connections according to the link you provided, it now supports a lot (LOT) more connections without any problem

Sir, you made my day :)
0
 

Author Closing Comment

by:Arrismog
Comment Utility
Yep, increasing the maximum connections according to the link you provided, it now supports a lot (LOT) more connections without any problem

Sir, you made my day :)
0
 
LVL 41

Expert Comment

by:HonorGod
Comment Utility
Super!  I'm glad that I was able to be of some assistance.

Thanks for the grade & points.

Good luck & have a great day.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now