mod_proxy delay detecting application restart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Using HTTPD 2.0.x on OS X and Linux, with mod_proxy setup as a frontend for a dozen of Java applications (Jetty server instances more specifically) running on the same machine as HTTPD. mod_proxy config for each Java instance looks similar to this:

   ProxyPass /myapp/ http://localhost:8105/myapp/
   ProxyPassReverse /myapp/ http://localhost:8105/myapp/


Everything works fine except when restarting Java instances. After a restart I keep getting "503 Service Temporarily Unavailable" responses for up to 20-30 seconds, until finally mod_proxy detects a live instance. I understand that mod_proxy caches a previous down status of an instance, and does not refresh for some time. Is there a way to configure a smaller refresh interval or avoid instance status caching all together?

Thanks,
Andrus Adamchik

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux