0 Replies Latest reply on Jul 25, 2016 5:47 PM by atulkaushal

    HTTP 504 Gateway time out  Wildfly9.0.2.Final cluster+ Apache 2.4

    atulkaushal

      Hi,

      We are facing a weird issue with Apache Gateway time out. We have deployed our application on wildfly cluster(2 nodes) using Apache as a load balancer. This application communicates with another application which is also using same configuration Apache load balancer and wildfly cluster (2 nodes). 3 out of 5 time we are facing HTTP-500 gateway time out error, when application tries to hit the load balancer URL of another application. I also tried to increase the TimeOut directive and added node-timeout attribute as mentioned on https://access.redhat.com/solutions/772613 but still same issue.

       

      Any pointer will be helpful.

       

      httpd.conf file.

      LoadModule cluster_slotmem_module       modules/mod_cluster_slotmem.so

      LoadModule proxy_cluster_module  modules/mod_proxy_cluster.so

      LoadModule advertise_module     modules/mod_advertise.so

      LoadModule manager_module       modules/mod_manager.so

      #CreateBalancers 1

       

      MemManagerFile /var/cache/mod_cluster

       

      <IfModule manager_module>

      Listen 8477

      ManagerBalancerName mycluster

      loglevel debug

      ErrorLog "logs/cluster-error.log"

       

        <VirtualHost *:8477>

           KeepAliveTimeout 300

           MaxKeepAliveRequests 0

           AdvertiseFrequency 5

           AdvertiseGroup 224.0.1.107:23364

           EnableMCPMReceive On

       

           <Directory />

             Require all granted

           </Directory>

       

           <Location /mod_cluster_manager>

             SetHandler mod_cluster-manager

             Require all granted

           </Location>

       

        </VirtualHost>

       

      
      

      </IfModule>