Hello,

I am new to the list but I must say I used it a lot to find things in the past 
years.
This time I am facing a problem or two but not finding a solution.. small 
problems luckily.

I have the following setup: IIS 5, about 30 Tomcat instances spread around 20 
different servers - versions vary from 4 to 5.5.12
(mostly 4.0.6, 4.1.7, 5.0.25 and 5.5.9).
Recently I decided to move from a very old JK (dated 10/2001) to JK 1.2.15.

I found what seem to be two different problems in the JK logs:
(1)
[Fri Jan 06 10:15:07 2006] [error] jk_isapi_plugin.c (549): 
HSE_REQ_SEND_RESPONSE_HEADER failed
[Fri Jan 06 10:15:07 2006] [error] jk_isapi_plugin.c (639): WriteClient failed 
with 00002746
[Fri Jan 06 10:15:07 2006] [info]  jk_ajp_common.c (1384): Connection aborted 
or network problems
[Fri Jan 06 10:15:07 2006] [info]  jk_ajp_common.c (1731): Receiving from 
tomcat failed, because of client error without recovery in
send loop 0
[Fri Jan 06 10:15:24 2006] [info]  jk_ajp_common.c (1178): Socket 9212 is not 
connected any more (errno=-1)
[Fri Jan 06 10:15:24 2006] [info]  jk_ajp_common.c (1202): Error sending 
request. Will try another pooled connection
[Fri Jan 06 10:15:24 2006] [info]  jk_ajp_common.c (1225): All endpoints are 
disconnected or dead
[Fri Jan 06 10:15:24 2006] [info]  jk_ajp_common.c (1749): Sending request to 
tomcat failed,  recoverable operation attempt=1
(etc)

and

(2)
[Fri Jan 06 15:17:20 2006] [warn]  jk_ajp_common.c (2138): Unable to get the 
free endpoint for worker MYWORKER from 20 slots
[Fri Jan 06 15:17:20 2006] [info]  jk_ajp_common.c (2152): can't find free 
endpoint
[Fri Jan 06 15:17:20 2006] [warn]  jk_ajp_common.c (2138): Unable to get the 
free endpoint for worker MYWORKER from 20 slots
[Fri Jan 06 15:17:20 2006] [info]  jk_ajp_common.c (2152): can't find free 
endpoint
[Fri Jan 06 15:17:20 2006] [warn]  jk_ajp_common.c (2138): Unable to get the 
free endpoint for worker MYWORKER from 20 slots
[Fri Jan 06 15:17:20 2006] [info]  jk_ajp_common.c (2152): can't find free 
endpoint
[Fri Jan 06 15:17:21 2006] [warn]  jk_ajp_common.c (2138): Unable to get the 
free endpoint for worker MYWORKER from 20 slots
[Fri Jan 06 15:17:21 2006] [info]  jk_ajp_common.c (2152): can't find free 
endpoint
(etc)

According to a few posts I found I added connectionTimeout="0" to some tomcats 
and raised the cachesize of some workers that were
giving problems (worker.MYWORKER.cachesize=20)

Now I still get the error (1) a couple of times a second and the error (2) a 
few times the day.

My questions at this point would be:
1- Are the above entries caused by the new JK 1.2.15 or I did have the same 
problems and I didn't notice? (the log level was set to
"emerg")
2- I applied connectionTimeout="0" to Tomcats 5.5.x. Is this also needed for 
older Tomcat versions 5.0/4.1.7/4.0.6 - though in the
docs the parameter was not documented for the AJP connector?
3- I still get error (2) when some application slows down or hangs. Is there 
any way I can avoid this to happen?
3b- Does anyone have a sample/recommendation for the workers' parameters or is 
it better to leave the default values?
4- In the AJP documentation the min and maxProcessors are deprecated. What 
should one use instead? They saved my life with Tomcat 4.
5- According to some posts - but I might remember wrong here, just guessing - 
something (maxThreads?) in the server.xml should match
the WORKER.cachesize with Apache on Windows. Does this also apply to IIS?
5b- In any case, keeping in mind the 30 workers, what would be the maximum 
number for each WORKER.cachesize? 25? 200?

6- Too many questions? :-)


Thanks a lot for your attention,
br1.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to