logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: apache 2.2 + tomcat 5.0 + mod_proxy_ajp building up threads
Author
rluengo



Joined: 16 Jan 2007
Posts: 4

PostPosted: Tue 23 Jan '07 15:03    Post subject: apache 2.2 + tomcat 5.0 + mod_proxy_ajp building up threads Reply with quote

Hi to all,

I have in a server Apache 2.2 and Tomcat 5.0 using mod_proxy_ajp, everything works fine but the threads in Tomcat build up (they stay in K status) and a new request opens new threads.

¿Which could be the problem?

The error i get in the apache log are:
[Tue Jan 23 08:14:57 2007] [error] ajp_read_header: ajp_ilink_receive failed
[Tue Jan 23 08:14:57 2007] [error] (120006)APR does not understand this error code: proxy: read response failed from 127.0.0.1:8009 (localhost)
[Tue Jan 23 08:30:12 2007] [info] [client 20.138.1.245] (OS 10053)An established connection was aborted by the software in your host machine. : core_output_filter: writing data to the network
[Tue Jan 23 08:31:43 2007] [info] [client 90.7.239.164] (OS 10054)An existing connection was forcibly closed by the remote host. : core_output_filter: writing data to the network

The relevant line in each apache virtual host (about 50) is:
ProxyPass / ajp://localhost:8009/ smax=0 flushpackets=on timeout=10 ttl=10

And the Tomcat AJP configuration is:
<Connector port="8009" enableLookups="false" redirectPort="8443" debug="0" protocol="AJP/1.3" maxProcessors="300"/>
Back to top


Reply to topic   Topic: apache 2.2 + tomcat 5.0 + mod_proxy_ajp building up threads View previous topic :: View next topic
Post new topic   Forum Index -> Apache