Apache Lounge



Forum Index Downloads Search Register Log in  RSS Apache Lounge

Keep Server Online

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



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

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.

Intermittent HTTP-504 gateway timeout error.

Post new topic   Reply to topic    Apache Forum Index -> Apache third-party Modules

View previous topic :: View next topic  
Author Message

Joined: 22 Jul 2016
Posts: 1

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

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.


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
     EnableMCPMReceive On

     <Directory />
       Require all granted

     <Location /mod_cluster_manager>
       SetHandler mod_cluster-manager
       Require all granted



Back to top
James Blond

Joined: 19 Jan 2006
Posts: 6573
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

Post new topic   Reply to topic    Apache Forum Index -> Apache third-party Modules
Page 1 of 1