Re: Worker inside ProxyPass

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

 



> Thank you very much for your help. My problem is that one Tomcat runs out of resources and then HTTPD also stop forwarding requests to other Tomcats. I'm using only ProxyPass, without JkMount:
>
> ProxyPass /Context1 ajp://localhost:8008/Context1
> ProxyPass /Context2 ajp://localhost:8009/Context2
>
> This is why I would like to try to add JkMount directive, so HTTPD will use workers and if one worker stops others will continue working. Does this make any sense? How can I do this?

It sounds like you possibly want to configure a balancer, maybe a
hot-standby. You might want to look at implementing the ProxyPass
'ping' parameter for checking for hung or busy Tomcats. Sample
balancer config, etc. is all in the docs:-

http://httpd.apache.org/docs/2.2/mod/mod_proxy.html

-- Phil.

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