We have some real performance issues and our application is not very reliable in the afternoon and after some restarts I found this errormessage in the mod_jk.log:
[warn] ajp_get_endpoint::jk_ajp_common.c (3372): Unable to get the free endpoint for worker ajp13_worker from 25 slots
[error] jk_handler::mod_jk.c (2932): Could not get endpoint for worker=ajp13_worker
[info] jk_handler::mod_jk.c (2995): Service error=0 for worker=ajp13_worker
workers.properties:
worker.ajp13_worker.port=8009
worker.ajp13_worker.host=127.0.0.1
worker.ajp13_worker.type=ajp13
worker.ajp13.socket_keepalive=1
(socket_keepalive is fresh and makes no differences)
tomcat/server.xml:
<Connector port="8888" protocol="HTTP/1.1"
connectionTimeout="20000"
address="127.0.0.1"
redirectPort="8443" />
<!-- Define an AJP 1.3 Connector on port 8009 -->
<Connector port="8009" protocol="AJP/1.3" address="127.0.0.1" redirectPort="8443" secretRequired="false" />
apache2/sites-enabled/project.conf:
<VirtualHost *:443>
...
JkMount /*.cfm ajp13_worker
JkMount /*.cfc ajp13_worker
JkMount /*.cfm/* ajp13_worker
...
</VirtualHost>
Apache mods-enabled mpm-event:
<IfModule mpm_event_module>
StartServers 2
MinSpareThreads 25
MaxSpareThreads 75
ThreadLimit 64
ThreadsPerChild 25
MaxRequestWorkers 150
MaxConnectionsPerChild 0
</IfModule>
We have a FusionReactor installed but I found nothing, what could be wrong.
Don’t forget to tell us about your stack!
OS: Ubuntu 18 LTS
Java Version: 1.8.0_282
Tomcat Version: Tomcat/9.0.31
Lucee Version: 5.2.8.50