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 -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: Intermittent HTTP-504 gateway timeout error.
Author
akaushal



Joined: 22 Jul 2016
Posts: 1

PostPosted: Mon 25 Jul '16 23:38    Post subject: Intermittent HTTP-504 gateway timeout error. Reply with quote

Hi,
We are facing a weird issue with Apache Gateway time out. We have deployed out application on two wildfly application servers using Apache as a load balancer. This application communicates with another application which is also using same configuration Apache load balancer and two wildfly application servers. 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.

Code:

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>



Thanks.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7288
Location: Germany, Next to Hamburg

PostPosted: Mon 01 Aug '16 15:51    Post subject: Reply with quote

mod_manager is a third pary module. Is there anything the the docs of that module about that?

The normal way would be the use of mod_proxy_ajp and mod_proxy_balancer.
Back to top


Reply to topic   Topic: Intermittent HTTP-504 gateway timeout error. View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules