Mr.Schultz
Here's my Apache, mod_jk and JBoss(Tomcat) configurations.
I think it seems the same setting between MaxClients and maxThreads,
and they have no problems about the Timeout settings.
Would you find any mistakes in these files?
[httpd.conf](preforkMPM)
MaxClients 81
Listen 8008
Listen 8010
Listen 8011
NameVirtualHost XXX.XXX.XXX.162:8008
NameVirtualHost XXX.XXX.XXX.162:8010
NameVirtualHost XXX.XXX.XXX.162:8011
:
<VirtualHost XXX.XXX.XXX.162:8008>
CustomLog "/opt/httpd/logs/access_8008_log" common
ErrorLog "/opt/httpd/logs/error_8008_log"
JkMount /sample/* worker01
</VirtualHost>
<VirtualHost XXX.XXX.XXX.162:8010>
CustomLog "/opt/httpd/logs/access_8010_log" common
ErrorLog "/opt/httpd/logs/error_8010_log"
JkMount /sample/* worker01
</VirtualHost>
<VirtualHost 138.101.249.162:8011>
RewriteEngine On
RewriteRule !^(/sample/limit\.do|/sample/alive3\.jsp|/index\.html)$ - [F]
CustomLog "/opt/httpd/logs/access_8011_log" common
ErrorLog "/opt/httpd/logs/error_8011_log"
JkMount /sample/* worker01
</VirtualHost>
[workers.properties]
:
worker.worker01.type=ajp13
worker.worker01.host=XXX.XXX.XXX.162
worker.worker01.port=8009
worker.worker01.retries=2
worker.worker01.retry_interval=200
worker.worker01.recovery_options=0
worker.worker01.connection_pool_timeout=20
[server.xml]
<Connector protocol="HTTP/1.1" port="8080" address="${jboss.bind.address}"
maxThreads="81" connectionTimeout="20000" redirectPort="8443"
allowTrace="false" />
<Connector protocol="AJP/1.3" port="8009" address="${jboss.bind.address}"
maxThreads="81" connectionTimeout="20000" redirectPort="8443"
allowTrace="false" />
Best regards,
(2011/02/16 1:38), Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mladen,
On 2/15/2011 8:51 AM, Mladen Turk wrote:
On 02/15/2011 01:08 PM, Yu Kikuchi wrote:
Mr.Warnier
Thank you for your advice.
But I want to know not the way to inhibit these logs but the reason
why these logs output.
Because Tomcat closes its part of the connection.
This could also be a mismatch between Apache httpd's MaxClients setting
and Tomcat's "maxActive" (or similar).
Kikuchi, Would you care to post your<Connector> setting from Tomcat and
your MPM configuration from httpd?
When I restarted Apache, huge "info" messages were put out to the
mod_jk's log like following (over 200 lines!)
10 lines per day of "info" logging is huge? What must you think of your
access log?
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk1aq+oACgkQ9CaO5/Lv0PBH4gCfTJh1P4XSZ9hOr+vkCkrgT0F/
jU0AoMA3sieFeUCVsIjOlTFZK4izSOX3
=rR2D
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org