--

> We're currently using Solaris2.6+Stronghold+ApacheJServ+GNUJSP to handle
> a large e-commerce portal site, and we're currently getting abysmal
> performance, especially under JDK 1.1.6 (We can't switch to JDK 1.2 yet,
> which we know will be much faster, because the Oracle drivers don't work
> with 1.2 - they tell us they will be available "in a few weeks"). At
> this point, it takes the JVM about 1/3 CPU second to process a
> transaction which updates the database. We need to get that down to
> about 1/100th of a second.

Move to the latest 1.1.x JDK. 1.1.6 has some known issuesw with threading
and memory leaks I believe. Also, make sure that you are giving the JDK heap
enough memory.

> We've been attempting to profile JServ using OptimizeIt; This program
> reports that 1043 StringBuffer objects are being created for each HTTP
> request (this test was done with a blank page).

Wow, that is a lot. ;-( With 1.0.1, we will hopefully have a patch that
decreases the number of env variables that are passed around and thus the
number of string objects that are created.

> ApJServExcludeEnvMatch "SSL"

How about using these configuration values in jserv.properties to only pass
the env variables that you need?

# An environment name with value passed to the JVM
# Syntax: wrapper.env=[name]=[value]
# Default: NONE on Unix Systems
# SystemDrive and SystemRoot with appropriate values on Win32 systems

# An environment name with value copied from caller to Java Virtual Machine
# Syntax: wrapper.env.copy=[name]
# Default: NONE

# Copies all environment from caller to Java Virtual Machine
# Syntax: wrapper.env.copyall=[true,false]
# Default: false

-jon


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to