tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fletcher Cocquyt <fcocq...@stanford.edu>
Subject mod_jk MAX WORKERS
Date Thu, 25 Jun 2009 05:23:37 GMT
Hi, we have noticed when we get close to 150 workers/2000bytes defined in our
worker.list - mod_jk 1.2.20 starts to break ("could not find worker for worker
name=xyz")

Looking at the code - cause the release notes /changelog don't seem to mention
this - looks like 1.2.28 has a new formula for defining JK_SHM_DEF_SIZE - need
more digging to get an absolute on this:

1.2.20:

../../tomcat-connectors-1.2.20-src/native/common/jk_shm.h:#define
JK_SHM_WORKER_SIZE  JK_SHM_ALIGN(sizeof(jk_shm_worker_t))
../../tomcat-connectors-1.2.20-src/native/common/jk_shm.h:#define
JK_SHM_DEF_SIZE     (JK_SHM_MAX_WORKERS * JK_SHM_WORKER_SIZE)

1.2.28

./common/jk_shm.h:#define JK_SHM_MAX_WORKERS        64
./common/jk_shm.h:#define JK_SHM_DEF_SIZE          
JK_SHM_AJP_SIZE(JK_SHM_MAX_WORKERS) + JK_SHM_LB_SUB_SIZE(JK_SHM_MAX_WORKERS) +
JK_SHM_LB_SIZE(JK_SHM_MAX_WORKERS)

Anyone know what the limits are on 1.2.28 in terms of workers?

thanks!


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message