Hi Folks,
We are having an issue that Ajp13 Connector being unresponsive. It happened 
about once a week. We are running one Apache 2.0, three Tomcat 4.1.27 and 
mod_jk 1.2.5 / Ajp13 on HP 11i boxes. 
We noticed that every time Ajp13 Connector received an exception (see below) 
when setting socket options, serverSocket was closed and reopened, 
===========
serverSocket in Ajp13Connector got an exception when socket.setSoLinger(). 
2006-10-24 15:31:31 Ajp13Connector[9015] accept: 
java.net.SocketException: Invalid Character In Attribute Name.
 at java.net.PlainSocketImpl.socketSetOption(Native Method)
 at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:240)
 at java.net.Socket.setSoLinger(Socket.java:817)
 at org.apache.ajp.tomcat4.Ajp13Connector.run(Ajp13Connector.java:891)
 at java.lang.Thread.run(Thread.java:534)
2006-10-24 15:31:31 Ajp13Connector[9015] run():  not stopped, so reopening 
server socket
2006-10-24 15:31:31 Ajp13Connector[9015] Opening server socket on all host IP 
addresses
2006-10-24 15:31:31 Ajp13Connector[9015] accepting socket...
==========
Ajp13 Connector was not able to process new connection requests any more. If we 
telnet it, we got timeout, and socket status is SYN_SENT. If we restart Tomcat, 
it works again.
Our Ajp13 Connector setting:
    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="9015"
               minProcessors="250"
               maxProcessors="250"
               acceptCount="50"
               debug="7"/>
We don’t have special settings in worker.properties except 
worker.loadbalancer.stick_session=1
When this issue happens, Tomcat continues work on the established connections 
to handle requests, but eventually all sockets will be closed by Processors, 
and then Tomcat hang since no new connection could be established. However, we 
still see around 80 established connections in the netstat. 
Could it be other processes we forked in the tomcat that holding the 
connection, and then it caused socket file descriptor dead lock or unavailable?

Any comments are welcome!
Mao



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to