Solved

IBM HTTPServer multiple connections problem!!!

Posted on 2009-03-31
8
337 Views
Last Modified: 2012-05-06
Dear Experts!

We are using IBM HTTPServer 1.3.28. In built with Apache 1.3.x running under RHEL3 machine.
All traffic to our application server (WAS6 on other server under RHEL3) are routed via Webserver(IHS 1.3.28).
What happens is when multiple connections (already set to 1000) hits certain range our clients are facing delays in connections.
We have proper load balanced mechanism before choosing web servers, but we provide connecting to existing sessions options for our clients. In this case if a client unfortunately face any n/w prob, still he can connect to his prev session. He will be connected to the same webserver where he was previously.

Almost everyday our clients are reporting that they are facing if maximum connections reach certain limit, say above 600 (but it is set to 1000) they are facing delys in connections.

Can any one help me to move in right direction with this multi-thred issue with web servers(IHS)?

Looking forward for you response!
0
Comment
Question by:yarabati
  • 4
  • 3
8 Comments
 

Author Comment

by:yarabati
ID: 24036808

Any one there to give guidelines or to point me in right direction!!!
0
 
LVL 57

Expert Comment

by:giltjr
ID: 24038271
What type of hardware are you running this on?  600 concurrent connections could be to many for the hardware you have.

Have you thought about upgrading to the most recent version?  It is based on Apache 2.0.
0
 
LVL 33

Accepted Solution

by:
shalomc earned 200 total points
ID: 24038383
As the IBM HTTP server is just an apache with very few extra modules, you should first optimize your apache environment.
In general, the maximum number of concurrent clients is derived by this siple formula:  
(memory available for Apache / apache child instance size)
Therefore, we want to reduce the size of each child to the bare minimum.
We also want to lighten the CPU and network load.

* have as much RAM as possible on the HTTP server
* If you don't use them, switch off all unnecessary services like nfs, sendmail, printing services etc.
* disable all unnecessary apache modules. You don't need many of the modules that are enabled by default. For example, if you do not serve a lot of static contents, turn OFF ibm_afpa_module
* If you don't need the apache logs - turn them off. If you need them, turn off HostnameLookups and resolve the host names during log file post processing.
* turn off symbolic link support
* AllowOverride None
* Disable KeepAlive

To really tune up your apache server, read this
http://www.linuxtopia.org/online_books/mod_perl_programming_book/ch11_01.html
although it's about PERL, the methodology is relevant to your situation too.

ShalomC
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:yarabati
ID: 24039562
Thanks for your replies.
I came to know IBM IHS 1.3.28 supports upto 4096 connections simultaneously.
We have a fliter in between created by our application if total connections reaches the property maxConnections then we don't allow further connections.
But we see in all situations this filter is working fine. It is now set to 1000 value!!!
But clients reporting IHS failing after 600 threads!

Coming to hardware, all our servers are VMware virtual machines. But highly configured machineds!

Any comments will be highly recieved!
0
 
LVL 57

Assisted Solution

by:giltjr
giltjr earned 100 total points
ID: 24039919
It does not matter how "highly configured" the machines are.  If the box is running at 100% (either the physical host or the virtual host) it still can't do any more.

Technical limitations are typically far different from real world results.

Have you verified that it is IHS that is the problem and not something else (like WebSphere)?
0
 

Author Comment

by:yarabati
ID: 24057640

Can any one recommend few tools to monitor connections to my web server.
FYI:
Web server is running under RHEL3 machine, with IBM HTTP 1.3.28 installed.
I had googled before posting this message but most of the tools are of after IHS 2.x release. Didn't find suitable for IBM HTTP Server 1.3.28.
It would be greatly received if I get any comments!!!
0
 
LVL 57

Expert Comment

by:giltjr
ID: 24059087
IBM's HTTP sever is nothing more than a slightly modified Apache.  So you can look for monitoring tools for release of Apache that IBM is running.  I think that IBM's number matches Apache, so you can look for Apache tools for 1.3.28.  I know that there was a mod_status for Apache 1.3 where you monitor some type of information within Apache.
0
 

Author Comment

by:yarabati
ID: 24401828

I think I have to close this thread, we found lot bugs in our source implementation... effecting to cause this problem...

Thanks everyone who tried to help me...
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

786 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