httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomas2004 <thomas200...@yahoo.de>
Subject [users@httpd] A question about configuration of "workers.properties"
Date Mon, 14 Dec 2009 08:58:18 GMT

I have 2 questiuons.

1.
I see many examples as follow:
[code]
worker.list=worker1,worker2
# Set properties for worker1
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
# Set properties for worker2
worker.worker2.type=ajp13
worker.worker2.host=localhost
worker.worker2.port=8109
[/code]

But can I configure all workers to access the same port as follow?
[code]
worker.list=worker1,worker2
# Set properties for worker1
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
# Set properties for worker2
worker.worker2.type=ajp13
worker.worker2.host=localhost
worker.worker2.port=8009
[/code]

2.
Here is another configuration:
[code]
###################################
# Define the Template
###################################
worker.template.connection_pool_timeout=300
worker.template.socket_keepalive=True
worker.template.lbfactor=1
worker.template.type=ajp13
worker.template.ping_timeout=10000
worker.template.ping_mode=A
worker.template.retries=20
worker.template.activation=A
worker.template.recovery_options=7
worker.template.socket_timeout=120
[/code]

a) Is the parameter 'socket_timeout' unnecessary?
b) Here I used 'connection_pool_timeout'. What and how should I do by Tomcat
(server.xml)?


-- 
View this message in context: http://old.nabble.com/A-question-about-configuration-of-%22workers.properties%22-tp26774675p26774675.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message