A question about configuration of "workers.properties"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux