> Document Path:          /servlets-examples/test.jpg

And this goes through mod_jk, right?

> Document Length:        1513456 bytes
> This is on WIN32, also localhost.
> I've tried on RH9, SLES8.2 and FreeBSD 4.11 and found no slowdown.
> Can you post your config files?

What did you use to get this nice output?

Here is the relevant part of httpd.conf:

# Load mod_jk module
LoadModule    jk_module  modules/mod_jk.so
# Declare the module for <IfModule directive>
#AddModule     mod_jk.c
# Where to find workers.properties
JkWorkersFile /usr/local/apache2/conf/workers.properties
# Where to put jk logs
JkLogFile     /var/log/httpd/mod_jk.log
# Set the jk log level [debug/error/info]
JkLogLevel    debug
# Select the log format
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
# JkOptions indicate to send SSL KEY SIZE,
JkOptions     +ForwardKeySize +ForwardURICompat -ForwardDirectories
# JkRequestLogFormat set the request format
JkRequestLogFormat     "%w %V %T"
# Send servlet for context /examples to worker named worker1
JkMount  /myapp worker1
JkMount  /myapp/* worker1

--------- cut ----------
Here is workers.properties:

workers.tomcat_home=/usr/local/tomcat
workers.java_home=/usr/local/j2sdk
ps=/
worker.list=worker1
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
#worker.worker1.lbfactor=50
#worker.worker1.cachesize=10
#worker.worker1.cache_timeout=600
#worker.worker1.socket_keepalive=1
#worker.worker1.reclycle_timeout=300
------------- cut -----------

I was playing with the workers.properties file (commenting those lines out 
on the bottom) and managed to get the speed to drop from 70 Kb/sec to 
40 Kb/sec.  Not sure which of the settings did it though.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to