Hello

We are getting unable to get the free endpoint and eventually resulting
in a 500 (internal server error).

We are using apache 1.3.37 and mod_jk version is 1.2.15. Due to many
reasons,
we are not in a position to upgrade wither of these packages.

[Fri Dec 08 01:34:09 2006] [18477:0000] [warn]
ajp_get_endpoint::jk_ajp_common.c (2138): Unable to get the free
endpoint for worker myWorker from 1 slots [Fri Dec 08 01:34:09 2006]
[18477:0000] [info] ajp_get_endpoint::jk_ajp_common.c (2152): can't
find free endpoint [Fri Dec 08 01:34:09 2006] [18477:0000]  myWorker
0.000088

Under these situations, we also see that either jboss threads are processing
for a long time OR a particular thread is idle for a relatively long time.

I would really appreciate if someone can explain why this particular error
occurs and how to remediate the problem. Currently we are restarting both
jboss and apache but we are not able to get to the root cause of the
problem.

People who have got the same error earlier have suggested that we need
to increase the cachesize OR the connection_pool_size of the worker.

but mod_jk documentation says that it is not recommended to use
cachesize more than 1 for apache version 1.3.x.

I would really appreciate if anyone can suggest a remediation for this
issue.

Shekar

-----------------
cachesize

This directive has been deprecated since 1.2.16.
Cachesize defines the number of connections made to the AJP backend
that are maintained as a connection pool. It will limit the number of
those connection that each web server child process can make.

Cachesize property is used only for multi threaded web servers such as
Apache 2.0 (worker), IIS and Netscape. The cachesize property should
reflect the number of threads per child process. JK will discover the
number of threads per child process on Apache 2 web server with
worker-mpm and set its default value to match the ThreadsPerChild
Apache directive. For IIS the default value is 10. For other web
servers this value has to be set manually.

Do not use cachesize with values higher then 1 on Apache 2.x prefork or
Apache 1.3.x!

---------------

Shekar

Reply via email to