Editing
Killing CPU 'hungry' processes on Zeb/PCR servers
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
Killing Processes on ZEB & PCR servers --------------------------------------- Login to server Check for service called magento with below command • ps –aux | grep magento Check for any java services with below command • ps –aux | grep java Once we run above commands, will get running services with Some ID’s So, using that ID’s we can kill that processes, as below • Kill ID e.g. kill 9423 After confirming that all db agent and machine agent are stopped, we need to manually start them, for that run below commands PCR: • cd /opt/appdynamics/db-agent/ nohup java -Ddbagent.name=live-pcr -jar db-agent.jar & • cd /opt/appdynamics/machine_agent nohup java -Dappdynamics.agent.maxMetrics=5000 -jar machineagent.jar & Zeb: • cd /opt/appdynamics/db-agent/ nohup java -jar db-agent.jar & • cd /opt/appdynamics/machine_agent nohup java -Dappdynamics.agent.maxMetrics=5000 -jar machineagent.jar & • cd /usr/local/bin/ nohup webm_encode.sh "/var/www/html/migration/pub/media/product_videos/live" & ... additional instances to be started if other paths need to be watched.
Summary:
Please note that all contributions to Apoyar Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Apoyar Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
British English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Apoyar Infrastructure
Active Directory
Recent changes
Random page
Upload file
Tools
What links here
Related changes
Special pages
Page information