Hi,
>That's a problem - or a typo.  A 1 GB thread stack size is not possible.  
>Assuming you meant 1024 KB, why did you think it necessary to change it from 
>the default?
Sorry, it is 1024 KB, sure, just to fast tipped into the keyboard.


# List the workers name
worker.list= worker3,loadbalancer,jkstatus
worker.maintain= 60
# ----------------
# First worker
# ----------------
worker.worker1.port=8010
worker.worker1.host=k0.xxx.local
#worker.worker1.host=xxx.xx.5.78
worker.worker1.type=ajp13
worker.worker1.lbfactor=75
worker.worker1.route=worker1
worker.worker1.activation=active

# ----------------
# Second worker
# ----------------
worker.worker2.port=8010
worker.worker2.host=k1.xxxxx.local
#worker.worker2.host=xxx.xx.5.77
worker.worker2.type=ajp13
worker.worker2.lbfactor=100
worker.worker2.route=worker2
worker.worker2.activation=active

# ----------------------
# Load Balancer worker
# ----------------------
worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=worker1,worker2
worker.loadbalancer.sticky_session=true
worker.loadbalancer.sticky_session_force=false
worker.loadbalancer.method=Busyness
worker.loadbalancer.retries=3
worker.loadbalancer.secret=xxxxxxxxx

ok, I adjust maxThreads to 1000

Greetings
Alexander

________________________________________
Von: Caldarale, Charles R [chuck.caldar...@unisys.com]
Gesendet: Freitag, 5. Februar 2010 16:07
An: Tomcat Users List
Betreff: RE: Missing files for mod_jk

> From: Alexander Diedler [mailto:adied...@tecracer.de]
> Subject: AW: Missing files for mod_jk

> Thread stack size : 1024 MB

That's a problem - or a typo.  A 1 GB thread stack size is not possible.  
Assuming you meant 1024 KB, why did you think it necessary to change it from 
the default?

Use JConsole or equivalent to monitor Tomcat while it's running and see if you 
have excess threads running around.  Task Manager will also give you a thread 
count.

> httpd.conf: (Only changes from default value):

And the mod_jk config?

> <Connector       port="8010"
>                   protocol="AJP/1.3"
...
>                   maxThreads="10000"
>                   tcpNoDelay="true" />

That's an insane value for maxThreads; certainly no 32-bit OS will ever be able 
to create that many.  You might be able to do it with a 64-bit one, but I can't 
imagine *any* environment where you need to process 10,000 concurrent requests 
on a single server.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
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

Reply via email to