----------------------------------------------------------------
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!!!
----------------------------------------------------------------

I'd like to thank everyone for their quick response
and offers to help.  We tracked down the problem to
an errant servlet that was usurping all available DB
connections in the pool.  Once this was removed, the
site became MUCH more responsive :-)

Again thanks for all the help.

-----Original Message-----
From: Freeman Pascal [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 17, 1999 6:24 PM
To: 'Java Apache Users'
Cc: Tony Behen; Paul Glassco; Jeff Garner; '[EMAIL PROTECTED]'
Subject: Performance troubles with jserv 1.1b3 at www.starwars.com...


----------------------------------------------------------------
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!!!
----------------------------------------------------------------

Greetings;

We just implemented a new registration system at www.starwars.com 
and we're experiencing really poor performance with our servlets and JSP
pages (which all worked fine under development and staging) and I'm
looking for some advice.  I've scoured the FAQ and the web looking for
information before posting here.

I'm running Apache 1.3.9, Apache JServ 1.1b3, JSDK 2.0, GNUJSP 1.0,
under 1.1.8 JDK from Sun on a pair of Sun E250s with 1.5Gb RAM running
Solaris 2.6.  I'm running Apache and the VMs on the same servers with
traffic load balanced between the two servers using hardware load balancing.
We're connecting to SQLServer 7 through TopLink 2.0 for our database
access.

What I'm seeing is extremely slow load times on the JSP pages and
servlets.  Static content is handled very quickly.  Smaller servlets load
pretty quickly, but larger seem to hang and time out.  I can see nothing
in the logs that would cause concern.

When restarting Apache (and JServ since I'm running in automatic mode)
the apps and pages run very quickly for about 3 or 4 minutes and then
bog down.  I can attribute this to the large number of hit's were seeing.

I've done everything I've seen in the FAQ that looked useful without luck.
I have disabled autoreload of files and classes.  I have increased the
heap and stack sizes up to something reasonable (stack 512k-1M, heap
32m-128m).  We have soured our code for anything that would cause us
to block (such as database connections).  I've even tried recompiling our
largest servlet and configured JServ for single thread mode without luck.
I have also increased the minimum number of connections that TopLink
will initially allocate and pool.  The SQLServer is sitting idle and is not
the
bottle neck.

I'm stumped - any words of wisdom out there?

If you want to see how the site is performing take a look at:

        http://www.starwars.com

Try becoming a member and signing in and out.


Freeman Pascal
Internet Group
Lucasfilm, LTD



--
--------------------------------------------------------------
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]


--
--------------------------------------------------------------
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]

Reply via email to