kb: how-to
ABT: Group A
Plesk Obsidian for Linux
Applicable to:
- Plesk Obsidian for Linux
Question
Why Health Monitor shows high Apache CPU/memory usage, though only nginx is used by the domains?
Why Health Monitor shows high Apache CPU/memory usage, however 'top' utility shows high usage of PHP-FPM, not Apache?
Answer
The Health Monitor config file /etc/sw-collectd/conf.d/23process_Web.conf
shows the following:
<Plugin processes>
ProcessMatch "Web" "\/httpd|\/apache2|php-cgi|php-fpm|php5-fpm"
</Plugin>
<Plugin sw_mem>
ProcessMatch "Web" "\/httpd|\/apache2|php-cgi|php-fpm|php5-fpm"
</Plugin>
It means that Health Monitor collects information about Apache, PHP-CGI and PHP-FPM and shows it in one section: Apache CPU Usage. So it does not matter whether PHP-FPM is served by Apache or nginx, Health Monitor will still show it in "Apache CPU Usage".
Comments
0 comments
Please sign in to leave a comment.