----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
> -----Original Message-----
> Behalf Of Jean-Luc Rochat
> Sent: Monday, April 03, 2000 5:19 PM
> Subject: Re: Speed problems with Apache/Jserv
> Sure. Not 3 seconds. could be expensive logging,
Turned off all logging except error and crit. I will turn it ALL off and see
if that makes a difference.
>network problems, firewall rules,
I am testing the connection using two machines side-by-side; they use the
same network connection.
> DNS reverse resolution,
Think I optimized that one. I will check on it.
> authentication,
None.
>CPU eater thread,
I will check on that possibility. Although the servlets are identical and no
one else is using my server setup yet; we are testing it before putting it
into production.
> sessions hashtable size, synchronized... or database
> configuration.
They are accessing the same database; if the problem exists in one, it
should theoretically exist in the other.
> or Apache configuration (startservers, minspare, maxspare).
Optimized that to the following:
MinSpareServers 5
MaxSpareServers 10
StartServers 5
However, this is a special case. Because we are a startup and in deep alpha
development of the servlets, we only have about 100 users. I wonder if these
can be optimized more?
> on a Pentium 120MHz, 48M RAM, JDK1.1.7, Linux 2.0.36 I get these results
> with a simple servlet :
>
> [root@r26m24 etc]# /usr/local/apache/bin/ab -n 1 -c 1
> http://localhost/servlets/SnoopServlet
> This is ApacheBench, Version 1.3c <$Revision: 1.38 $> apache-1.3
I will check out that program and run it against my server setup to test
speed. I may also need to rebuild Apache using a tighter config to install
only the modules that I need. My setup right now was built with mod_so; from
what I have heard, mod_so can be a speed hit due to its size.
> Nb: this Pentium 120 is running Apache + JServ + Tomcat + LDAP + MySQL +
> lots of useful things :-)
Wow! Thankfully, I have only Apache and Jserv to deal with, although I will
be testing Tomcat soon.
> Do you want to exchange it with your dual PIII 650 ? I'm all for it :)
You would have to ask my boss first!
Merci Beaucoup! <--Hope that is spelled right!
Ben Ricker
US-Rx
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]