Solved

Apache hangs on Windows NT

Posted on 2002-04-24
4
188 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
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). #…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

867 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

13 Experts available now in Live!

Get 1:1 Help Now