Isolating slow and fast connections using apache/modjk

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

 



Hi
We have an apache server that load balances two types of applications
across different stacks of tomcats. 

We have a tomcat stack for requests that processes very quickly, lets
call this stack A and a tomcat stack for slower running
request(different type of application) named stack B.

We limit connections on the apache to protect the underlying layers eg:
ServerLimit     5
ThreadLimit     10

StartServers     5
ThreadsPerChild       10
MinSpareThreads       10

MaxClients 50

MaxSpareThreads       50

However if stack A or B misbehave and eat up all of the available apache
connections it can cause a denial of service for the other stack that is
on the same apache.

My question really is where I should be doing the isolation to protect
slow stacks. I am not sure whether I can achieve this in modjk or
whether I should rather be running separate apache instances for tomcat
stack A and B. I considered using virtual hosts but I believe they would
still share the overall amount of threads as defined above.

Regards

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

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