I've been trying to figure out which user file/script is causing 100% CPU usage. I know the user obviously, but i can't find a way to determine which file is causing it.
Server specs:
Apache 2.4.25 Running
DirectAdmin 1.51.3 Running
Exim 4.89 Running
MariaDB 10.1.21 Running
Named 9.9.4 *** Stopped ***
sshd Running
dovecot 2.2.28 (bed8434) Running
pure-ftpd 1.0.43 Running
Php 5.6.30
PHP 7.0 7.0.16
Server Version: Apache/2.4.25 (Unix) OpenSSL/1.0.1e-fips
Server Built: Mar 9 2017 23:59:03
Server loaded APR Version: 1.5.2
Compiled with APR Version: 1.5.2
Server loaded APU Version: 1.5.4
Compiled with APU Version: 1.5.4
Timeouts: connection: 60 keep-alive: 2
MPM Name: worker
MPM Information: Max Daemons: 5 Threaded: yes Forked: yes
Server Architecture: 64-bit
Server Root: /etc/httpd
Config File: /etc/httpd/conf/httpd.conf
Server Built With:
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/etc/httpd"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="/var/logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
Load: http://prntscr.com/evf6g9
I've checked /server-status and /server-info, the logs, top via ssh, the user error logs. But nothing points me to the file. Any ideas how to find it?
Thanks!
Server specs:
Apache 2.4.25 Running
DirectAdmin 1.51.3 Running
Exim 4.89 Running
MariaDB 10.1.21 Running
Named 9.9.4 *** Stopped ***
sshd Running
dovecot 2.2.28 (bed8434) Running
pure-ftpd 1.0.43 Running
Php 5.6.30
PHP 7.0 7.0.16
Server Version: Apache/2.4.25 (Unix) OpenSSL/1.0.1e-fips
Server Built: Mar 9 2017 23:59:03
Server loaded APR Version: 1.5.2
Compiled with APR Version: 1.5.2
Server loaded APU Version: 1.5.4
Compiled with APU Version: 1.5.4
Timeouts: connection: 60 keep-alive: 2
MPM Name: worker
MPM Information: Max Daemons: 5 Threaded: yes Forked: yes
Server Architecture: 64-bit
Server Root: /etc/httpd
Config File: /etc/httpd/conf/httpd.conf
Server Built With:
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/etc/httpd"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="/var/logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
Load: http://prntscr.com/evf6g9
I've checked /server-status and /server-info, the logs, top via ssh, the user error logs. But nothing points me to the file. Any ideas how to find it?
Thanks!