Troubleshooting CPU: Difference between revisions
Jump to navigation
Jump to search
(Created page with "= CPU la 100% cauzat de un proces legitim = Este cea mai comună situație. Un server web (Nginx/Apache), un proces Java (Tomcat/Elasticsearch) sau un script PHP/Python buclează la infinit și consumă tot procesorul. == Identificare == <code class="mw-code mw-highlight plainlinks" style="display:block"><!-- --> # ps aux --sort=-%cpu | head -n 11 </code> == Remediere == Identificare <code class="mw-code mw-highlight plainlinks" style="display:block"><!-- --> ...") |
|||
| Line 11: | Line 11: | ||
Identificare | Identificare | ||
<code class="mw-code mw-highlight plainlinks" style="display:block"><!-- | <code class="mw-code mw-highlight plainlinks" style="display:block"><!-- | ||
--> # kill -15 <PID> <span style="font-style: italic;"># Graceful kill</span> | --> # kill -15 <PID> <span style="font-style: italic;color:#4d4d4d"># Graceful kill</span> | ||
 # kill -9 <PID> <span style="font-style: italic;"># Hard kill</span> |  # kill -9 <PID> <span style="font-style: italic;color:#4d4d4d"># Hard kill</span> | ||
</code> | </code> | ||
Revision as of 18:36, 20 October 2026
CPU la 100% cauzat de un proces legitim
Este cea mai comună situație. Un server web (Nginx/Apache), un proces Java (Tomcat/Elasticsearch) sau un script PHP/Python buclează la infinit și consumă tot procesorul.
Identificare
# ps aux --sort=-%cpu | head -n 11
Remediere
Identificare
# kill -15 <PID> # Graceful kill
# kill -9 <PID> # Hard kill