07-24-2020, 03:21 PM
(This post was last modified: 07-24-2020, 03:22 PM by remkonoteboom.)
I am not sure what that python3 process is doing. But, it is a clue.
1) Does it stay at 100% always or just when you pressed load balancing?
2) Are others using the system while your are looking at this?
If 100% on that single CPU is continuous, that means everyone, including your load balancing test, is bottlenecked through a single CPU. My guess, at the moment, is that load balancing is not on. If this is the case, then, you are not utilizing all of your CPUs and would explain the slow behavior.
Can you do:
Which produces something like:
Also, can you post the load balancing part in the TACTIC apache conf file, which is in: /etc/httpd/conf.d/tactic.conf
It should be something like:
1) Does it stay at 100% always or just when you pressed load balancing?
2) Are others using the system while your are looking at this?
If 100% on that single CPU is continuous, that means everyone, including your load balancing test, is bottlenecked through a single CPU. My guess, at the moment, is that load balancing is not on. If this is the case, then, you are not utilizing all of your CPUs and would explain the slow behavior.
Can you do:
Quote:# ps -ef | grep python
Which produces something like:
Quote:tactic 335 24850 0 15:08 ? 00:00:01 python3 /opt/tactic/tactic/src/bin/startup.py 8081
tactic 765 24850 0 15:10 ? 00:00:01 python3 /opt/tactic/tactic/src/bin/startup.py 8082
tactic 1078 24850 0 15:11 ? 00:00:01 python3 /opt/tactic/tactic/src/bin/startup.py 8083
root 24843 1 0 Apr21 ? 00:00:00 su - tactic -m -c /usr/bin/python /opt/tactic/tactic/src/bin/monitor.py
Also, can you post the load balancing part in the TACTIC apache conf file, which is in: /etc/httpd/conf.d/tactic.conf
It should be something like:
Quote:# Using the ProxyPass directives
<Proxy balancer://tactic>
BalancerMember http://localhost:8081/tactic
BalancerMember http://localhost:8082/tactic
BalancerMember http://localhost:8083/tactic
</Proxy>
ProxyPass /assets !
ProxyPass /context !
ProxyPass /doc !
ProxyPass /tactic balancer://tactic/
ProxyPass /projects balancer://tactic/
ProxyPass / balancer://tactic/