1 2 3 Previous Next 32 Replies Latest reply on Apr 11, 2014 3:27 PM by kevgo Go to original post
      • 30. Re: (120006)APR does not understand this error code: proxy: AJP: cping/cpong failed to
        pandes3


        Hi Jean,

         

        I think we have already done that

         

        <IfModule prefork.c>

        StartServers       8

        MinSpareServers    5

        MaxSpareServers   20

        ServerLimit      256

        MaxClients       256

        MaxRequestsPerChild  4000

        </IfModule>

         

         

        But on Jboss the threads keep on growing, I did a simple netstat on port 8009 on Apache Web and App servers and the count does not synchronizes between them (on Web there are more then 100 connections and on App there are thousands of them) and I reckon this will grow till my max connection setting in Jboss

         

        Apache WebServer 8009 connections

         

         

         

        netstat -o | grep 8009 | wc -l

         

        113

         

        Jboss Application Server 8009 connections

         

        netstat -o | grep 8009 | wc -l

         

        2705

         

         

         

        Regards

         

        • 31. Re: (120006)APR does not understand this error code: proxy: AJP: cping/cpong failed to
          jfclere

          You need thread dumps of the Jboss AS to find where the thread are waiting. You can also change to the normal connector (native="false" the configuration.

          • 32. Re: (120006)APR does not understand this error code: proxy: AJP: cping/cpong failed to
            kevgo

            I ran into this issue, appeared to have a lack of AJP connections feeding info to the balancer.  Try adding the following max-connectors parameter in your standalone-ha.xml based upon which connector you are using:


            <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" max-connections="3000"/>

            <connector name="ajp" protocol="AJP/1.3" scheme="http" socket-binding="ajp" max-connections="3000"/>

            <connector name="https" protocol="HTTP/1.1" scheme="https" socket-binding="https" secure="true" max-connections="3000">

             

            I have around 1200 concurrent users, just picked a higher value and like magic it started behaving itself. 

             

            kevgo.

            1 2 3 Previous Next