Solved

Apache hangs on Windows NT

Posted on 2002-04-24
4
206 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Application launch issue with Apache Tomcat 5 69
ProxyPass - Problem 5 221
Use of SSL Certificates - http vs https 3 90
Apache Issues 9 94
As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
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). #…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

740 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