Solved

Apache hangs on Windows NT

Posted on 2002-04-24
4
194 Views
Last Modified: 2010-03-04
I am trying to simulate 100 concurrent using Rational Robo test suite on apache/tomcat.

versions are

apache : 1.3.9
tomcat : 3.2.1

Platform : Windows NT 4 SP6

After making 50 connections, Apache stops responding. I thought these was some problem with requests not going from Rational Robo but I cant even get the page from browser.

Is there any setting that needs to be done ?

Thanks.
0
Comment
Question by:ashishn
4 Comments
 
LVL 15

Accepted Solution

by:
samri earned 100 total points
ID: 6967777
On 1.3.24 there is a config file; highperformance.conf-dist which you could try.

Straight cut-and-paste from that file:
------------
# Ha, you're reading this config file looking for the easy way out!
# "how do I make my apache server go really really fast??"
# Well you could start by reading the htdocs/manual/misc/perf-tuning.html
# page.  But, we'll give you a head start.
#
# This config file is small, it is probably not what you'd expect on a
# full featured internet webserver with multiple users.  But it's
# probably a good starting point for any folks interested in testing
# performance.
#
# To run this config you'll need to use something like:
#     httpd -f C:/Program Files/Apache Group/Apache/conf/highperformance.conf

Port 80
ServerRoot C:/Program Files/Apache Group/Apache
DocumentRoot C:/Program Files/Apache Group/Apache/htdocs
MaxClients 150
StartServers 5
MinSpareServers 5
MaxSpareServers 10
# Assume no memory leaks at all
MaxRequestsPerChild 0

# this is a True Config File
# see http://www.apache.org/info/three-config-files.html
ResourceConfig /dev/null
AccessConfig /dev/null

# it's always nice to know the server has started
ErrorLog logs/error_log

# Some benchmarks require logging, which is a good requirement.  Uncomment
# this if you need logging.
#TransferLog logs/access_log

# Disable symlink protection and htaccess files, they chew far too much.
<Directory />
    AllowOverride none
    Options FollowSymLinks
    # If this was a real internet server you'd probably want to
    # uncomment these:
    #order deny,allow
    #deny from all
</Directory>

# If this was a real internet server you'd probably want to uncomment this:
#<Directory "C:/Program Files/Apache Group/Apache/htdocs">
#    order allow,deny
#    allow from all
#</Directory>

# OK that's enough hints.  Read the documentation if you want more.
0
 
LVL 3

Expert Comment

by:nigg
ID: 6973518
Check in the Tomcat configuration files how many open connections are allowed....The number 50 points propably to allowed open connections at one time...

Later...
0
 
LVL 15

Expert Comment

by:periwinkle
ID: 9682088
No comment has been added lately, so it's time to clean up this TA.

I will leave a recommendation in the Cleanup topic area with the following recommendation for this question:

Answered by Samri

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

periwinkle
EE Cleanup Volunteer
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

808 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